prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Ability to bulk cancel running flows in the UI

Open jfloodnet opened this issue 1 year ago • 1 comments

First check

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

Prefect Version

2.x

Describe the current behavior

If I want to cancel 10 running flows, I need to select each one and hit the cancel button.

Describe the proposed behavior

Be able to select multiple flows in the list with the checkbox and click a button to cancel them all.

Example Use

My main use case is during development / testing, I often push a change and kill all the running flows and start them back up so they can pickup the latest code. I can see bulk cancelling would just be generally useful. But in this specific case, a bulk restart would be swell.

Additional context

No response

jfloodnet avatar Jun 23 '24 03:06 jfloodnet

Would love this, too, especially since we run many deployments as subflows as a part of our orchestration!

DbCrWk avatar Jun 23 '24 15:06 DbCrWk