Skip to content

Add option to cancel/abort a flow run from CLI/Orion #7654

@felix-ht

Description

@felix-ht

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar request and didn't find it.
  • I searched the Prefect documentation for this feature.

Prefect Version

2.x

Describe the current behavior

Flows cannot be canceled externaly.

Describe the proposed behavior

Add a button to orion do cancel/abort a currently running flow. A similar option should be added to the cli.

  • add an option to cancel a flow - SIGTERM
  • add an option to abort a flow - SIGKILL

Example Use

No response

Additional context

Realted to:
https://discourse.prefect.io/t/how-do-i-stop-or-cancel-a-task-run/615

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions