amoghrajesh commented on code in PR #76833:
URL: https://github.com/apache/airflow/pull/76833#discussion_r4658693049


##########
task-sdk/src/airflow/sdk/bases/resumablejobmixin.py:
##########
@@ -132,12 +151,31 @@ def execute_resumable(self, context: Context) -> Any:
 
         decision = self.get_resume_decision(context)
         if decision.action == "reconnect":
-            return self.poll_until_complete(decision.external_id, context)
+            self._record_try(context, DurableDecision.RECONNECTED, 
decision.external_id, status="running")

Review Comment:
   The banner now treats a `running` entry as unknown once the viewed try is no 
longer the live one (current try in `running` or `deferred`). It then shows 
"Used the existing job instead of starting a second copy." with no status 
badge. That covers deferring operators, timeouts and killed workers. Recording 
the outcome from `execute_complete` would need a public hook on the mixin, so 
I'd keep that for a follow up.



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