Lee-W commented on code in PR #59604:
URL: https://github.com/apache/airflow/pull/59604#discussion_r2674999419
##########
airflow-core/src/airflow/ti_deps/deps/ready_to_reschedule.py:
##########
@@ -43,9 +43,18 @@ def _get_dep_statuses(self, ti, session, dep_context):
in the future.
"""
if (
+ # Exclude infrastructure-triggered reschedules.
+ # When a task is rescheduled due to a startup failure (e.g. the
task runner
+ # cannot load the Dag or task), the task instance will be set
+ # in UP_FOR_RESCHEDULE state. In this case, we'll ignore the task's
Review Comment:
The TaskInstanceState can be None.
I'm now considering removing this whole block, adding this Dep to all tasks
and seeing how it works. Since we're working on adding this capability to all
tasks, it might actually make sense to do it
--
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]