MannXo opened a new pull request, #70390:
URL: https://github.com/apache/airflow/pull/70390

   When clearing a Dag run, the "run with latest bundle version" checkbox was 
shown whenever the run's Dag version differed from the latest. For bundles that 
do not support versioning (e.g. LocalDagBundle) the run's `bundle_version` is 
always null and the serialized Dag resolved at run time is always the latest, 
so the checkbox offered a choice that had no effect.
   
   The checkbox now also requires the run to be pinned to a specific bundle 
version, so it appears only for versioning-capable bundles (e.g. GitDagBundle) 
where toggling it actually changes the outcome. The visibility logic is 
extracted into a small pure helper with unit tests, mirroring the existing 
`TaskInstance/runOnLatestVersion.ts`.
   
   closes: #70371
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


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