kaxil commented on code in PR #57450:
URL: https://github.com/apache/airflow/pull/57450#discussion_r2481188523


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_run.py:
##########
@@ -214,6 +220,10 @@ def setup(request, dag_maker, session=None):
     # Set conf for testing conf_contains filter
     dag_run4.conf = {"env": "testing", "mode": "ci"}
 
+    ti4 = dag_run4.get_task_instance(task_id=task.task_id)
+    ti4 = session.merge(ti4)
+    ti4.dag_version.bundle_version = "some_commit_hash"

Review Comment:
   Why do we need to set this manually now compared to before?



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