deepujain opened a new pull request, #72402: URL: https://github.com/apache/airflow/pull/72402
Fixes #72337 ## Summary - Cancelled backfills set `is_paused=True` and `completed_at` but never clear `is_paused` - Cleared queued DagRuns from a cancelled backfill stayed unschedulable because `get_queued_dag_runs_to_set_running` blocked on stale `Backfill.is_paused` - Allow promotion when `Backfill.completed_at` is set; add regression test ## Test plan - [x] Added `test_get_queued_dag_runs_includes_cancelled_backfill_runs` - [ ] CI (local `uv`/`ruff` unavailable in sweep environment) --- * [x] I have included the AI disclosure checkbox in this PR description * Generated-by: OpenAI Codex Drafted-by: OpenAI Codex (no human review before posting) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
