Fix az extension list-available always reporting experimental: false#33458
Draft
Copilot wants to merge 2 commits into
Draft
Fix az extension list-available always reporting experimental: false#33458Copilot wants to merge 2 commits into
az extension list-available always reporting experimental: false#33458Copilot wants to merge 2 commits into
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
…able - Add `is_experimental_from_extension_meta` helper function in extension/__init__.py - Update `list_available_extensions` in operations.py to use the helper instead of hardcoded False - Fix incorrect test expectation in test_extension.py (ml extension with azext.isExperimental: True should show experimental=True) Fixes #30756
Copilot
AI
changed the title
[WIP] Fix all available extensions denoted as non-experimental
Fix May 28, 2026
az extension list-available always reporting experimental: false
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.
az extension list-availablehardcodedexperimental: falsefor every extension, ignoring theazext.isExperimentalflag in extension metadata. Extensions likecli-translator(marked experimental in both their metadata and the docs) were silently misreported.Changes
extension/__init__.py: Addis_experimental_from_extension_meta()helper — readsazext.isExperimentalfrom metadata, parallel to the existingis_preview_from_extension_meta()extension/operations.py:list_available_extensions()now callsis_experimental_from_extension_meta(latest['metadata'])instead of hardcodingFalse; import updated accordinglytests/test_extension.py: Fix assertion that expectedexperimental=Falsefor themlextension (which hasazext.isExperimental: True) — this masked the bugBefore / After
Testing Guide
History Notes
[Extension]
az extension list-available: Fixexperimentalfield always returningfalse— now correctly reflectsazext.isExperimentalfrom extension metadataThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.