nathadfield commented on code in PR #63884:
URL: https://github.com/apache/airflow/pull/63884#discussion_r3067106244


##########
airflow-core/newsfragments/63884.significant.rst:
##########
@@ -0,0 +1,30 @@
+Add ``rerun_with_latest_version`` configuration for DAG bundle versioning
+
+When clearing or rerunning tasks, this setting controls whether the new DAG run
+uses the latest bundle version or the original version from the initial run.
+The setting follows a three-level precedence:
+
+1. **DAG-level**: ``rerun_with_latest_version`` parameter on the DAG 
definition.
+2. **Global config**: ``[core] rerun_with_latest_version`` in ``airflow.cfg``.
+3. **Default**: ``False`` (use the original bundle version).

Review Comment:
   Fixed. The precedence list now includes all four levels: explicit API 
request > DAG-level > global config > default. 



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