The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/fix/deferred-task-failed-event-respects-retries has failed.
Run started by GitHub user hkc-8010 (triggered by hkc-8010).

Head commit for run:
4017af8ad5bc04ce57ed36dcbc6bb8248ce764bf / Hemkumar Chheda 
<[email protected]>
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]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to