bbovenzi commented on code in PR #26993: URL: https://github.com/apache/airflow/pull/26993#discussion_r1061808714
########## airflow/utils/state.py: ########## @@ -137,6 +137,20 @@ def color_fg(cls, state): return "white" return "black" + waiting: frozenset[TaskInstanceState] = frozenset( + [TaskInstanceState.DEFERRED, TaskInstanceState.UP_FOR_RESCHEDULE] + ) + """ + A list of states indicating that a task is sensing or deferred + """ + + pending: frozenset[TaskInstanceState] = frozenset( + [TaskInstanceState.RUNNING, TaskInstanceState.DEFERRED, TaskInstanceState.UP_FOR_RESCHEDULE] + ) + """ + Running tasks + sensing tasks (task reschedules makes up_for_reschedule act a little differently) + """ + Review Comment: updated -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org