kaxil commented on code in PR #44981:
URL: https://github.com/apache/airflow/pull/44981#discussion_r1888553132


##########
airflow/utils/state.py:
##########
@@ -80,7 +80,7 @@ class TaskInstanceState(str, Enum):
     SUCCESS = TerminalTIState.SUCCESS  # Task completed
     RESTARTING = IntermediateTIState.RESTARTING  # External request to restart 
(e.g. cleared when running)
     FAILED = TerminalTIState.FAILED  # Task errored out
-    UP_FOR_RETRY = IntermediateTIState.UP_FOR_RETRY  # Task failed but has 
retries left
+    UP_FOR_RETRY = TerminalTIState.UP_FOR_RETRY  # Task failed but has retries 
left

Review Comment:
   I think in DM we discussed `UPSTREAM_FAILED` should be `TerminalTIState` not 
`UP_FOR_RETRY`



-- 
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]

Reply via email to