The GitHub Actions job "Tests" on 
airflow.git/fix-deferrable-sensor-soft-fail-timeout has succeeded.
Run started by GitHub user nathadfield (triggered by nathadfield).

Head commit for run:
f3e710ff6fd6a2f0e8db3036ebdddc1b27ea0395 / Nathan Hadfield 
<[email protected]>
Fix deferrable sensors not respecting soft_fail on timeout

When a deferrable sensor with soft_fail=True times out, the task
fails with AirflowSensorTimeout instead of being marked as SKIPPED.
This is a regression from Airflow 2.x behavior.

The issue was in resume_execution() where TaskDeferralTimeout was
converted to AirflowSensorTimeout before checking soft_fail. This
fix uses nested exception handling to check soft_fail and never_fail
before the conversion, ensuring timeouts are properly skipped.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to