You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2025/10/22 12:56:39 UTC

Re: [PR] Fix triggerer errors after Airflow 2 to 3 migration [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org