The GitHub Actions job "Tests" on 
airflow.git/isolate-dag-run-scheduling-failures has succeeded.
Run started by GitHub user XD-DENG (triggered by XD-DENG).

Head commit for run:
0658cb8b498419796ac287298bf0e4a04eb4efad / Xiaodong DENG <[email protected]>
Re-raise DBAPIError in _schedule_all_dag_runs() for proper retry handling

The broad `except Exception` was swallowing DBAPIError, preventing
@retry_db_transaction from seeing DB failures (connection drops,
deadlocks) and retrying the whole function. Add `except DBAPIError:
raise` before the general catch so DB errors propagate correctly.

Also add autospec=True to test mocks per project conventions, and add
a test verifying DBAPIError is not swallowed.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to