anmolxlight opened a new pull request, #67330: URL: https://github.com/apache/airflow/pull/67330
## Summary - Extend the resume-after-defer stale executor success handling to cover `TaskInstanceState.QUEUED` in addition to `SCHEDULED`. - Parametrize the scheduler regression test so both scheduled and queued post-trigger states avoid the external-kill mismatch path when `next_method` is set. ## Testing - `uv run --project airflow-core pytest airflow-core/tests/unit/jobs/test_scheduler_job.py::TestSchedulerJob::test_process_executor_events_stale_success_when_rescheduled_after_defer -q --with-db-init` - `uv run prek run ruff --files airflow-core/src/airflow/jobs/scheduler_job_runner.py airflow-core/tests/unit/jobs/test_scheduler_job.py` - `uv run prek run ruff-format --files airflow-core/src/airflow/jobs/scheduler_job_runner.py airflow-core/tests/unit/jobs/test_scheduler_job.py` Closes #67287 -- 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]
