The GitHub Actions job "Tests (AMD)" on airflow.git/cherry-pick-69821-v3-3-test 
has succeeded.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
5a43971acc19511ed6f21d0469644f92b1da0512 / Hemkumar Chheda 
<[email protected]>
Respect retries when a deferrable trigger ends a task with TaskFailedEvent 
(#69821)

* Respect retries when a deferrable trigger ends a task with TaskFailedEvent

When a deferrable operator's trigger yields a terminal TaskFailedEvent, the task
was always marked failed and on_failure_callback ran, even with retries 
remaining.
A worker-side failure with retries left instead goes up_for_retry and runs
on_retry_callback. Route trigger-emitted failures through 
TaskInstance.handle_failure
(the path the scheduler has used since #56586) so retry-eligibility is 
respected and
the callback runs on_retry_callback vs on_failure_callback accordingly.

closes: #69819

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Preserve retry history for trigger-ended deferred failures

* Fix stale trigger callback comment

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
(cherry picked from commit dd1f84ab2034a14164e4d09310fba8fe1fa0395e)

Report URL: https://github.com/apache/airflow/actions/runs/30991460340

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to