vincbeck commented on code in PR #44369:
URL: https://github.com/apache/airflow/pull/44369#discussion_r1859328560


##########
airflow/jobs/triggerer_job_runner.py:
##########
@@ -530,11 +530,9 @@ async def create_triggers(self):
         while self.to_create:
             trigger_id, trigger_instance = self.to_create.popleft()
             if trigger_id not in self.triggers:
-                ti: TaskInstance = trigger_instance.task_instance
                 self.triggers[trigger_id] = {
                     "task": asyncio.create_task(self.run_trigger(trigger_id, 
trigger_instance)),
-                    "name": 
f"{ti.dag_id}/{ti.run_id}/{ti.task_id}/{ti.map_index}/{ti.try_number} "

Review Comment:
   To simplify it I removed the DAG related information for the name. Because, 
with this change, a trigger might not be associated to a DAG. Let me know if 
this is a concern. @dstandish?



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