workflow delete should (be able to) delete completed workflows
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 379
- Forks
- 103
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 23
Description
temporal workflow delete -w $my-completed-workflow-id fails with
Error: unable to delete workflow: operation GetCurrentExecution encountered not found
but a user will expect it to delete running and not-running workflows alike.
The two cases are handled differently by the server deleteworkflow handler:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the temporal workflow delete -w ... command and compare its handling with the server deleteworkflow handler linked in the issue. Reproduce the failure for a completed workflow, then trace the reported GetCurrentExecution error; done means the command can delete both completed and running workflows without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100