StackStorm / StackStorm/st2

Utility to clean up orphaned orquesta workflow execution

Open
#4,524 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature workflows: orquesta
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.