seanghaeli commented on code in PR #66608:
URL: https://github.com/apache/airflow/pull/66608#discussion_r3374864055


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -742,10 +742,23 @@ def _create_workload(
         session: Session,
     ) -> workloads.RunTrigger | None:
         if trigger.task_instance is None:
+            # Only fetch DagRun data for callback triggers (not all non-task 
triggers).
+            dag_run_data = (
+                self._fetch_callback_dag_run_data(trigger, session=session) if 
trigger.callback else None
+            )
+            if trigger.callback and dag_run_data is None:

Review Comment:
   changed to handle the upgrade path



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