ferruzzi commented on code in PR #37784:
URL: https://github.com/apache/airflow/pull/37784#discussion_r1507993473
##########
airflow/models/taskinstance.py:
##########
@@ -2216,7 +2216,10 @@ def _check_and_change_state_before_execution(
ti.state = TaskInstanceState.RUNNING
ti.emit_state_change_metric(TaskInstanceState.RUNNING)
- ti.external_executor_id = external_executor_id
+
+ if external_executor_id:
Review Comment:
That's a good question, but no, I couldn't find any instances where that can
happen.
--
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]