deepujain opened a new pull request, #72652: URL: https://github.com/apache/airflow/pull/72652
## Summary Keep scheduled task instances pending when their serialized DAG is temporarily unavailable, instead of bulk-failing every scheduled task for that DAG. ## Changes - Preserve scheduled task instances during a transient serialized-DAG lookup failure. - Exclude the affected DAG from the current scheduling batch so healthy DAGs can continue to use available capacity. - Add regression coverage for the retry-on-a-later-tick behavior. ## Test plan - [ ] `uv run --project airflow-core pytest airflow-core/tests/unit/jobs/test_scheduler_job.py::TestSchedulerJob::test_missing_serialized_dag_keeps_scheduled_tasks_for_a_later_tick -xvs` (not available in this environment) - [x] `git diff --check` - [ ] CI passes ##### Was generative AI tooling used to co-author this PR? - [X] Yes (OpenAI Codex) Generated-by: OpenAI Codex following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) Fixes #62050 -- 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]
