Leon Kozlowski

05/17/2022, 8:56 PM
Hi all, I have a flow run that I cancelled which still has a task that appears to be running for over 3 hours now, is there any way to force kill this through the UI?
I ended up killing the pod itself

Kevin Kho

05/17/2022, 9:32 PM
Yeah so the cancellation is a best effort thing, but Python makes it hard to cancel other processes, especially happening on different compute. So if the cancel in the UI doesn’t work, then yes you likely have to kill it yourself
đź‘Ť 1

Alan Yap

06/16/2022, 12:26 AM
Piggybacking off this thread. I had the same issue and several flows are still showing as “cancelling” in the UI after several days. The latest log entries for all flows are
Flow run RUNNING: terminal tasks are incomplete.
I have confirmed all pods associated with the Flows have been terminated. Can I discount it as a quirk of the Prefect UI?

Kevin Kho

06/16/2022, 3:37 AM
This backend service for this is being investigated to make it more stable. The goal is to eventually mark it as failed after some time. In the meantime, you could just set it to failed yep.