jedcunningham commented on code in PR #71696:
URL: https://github.com/apache/airflow/pull/71696#discussion_r3797974227


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -478,14 +513,14 @@ def clear_task_instances(
                     dr_dag = scheduler_dagbag.get_dag_for_run(dag_run=dr, 
session=session)
                 if not dr_dag:
                     log.warning("No serialized dag found for dag '%s'", 
dr.dag_id)
-                if dr_dag and not dr_dag.disable_bundle_versioning and 
run_on_latest_version:
+                if dr_dag and not dr_dag.disable_bundle_versioning and 
use_latest_version:

Review Comment:
   Leaving this one out. The run_on_latest_version was already in that 
condition before this PR, so the stale bundle version isn't a regression here. 
#71425 might be a good home.



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