ashb commented on code in PR #55884:
URL: https://github.com/apache/airflow/pull/55884#discussion_r2452002785


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -649,7 +649,12 @@ def update_triggers(self, requested_trigger_ids: set[int]):
             )
             if new_trigger_orm.task_instance:
                 log_path = render_log_fname(ti=new_trigger_orm.task_instance)
-
+                if not new_trigger_orm.task_instance.dag_version_id:
+                    log.warning(
+                        "TaskInstance associated with Trigger has no 
associated Dag Version, skipping the trigger",

Review Comment:
   Can wet have code comment here along the lines of "2..3 upgrade only" etc



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