David Maxson
12/01/2023, 8:31 PMMarvin
12/01/2023, 8:32 PMprefect flow-run cancel
CLI command, passing the ID of the flow run. For example:
$ prefect flow-run cancel 'a55a4804-9e3c-4042-8b59-b3b6b7618736'
2. Cancel via the UI: You can also cancel flows from the Prefect UI.
To cancel flows in bulk, you might need to script the cancellation process using the CLI.
As for flows getting stuck in the Pending state, this usually indicates an issue in the worker or agent. You might want to investigate the logs to see why the worker is dying before fully submitting a task to your ECS cluster.
For more detailed information, you can refer to the Prefect documentation or ask in the Prefect community forum.Nate
12/01/2023, 8:53 PMMarvin
12/01/2023, 8:53 PMNate
12/01/2023, 8:53 PMDavid Maxson
12/01/2023, 9:37 PM