Added the support for clusterID for the runtime releases flows in CLI#1906
Merged
neel-astro merged 5 commits intomainfrom Aug 12, 2025
Merged
Added the support for clusterID for the runtime releases flows in CLI#1906neel-astro merged 5 commits intomainfrom
neel-astro merged 5 commits intomainfrom
Conversation
…in CLI (#1907) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
neel-astro
reviewed
Aug 11, 2025
neel-astro
approved these changes
Aug 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, the CLI fetches the list of available Runtime versions and applies filters based on the Houston configmap. This approach is problematic for 1.0 because it doesn't account for feature flags or specific configurations that may be enabled on a per-cluster basis.
As a result, a user might see a list of Runtimes that is not accurate for their target environment. For example, a cluster with a feature flag enabled for Airflow 3 would not see it in the list of available versions if it is disabled at the global level, preventing them from using it.
This PR resolves this issue by ensuring that whenever the CLI requests a list of available Runtime versions, it passes the relevant clusterId ID. The backend API can then use this ID to evaluate cluster-specific feature flags and return a precise, filtered list of Runtimes that are actually available for that cluster.
🎟 Issue(s)
Related 7572(https://github.com/astronomer/issues/issues/7572)
🧪 Functional Testing
Tested locally
Unit tests
📸 Screenshots
📋 Checklist
make testbefore taking out of draftmake lintbefore taking out of draft