You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: gate azd tool command group behind alpha feature flag (#8111)
* Gate 'azd tool' command group and middleware behind alpha feature flag
Register a new 'tool' alpha feature in alpha_features.yaml and gate:
- Command registration in toolActions() (tool.go/root.go)
- ToolFirstRunMiddleware (tool_first_run.go)
- ToolUpdateCheckMiddleware (tool_update_check.go)
Users enable via: azd config set alpha.tool on
Or env var: AZD_ALPHA_ENABLE_TOOL=true
Tests updated to set AZD_ALPHA_ENABLE_TOOL=true where needed, with
new test cases verifying the feature is hidden when the flag is off.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: address code review findings for alpha feature flag
- Add debug logging when user config fails to load for alpha gating
- Move alpha check to call site in root.go for clearer nil-safety
- Verify YAML description formatting
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments