You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "MannXo (via GitHub)" <gi...@apache.org> on 2026/07/24 13:29:15 UTC
[PR] UI: Hide "run with latest bundle version" clear option for non-versioned bundles [airflow]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] UI: Hide "run with latest bundle version" clear option for non-versioned bundles [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on PR #70390:
URL: https://github.com/apache/airflow/pull/70390#issuecomment-5095149246
Duplicate of #70427. As that one is out of draft, we'll close this one.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] UI: Hide "run with latest bundle version" clear option for non-versioned bundles [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi closed pull request #70390: UI: Hide "run with latest bundle version" clear option for non-versioned bundles
URL: https://github.com/apache/airflow/pull/70390
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org