Jonathan Chu
04/20/2021, 12:13 AMnicholas
scheduled_start_time
by any amount you wish. You can also use the "Clear" button in the UI on the Upcoming Runs tile, to remove all late jobs for all your flows (from the dashboard) or a specific flow (from the flow page).
System halt: Another one we're releasing very soon - right now you can also use the GraphQL API to query for runs that fit your criteria and call the cancel_flow_run
mutation on those.
Still running containers: The answer to this is trickier - it depends heavily on what infrastructure your flows are running on, why something failed, and, to a lesser degree, which version of Prefect Core you're on. Calling the cancel_flow_run
mutation should do a pretty good job of cleaning up resources but there are circumstances where Prefect doesn't have access to or knowledge of jobs that have been created (this is true when using Dask).
Agent limits and actions: Another thing we're working on (there's a WIP issue for agent limitations here) - we'd like to introduce both limits and agent by agent cancellation in the near future; for now, you can use flow and task concurrency (which work on a label basis) to limit the number of things that can run with that label at a time.
Hopefully that cleared up some of your questions but let me know if that's not the case.Jonathan Chu
04/20/2021, 4:28 AMJonathan Chu
04/20/2021, 4:31 AMJonathan Chu
04/20/2021, 4:33 AMnicholas
nicholas
Jonathan Chu
04/20/2021, 4:41 AMnicholas
Jonathan Chu
04/20/2021, 4:58 AMgrowers-data, staging
and growers-data, production
Jonathan Chu
04/20/2021, 5:01 AMgrowers-data-staging
and then search/filtering should be done with wildcards?nicholas
nicholas
Jonathan Chu
04/20/2021, 5:39 AMJonathan Chu
04/20/2021, 5:41 AMxyzz
04/21/2021, 7:01 AMnicholas
nicholas