The GitHub Actions job "Tests (AMD)" on airflow.git/backport-5b04b42-v3-3-test 
has failed.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
d008a5707c0b63b5c7ee18e39fa51a0f6be35205 / Xu Han 
<[email protected]>
[v3-3-test] Avoid scheduler crash when periodic maintenance actions fail 
(#69487)

_remove_unreferenced_triggers and _reap_stale_connection_tests are
registered as periodic scheduler maintenance callbacks via
EventScheduler.call_regular_interval, which has no exception handling
around the callback. A single transient failure (e.g. a DB
statement_timeout) propagates and crashes the whole SchedulerJob.

Add an opt-in catch_exceptions flag (default False, preserving current
behavior) that logs and swallows an exception from the periodic action
instead of letting it propagate, so one bad cycle doesn't take down the
scheduler; the next cycle is still scheduled either way. Enable it for
the two maintenance callbacks above.
(cherry picked from commit 5b04b42936f855d989fc1e3ad1c55c82c5800dad)

Co-authored-by: Xu Han <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to