Skip to content

Prevent stale zombie callbacks from failing newer task attempts - #63726

Merged
ephraimbuddy merged 1 commit into
apache:v2-11-testfrom
astronomer:fix-zombie-stale-exec
Mar 16, 2026
Merged

ephraimbuddy merged 1 commit into
apache:v2-11-testfrom
astronomer:fix-zombie-stale-exec

Conversation

@ephraimbuddy

Copy link
Copy Markdown
Contributor

A zombie failure callback from try 1 can be executed after try 2 has already succeeded. In that case, running the stale callback incorrectly marks the current task instance as failed in the database.

Skip failure callbacks when the callback request try_number no longer matches the current task instance try_number, and add a regression test covering the stale-callback case.

A zombie failure callback from try 1 can be executed after try 2 has
already succeeded. In that case, running the stale callback incorrectly
marks the current task instance as failed in the database.

Skip failure callbacks when the callback request try_number no longer
matches the current task instance try_number, and add a regression test
covering the stale-callback case.
@eladkal eladkal added this to the Airflow 2.11.3 milestone Mar 16, 2026
@ephraimbuddy
ephraimbuddy merged commit c64bb86 into apache:v2-11-test Mar 16, 2026
38 checks passed
@ephraimbuddy
ephraimbuddy deleted the fix-zombie-stale-exec branch March 16, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants