-
Notifications
You must be signed in to change notification settings - Fork 68
Abort or interrupt a running run #4574
Copy link
Copy link
Open
Description
I'd like to be able to cancel a run that's already claimed, started, or in progress. Sometimes something goes wrong and you know you want to stop it right away, but a long run might take 45 minutes to complete or, worse yet, a crashed worker might not lead to your run being marked as "lost" for 60 minutes.
Proposal
- Click into a running run, and you should find a "cancel" button.
- Select a bunch of work orders from history in state "running" and you should be able to cancel any associated runs for those work orders (in the same way you can cancel
pendingruns in Cancel runs individually or in bulk #1622 ) - Doing so should send a new event to the worker, telling it to abort, cease & desist, etc., etc.
- The worker should then send back some tidying up data - last logs, final state with a cancellation reason, etc.
- Basically, we don't want to shut the door from the lightning side... we want to tell the worker to stop and clean up immediately.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Product Backlog