Utility to clean up orphaned orquesta workflow execution
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
In the case where an orquesta workflow gets stuck in running state due to bugs, action runners died, or other reasons, there should be a utility that can clean up the orphaned workflow execution.
ISSUE TYPE
Pick one below and delete the rest:
- Feature Idea
STACKSTORM VERSION
st2 3.0dev
OS / ENVIRONMENT / INSTALL METHOD
Ubuntu 16, Install script on VM
STEPS TO REPRODUCE
To reproduce an orphaned workflow execution, create a workflow definition with a task that uses core.local to sleep for a long period of time. Run the workflow and then manually kill the action runner that is running the sleep task.
EXPECTED RESULTS
A command line utility to clean up a specific orphaned workflow execution given the action execution ID.
ACTUAL RESULTS
N/A
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
No implementation file or test is named. Start by reproducing the orphaned execution with a workflow task using core.local to sleep, then kill its action runner; done means a command-line utility can clean up a specific orphaned workflow execution from its action execution ID.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100