YoannAbriel commented on PR #63250: URL: https://github.com/apache/airflow/pull/63250#issuecomment-4042257078
Reproduced and verified on Airflow 3.1.8 (standalone, SequentialExecutor). Test DAG with `dagrun_timeout=timedelta(seconds=30)` and 3 tasks chained: `quick_task` (5s) -> `slow_task` (120s) -> `final_task` (5s). **Before fix (unpatched 3.1.8):** | Task | State | end_date | |------|-------|----------| | quick_task | success | 2026-03-11 21:05:05 | | slow_task | skipped | None | | final_task | None | None | **After fix:** | Task | State | end_date | |------|-------|----------| | quick_task | success | 2026-03-11 21:09:21 | | slow_task | skipped | 2026-03-11 21:09:45 | | final_task | None | None (never started, expected) | Two lines in `_schedule_dag_run` — `now = timezone.utcnow()` and `task_instance.end_date = now` before merging skipped tasks. -- 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]
