The GitHub Actions job "Tests (AMD)" on airflow.git/fix/66726-backfill-sqlite-lock-error has failed. Run started by GitHub user lohitkolluri (triggered by potiuk).
Head commit for run: 7028ee54a5771088d8941bf39f35420d992ea92e / Lohit Kolluri <[email protected]> fix(backfill): Handle SQLite lock errors with atomic creation and graceful 503 Catch OperationalError from _create_backfill/_do_dry_run and return HTTP 503 with a clear message when SQLite reports 'database is locked'. Avoids the 500 Internal Server Error that previously masked this condition. - SQLite lock detection in is_lock_not_available_error() and with_row_locks() bailout for SQLite dialect - Lock DagModel row (FOR UPDATE on PG/MySQL) before num_active check to serialize concurrent backfill creation for the same dag - session.flush() instead of session.commit() for ID generation; outer context commits atomically, preventing orphaned backfills - Test coverage for lock error paths in create and dry_run endpoints Closes: #66726 Signed-off-by: Lohit Kolluri <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/27404057478 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
