Repository navigation
Conversation
6cca076 to
7262944
Compare
|
The lowest-deps CI failure ( I have cherry-picked #73302 onto this branch so the lowest-deps job resolves the bounded parser. No changes to the PR's own code; CI should go green on the rerun. Drafted-by: Muse Spark (Meta) (no human review before posting) |
0d3ea46 to
c333de5
Compare
|
Rebased the missing-serialized-Dag fix onto current main. The scheduled-task regression passes in Breeze, with Ruff lint and formatting checks passing. CI is running on the updated head. Drafted-by: OpenAI Codex (no human review before posting) |
c333de5 to
f81b91c
Compare
|
Rebased onto main at b6538c3. The scheduled-task regression for a missing serialized Dag passes in Breeze, with clean Ruff lint and formatting checks. Fresh hosted CI is starting on the updated head. Drafted-by: OpenAI Codex (no human review before posting) |
When a serialized Dag is briefly missing, the scheduler marks every scheduled task for that Dag as failed. Users then have to retry tasks that never ran. This change keeps those tasks scheduled and excludes the Dag from the current scheduling batch, allowing other Dags to use the available slots.
For example, if a Dag has two scheduled tasks and its serialized record is unavailable, both previously became
FAILED. With this change, both remainSCHEDULEDfor a later scheduling attempt.Validation:
pytest airflow-core/tests/unit/jobs/test_scheduler_job.py::TestSchedulerJob::test_queued_task_instances_remain_scheduled_with_missing_dag -q(1 passed on the rebased branch),git diff --check, and Ruff lint and formatting checks on both changed Python files.f81b91cf2316cc18ebb316c8cb3b3bf5b4be9ad2: 43 successful, 34 skipped, and CodeQL neutral; no failed or pending checks.Fixes #62050
Was generative AI tooling used to co-author this PR?
Generated-by: OpenAI Codex (GPT-6) following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.