yuseok89 commented on PR #71758: URL: https://github.com/apache/airflow/pull/71758#issuecomment-5338988923
@raphaelauv You have a point that nothing actually failed there, and marking the tasks as skipped would certainly read better than today's empty grid. What tips it for me is an inconsistency that already exists between backfill and manual runs. On a Dag whose `start_date` is 2050, a backfill over 2026-05-01 to 2026-05-03 runs those tasks to completion. Creating a backfill does not check the Dag's `start_date` at all, and backfill runs are already exempt from this task date filter. A manual run at the very same logical date produces a run with no task instances at all. The only thing separating the two is the `run_type` label on otherwise identical work. So the date window is not really a rule about whether these tasks may run at that logical date. It is a rule about what the scheduler creates, which is also how the docs describe `start_date`. Did you try your snippet with the `start_date` moved to 2050? I did, and `final_status` gets no task instance either, so the check never runs and there is nothing left to detect the empty run with. -- 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]
