Repository navigation
feat: list available agent preview feature flags - #10655
Closed
Hui Miao (huimiu) wants to merge 5 commits into
Closed
Hui Miao (huimiu) wants to merge 5 commits into
Hui Miao (huimiu) wants to merge 5 commits into
Conversation
Hui Miao (huimiu)
requested review from
JeffreyCA,
JerryYang (JerryYangKai),
Rick Winter (RickWinter),
FanH (Siglud),
Yimin-Jin,
Eric Chen (eriolchan),
Glenn Harper (glharper),
hemarina,
Zhijie Huang (hund030),
Wei Meng (m5i-work),
Richard Park (richardpark-msft),
tg-msft,
John Miller (therealjohn),
Travis Angevine (trangevi),
JianW (v1212) and
Victor Vazquez (vhvb1989)
as code owners
October 21, 2026 09:31
|
Azure Pipelines: Successfully started running 1 pipeline(s). 25 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Hui Miao (huimiu)
added this pull request to stack #10647
October 21, 2026 09:34
🔗 Linked Issue RequiredThanks for the contribution! Please link a GitHub issue to this PR by adding |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed changes have complete regression coverage and no unresolved blocking issues.
No open issues 🎉
What changed in this PR
Adds azd ai agent list-alpha to display agent preview features and effective statuses.
Changes:
- Adds sorted feature catalog and command implementation.
- Reuses existing flag evaluation with validation and buffered output.
- Updates help, metadata, documentation, tests, snapshots, and offline scenarios.
| File | Summary |
|---|---|
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/tier0/0.32-list-alpha.yaml |
Adds offline scenario coverage. |
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/tier0/0.02-help-root.yaml |
Updates root-help expectations. |
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/README.md |
Registers scenario and tag. |
cli/azd/extensions/azure.ai.agents/README.md |
Documents listing and opt-in usage. |
cli/azd/extensions/azure.ai.agents/internal/featureflags/featureflags.go |
Adds feature descriptions. |
cli/azd/extensions/azure.ai.agents/internal/featureflags/agents.go |
Adds sorted feature catalog. |
cli/azd/extensions/azure.ai.agents/internal/featureflags/agents_test.go |
Tests catalog behavior. |
cli/azd/extensions/azure.ai.agents/internal/cmd/testdata/TestAgentHelp-root.snap |
Updates root help snapshot. |
cli/azd/extensions/azure.ai.agents/internal/cmd/testdata/TestAgentHelp-list-alpha.snap |
Adds command help snapshot. |
cli/azd/extensions/azure.ai.agents/internal/cmd/root.go |
Registers the command and metadata. |
cli/azd/extensions/azure.ai.agents/internal/cmd/root_test.go |
Covers command visibility. |
cli/azd/extensions/azure.ai.agents/internal/cmd/preview_features_test.go |
Supports configurable test servers. |
cli/azd/extensions/azure.ai.agents/internal/cmd/list_alpha.go |
Implements the listing command. |
cli/azd/extensions/azure.ai.agents/internal/cmd/list_alpha_test.go |
Tests command behavior and failures. |
cli/azd/extensions/azure.ai.agents/internal/cmd/help_test.go |
Covers command help styling. |
cli/azd/extensions/azure.ai.agents/docs/specs/preview-feature-flags.md |
Documents the command contract. |
Review effort: Lite
Hui Miao (huimiu)
marked this pull request as draft
October 21, 2026 09:53
Contributor
azure.ai.agents PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10655/azure-ai-agents.zip"
|
Hui Miao (huimiu)
removed this pull request from stack #10647
October 21, 2026 12:36
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.
Summary
Add
azd ai agent list-alphato show every declared agents preview feature and its effective status, using the sameName,Description, andStatus: On/Offlayout as the defaultazd config list-alphaoutput.This layer builds on #10640 and preserves its simplified feature checks and current opt-in behavior.
Changes
agents.hostedflag and core-only features.--environment, optional project/default-environment scopes, and source-error propagation. User config enables features only through case-insensitive stringonat eachalpha.<ID>;alpha.allis ignored. Other enablement behavior and the direct-endpoint limitation are unchanged.azd config set/azd env setexamples, and update extension-local documentation and help snapshots.tier0/0.32-list-alpha.yamlscenario and update root-help discovery coverage. No Azure scenarios were executed.The command adds no authentication, cloud requests, prompts, configuration writes, or feature-specific telemetry. Existing host project/environment loaders retain their own behavior; this is not a host-wide no-side-effects guarantee. The published azd SDK remains pinned to
v1.35.1, without replacements or dependency-manifest changes. All changes relative to the parent PR stay within the agents extension.Validation
Using Go 1.26.4:
go test .\internal\featureflags -count=1go test .\internal\cmd -run 'Test(ListAlpha|AgentHelp|RootCommand_PublicPreviewCommandsVisible|IndependentPreviewGates|GlobalConfigCannotUnlockPreviewGates|Preview)' -count=1go test .\internal\project -run '^Test(DocExamplesAreValid|Preview)' -count=1go vet,golangci-lint(zero issues),gofmt,go fix -diff(empty), cspell, changed-line/comment-length checks, andgit diff --check.list_scenariosand interactive scenario execution were not run.No user authentication/configuration or Azure resources were modified.
Closes: #10656