Skip to content

How can an Executor communicate task failure to Prefect? #3390

Answered by cicdw
jbweston asked this question in General
Discussion options

You must be logged in to vote

Hi @jbweston - this is such a great question! You are correct that there isn't really a first-class way to capture this failure mode using Prefect Core alone. This is precisely where Prefect Server / Cloud shine - in that case, if any tasks are mid run and killed, they will stop sending a heartbeat to the API. The Zombie Killer will eventually mark such a task as "Failed", from which point either the full flow run will resume (via Lazarus) or retry (if the task has retry settings configured).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jbweston
Comment options

Answer selected by jbweston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants