o-nikolas commented on code in PR #51412:
URL: https://github.com/apache/airflow/pull/51412#discussion_r2129586846
##########
providers/amazon/src/airflow/providers/amazon/aws/operators/ecs.py:
##########
@@ -517,7 +517,7 @@ def execute(self, context):
if self.reattach:
# Generate deterministic UUID which refers to unique
TaskInstanceKey
ti: TaskInstance = context["ti"]
- self._started_by = generate_uuid(*map(str, ti.key.primary))
+ self._started_by = generate_uuid(*map(str, [ti.dag_id,
ti.map_index, ti.run_id, ti.task_id]))
Review Comment:
Tested to ensure compatibility. See the updated details section.
--
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]