The GitHub Actions job "Tests (AMD)" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
1e8be208e3f7b8eb3eb510ed1d94b7a947bff689 / Kaxil Naik <[email protected]>
Honor retry_policy on non-deferrable TriggerDagRunOperator wait failures 
(#68254)

When a non-deferrable TriggerDagRunOperator(wait_for_completion=True) sees the
triggered DagRun reach a failed state, the failure branch called
_handle_current_task_failed directly, which only checks the standard retry count
and never consults a configured retry_policy. The deferrable path raises
AirflowException, which flows through run()'s exception handler and is evaluated
by _apply_retry_policy_or_default, so a retry_policy was honored there but not 
on
the polling path.

Route the non-deferrable failed-state branch through
_apply_retry_policy_or_default with a synthesized AirflowException mirroring the
deferrable path, so the policy gets a vote on both. With no retry_policy set the
behavior is unchanged (it falls back to _handle_current_task_failed).

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

With regards,
GitHub Actions via GitBox


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

Reply via email to