I am trying prefect automation to clean up zombie flow when worker crashes.
Following below doc:
https://docs.prefect.io/v3/advanced/detect-zombie-flows
Prefect version: 3.3.5
When a flow is executed by a process worker. If i kill the worker, the flow is still in running state. Automation is not marking it as crashed after 3 heart beat miss.
I am emitting heartbeat for each 31 sec. I can see the heartbeat in UI.
I can even see in event feed page, 2 heart beat came,
9
3703 PM
9
3734 PM
after that no event for that feed for more than 5 min. Still automation is not triggered.
Next event is 9
4743 PM, Flow run canceling - this I have done via UI
How can we debug why its not maked as crashed?