Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

Implementation Plan: Add azd config options command

  • Explore repository structure and understand config system
  • Define structured list of all config settings with descriptions
  • Implement azd config options command action
  • Add tests for the new command
  • Update help text and documentation
  • Run linter, formatter, and spell checker
  • Test the implementation manually
  • Request code review
  • Address code review feedback
  • Add environment variable information
  • Add current value display
  • Fix figspec snapshot test
  • Address bot review suggestions

Changes Made

  • Created resources/config_options.yaml with all config settings (defaults, alpha features, templates, pipeline)
  • Created pkg/config/config_options.go to load and expose config options
  • Added azd config options command in cmd/config.go with JSON and table output formats
  • Added unit tests in pkg/config/config_options_test.go
  • Updated snapshot tests for command help text
  • Fixed log.Panicf formatting as per code review
  • Added environment variable information (EnvVar field)
  • Added "Current Value" column to show what's currently configured
  • NEW: Addressed code review feedback:
    • Defined EnvOnlyPrefix constant to avoid magic strings
    • Improved error handling to log non-NotExist errors
    • Updated figspec test snapshots

Command Output Examples

Table format (default) - with Current Value column:

Key                           Description                                   Type      Current Value  Allowed Values  Environment Variable
defaults.subscription         Default Azure subscription ID...              string                                   
defaults.location             Default Azure location/region...              string    westus2                         
alpha.all                     Enable or disable all alpha features...       string                   on, off         AZD_ALPHA_ENABLE_ALL
alpha.llm                     Enable the use of LLMs in the CLI             string    on             on, off         AZD_ALPHA_ENABLE_LLM
Original prompt

This section details on the original issue you should resolve

<issue_title>Add command to list all possible azd config settings</issue_title>
<issue_description>## Suggestion: Add a command to improve config discoverability

Background:
Currently, azd config list only displays the settings that are already set by the user, making it hard to discover all the configuration options that azd supports. As more settings are added, keeping track of them via documentation and release notes is not a great developer experience for CLI users.

Proposal:
Introduce a new subcommand for azd config (e.g., azd config options or azd config available-settings) that lists all possible configuration settings that CAN be set with azd. This should include descriptions, possible values, and (if feasible) defaults. The output should not depend on what is currently set in the user's environment, but instead give a comprehensive view of what can be customized.

Technical Notes:
To make this maintainable, we'd need to maintain a structured list (map, array, etc.) of supported config keys within config.go and relevant areas in the codebase. This maintenance effort would yield significant developer experience benefits as discoverability and self-service docs improve.

Benefits:

  • Easier configuration for new and existing users.
  • Reduces reliance on external docs and release notes.
  • Supports better automation and scripting by exposing available config surface.
  • Aligns with best practices seen in other CLIs for config visibility/discoverability.

Labels:

  • cli
  • feature
  • command
  • config

Feel free to refine the command name and implementation details as appropriate.</issue_description>

<agent_instructions>Keep a consistent design output already defined in the project. Use DRY principles, do not over reach on implementation, keep as simple as possible writing a little code as needed to implement the needed feature. Be sure to add needed tests.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits December 17, 2025 18:02
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add command to list all possible azd config settings Add azd config options command for config discoverability Dec 17, 2025
Copilot AI requested a review from spboyer December 17, 2025 18:11
@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot does this also encompass the possible ENV values that azd uses for configs and feature flags?

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot does this also encompass the possible ENV values that azd uses for configs and feature flags?

Yes! I've updated the implementation to include environment variable information. The output now shows:

  1. Environment variables for config settings: All alpha features now display their corresponding AZD_ALPHA_ENABLE_* environment variable names
  2. Environment-only settings: Added AZD_CONFIG_DIR as an example of settings that can only be set via environment variables

The command output now includes an "Environment Variable" column in table format, and the EnvVar field in JSON output. Here's what it looks like:

Key                           Environment Variable
alpha.all                     AZD_ALPHA_ENABLE_ALL
alpha.aks.helm                AZD_ALPHA_ENABLE_AKS_HELM
(env) AZD_CONFIG_DIR          [env-only setting]

Commit: f20cebb

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /tmp/azd-updated /tmp/azd-updated config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b775/importcfg -embedcfg /tmp/go-build2201499664/b775/embedcfg -pack rev-�� mmon/ascii.go mmon/headermap.ggithub.com/tmc/langchaingo/memory x_amd64/cgo (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated config options -o json -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b796/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/cenkalti/backoff/v5@v5.0.3/backoff.go /home/REDACTED/go/pkg/mod/github.com/cenkalti/backoff/v5@v5.0.3/error.go rev-�� go go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b795/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.38.0/internal/retry/retry.go 64/pkg/tool/linu-trimpath rev-�� -0.2025040420392-p -0.2025040420392github.com/Masterminds/sprig/v3 x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b795/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.38.0/internal/retry/retry.go 64/pkg/tool/linu-trimpath rev-�� -0.2025040420392-p -0.2025040420392github.com/Masterminds/sprig/v3 x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-updated /tmp/azd-updated telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2201499664/b806/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/stdout/stdouttrace@v1.38.0/config.go /home/REDACTED/go/pkg/mod/go.opentelemetry.io/otel/exporters/stdout/stdouttrace@v1.38.0/doc.go rev-�� lp.go (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -tests /tmp/go-build3109514698/b123/vet.cfg g_.a 1nLpd9ih2 x_amd64/vet -p ckenv -lang=go1.25 x_amd64/vet ortc�� roQn5bc2I .cfg x_amd64/vet -c AD/microsoft-aut-test.testlogfile=/tmp/go-build3109514698/b001/testlog.txt /tmp/go-build220-test.paniconexit0 x_amd64/vet (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot show what the command is and the help looks like for the command.

Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot show what the command is and the help looks like for the command.

Command Usage

azd config options

Help Output

$ azd config options --help

List all available configuration settings.

Usage
  azd config options [flags]

Global Flags
    -C, --cwd string : Sets the current working directory.
        --debug      : Enables debugging and diagnostics logging.
        --docs       : Opens the documentation for azd config options in your web browser.
    -h, --help       : Gets help for options.
        --no-prompt  : Accepts the default value instead of prompting, or it fails if there is no default.

The command appears in azd config --help as:

Available Commands
  ...
  options   : List all available configuration settings.
  ...

Output Examples

Table format (default):

$ azd config options

Key                           Description                                   Type      Allowed Values  Environment Variable
defaults.subscription         Default Azure subscription ID...              string                    
defaults.location             Default Azure location/region...              string                    
alpha.all                     Enable or disable all alpha features...       string    on, off         AZD_ALPHA_ENABLE_ALL
alpha.aks.helm                Enable Helm support for AKS deployments       string    on, off         AZD_ALPHA_ENABLE_AKS_HELM
(env) AZD_CONFIG_DIR          Override the default config directory         envvar                                            /path/to/config

JSON format:

$ azd config options -o json | jq '.[0:2]'
[
  {
    "Key": "defaults.subscription",
    "Description": "Default Azure subscription ID to use for operations.",
    "Type": "string",
    "AllowedValues": null,
    "Example": "00000000-0000-0000-0000-000000000000",
    "EnvVar": ""
  },
  {
    "Key": "alpha.all",
    "Description": "Enable or disable all alpha features at once.",
    "Type": "string",
    "AllowedValues": ["on", "off"],
    "EnvVar": "AZD_ALPHA_ENABLE_ALL"
  }
]

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: ./azd ./azd config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b800/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway/v2@v2.27.2/internal/httprule/compile.go /home/REDACTED/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway/v2@v2.27.2/internal/httprule/parse.go conf�� ontainerservice/armcontainerservice/v2@v2.4.0/agentpools_client.go ontainerservice/armcontainerservice/v2@v2.4.0/build.go x_amd64/compile (dns block)
    • Triggering command: ./azd ./azd config --help -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b803/importcfg raph /home/REDACTED/go/pkg/mod/google.golang.org/grpc@v1.76.0/health/grpc_health_v1/health.pb.go /home/REDACTED/go/pkg/mod/google.golang.org/grpc@v1.76.0/health/grpc_health_v1/health_grpc.pb.go ortc�� esources/armdeploymentstacks@v1.0.1/build.go esources/armdeploymentstacks@v1.0.1/client.go x_amd64/compile (dns block)
    • Triggering command: ./azd ./azd config options --help go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b802/importcfg -pack /home/REDACTED/go/pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20250922171735-9219d122eba9/httpbody/httpbody.pb.go u/13/cc1 conf�� eyvault/armkeyvault@v1.5.0/build.go eyvault/armkeyvault@v1.5.0/client_factory.go x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2047151046/b804/importcfg -pack /home/REDACTED/go/pkg/mod/google.golang.org/protobuf@v1.36.10/types/known/fieldmaskpb/field_mask.pb.go u/13/cc1 64/s�� esources/armresources@v1.2.0/build.go esources/armresources@v1.2.0/client.go x_amd64/compile (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd telemetry upload -D GOARCH_amd64 -D GOAMD64_v1 -o /tmp/go-build2047151046/b818/cpu_gc_x86.o /home/REDACTED/go/pkg/mod/golang.org/x/sys@v0.38.0/cpu/cpu_gc_x86.s (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer
Copy link
Member

spboyer commented Dec 17, 2025

@copilot in the output of the command, the table, can we also show the current value that is set.

Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 17, 2025

@copilot in the output of the command, the table, can we also show the current value that is set.

Added! The table now includes a "Current Value" column that shows the currently configured value for each setting.

Example output with some values set:

Key                           Description                                   Type      Current Value  Allowed Values  Environment Variable
defaults.subscription         Default Azure subscription ID...              string                                   
defaults.location             Default Azure location/region...              string    westus2                         
alpha.all                     Enable or disable all alpha features...       string                   on, off         AZD_ALPHA_ENABLE_ALL
alpha.llm                     Enables the use of LLMs in the CLI            string    on             on, off         AZD_ALPHA_ENABLE_LLM
alpha.language.custom         Enables support for custom language           string                   on, off         AZD_ALPHA_ENABLE_LANGUAGE_CUSTOM

The column displays:

  • The actual value for settings that are configured
  • Empty for unset settings
  • <object> or <array> for complex types

Commit: 6accc32

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current config options -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b767/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/tools/github/github.go x_amd64/compile conf�� ache/go/1.25.5/x-p BUVV/7TNaHh7521Igithub.com/azure/azure-dev/cli/azd/pkg/azdext 6/x64/bin/as pull.rebase ared (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current config set defaults.location westus2 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b733/importcfg -pack /home/REDACTED/work/azure-dev/azure-dev/cli/azd/pkg/cosmosdb/cosmosdb.go o_main.o conf�� .3.2/doc.go .3.2/env.go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b790/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/resource/v1/resource.pb.go o_main.o conf�� pimanagement/armapimanagement@v1.1.1/api_client.go pimanagement/armapimanagement@v1.1.1/apidiagnostic_client.go x_amd64/compile (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b790/importcfg -pack /home/REDACTED/go/pkg/mod/go.opentelemetry.io/proto/otlp@v1.8.0/resource/v1/resource.pb.go o_main.o conf�� pimanagement/armapimanagement@v1.1.1/api_client.go pimanagement/armapimanagement@v1.1.1/apidiagnostic_client.go x_amd64/compile (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -D GOARCH_amd64 -D GOAMD64_v1 -o /tmp/go-build2534397973/b824/equal_fold_amd64.o ldpkBk5-wOdA (dns block)
    • Triggering command: /tmp/azd-with-current /tmp/azd-with-current telemetry upload -goversion go1.25.5 -c=4 -nolocalimports -importcfg /tmp/go-build2534397973/b848/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/microsoft/azure-devops-go-api/azuredevops/v7@v7.1.0/policy/client.go /home/REDACTED/go/pkg/mod/github.com/microsoft/azure-devops-go-api/azuredevops/v7@v7.1.0/policy/models.go remo�� oji.go ysCj/9JwFxLieBktgithub.com/azure/azure-dev/cli/azd/pkg/tools x_amd64/compile (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@spboyer spboyer marked this pull request as ready for review December 17, 2025 20:09
Copilot AI review requested due to automatic review settings December 17, 2025 20:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new azd config options command to improve discoverability of available configuration settings. Currently, azd config list only shows user-configured values, making it difficult to discover what options are available. The implementation follows established patterns in the codebase for resource loading and command structure.

Key Changes:

  • New azd config options command with JSON and table output formats
  • Centralized YAML metadata file documenting all 14 configuration options
  • API function config.GetAllConfigOptions() following alpha features pattern
  • Current value display and environment variable mapping

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
cli/azd/resources/config_options.yaml New YAML resource file defining all 14 available config options with metadata
cli/azd/resources/resources.go Embeds the new config_options.yaml file into the binary
cli/azd/pkg/config/config_options.go Implements ConfigOption struct and GetAllConfigOptions() function with YAML loading
cli/azd/pkg/config/config_options_test.go Unit tests validating config options structure and required fields
cli/azd/cmd/config.go Implements configOptionsAction with table/JSON formatting and current value display
cli/azd/cmd/testdata/TestUsage-azd-config.snap Updated snapshot showing new command in help text
cli/azd/cmd/testdata/TestUsage-azd-config-options.snap New snapshot for the options command help output

Comment on lines +61 to +63
- key: (env) AZD_CONFIG_DIR
description: "Override the default configuration directory location."
type: envvar
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The environment variable entry uses "(env) AZD_CONFIG_DIR" as the key, which is a special prefix pattern. This breaks the standard key convention used elsewhere in config settings. Consider separating environment-only variables into a different section of the YAML or using a dedicated field (like 'environmentOnly: true') to mark these entries, rather than encoding this information in the key itself.

Suggested change
- key: (env) AZD_CONFIG_DIR
description: "Override the default configuration directory location."
type: envvar
- key: env.AZD_CONFIG_DIR
description: "Override the default configuration directory location."
type: envvar
environmentOnly: true

Copilot uses AI. Check for mistakes.
// Get current value from config
currentValue := ""
// Skip environment-only variables (those with keys starting with "(env)")
if !strings.HasPrefix(option.Key, "(env)") {
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check for environment-only variables uses strings.HasPrefix(option.Key, "(env)"), creating a tight coupling between the YAML structure and the code logic. This magic string constant should be defined as a package-level constant for better maintainability and to avoid typos. Additionally, consider adding validation in GetAllConfigOptions() or the init() function to ensure consistency.

Copilot uses AI. Check for mistakes.
Comment on lines 554 to 558
currentConfig, err := a.configManager.Load()
if err != nil {
// If config doesn't exist or can't be loaded, continue with empty config
currentConfig = config.NewEmptyConfig()
}
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error from configManager.Load() is silently ignored and replaced with an empty config. While the comment explains the intent, this could hide legitimate errors (e.g., permission issues, corrupted config files) that should be surfaced to users. Consider logging the error or only catching specific expected errors like os.ErrNotExist, similar to how userConfigManager.Load() handles this in user_config_manager.go:38-44.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +69
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package config

import (
"testing"

"github.com/stretchr/testify/require"
)

func TestGetAllConfigOptions(t *testing.T) {
options := GetAllConfigOptions()

// Should have at least some options
require.NotEmpty(t, options)
require.Greater(t, len(options), 0)

// Check that we have the expected default options
foundDefaultsSubscription := false
foundDefaultsLocation := false
foundAlphaAll := false

for _, option := range options {
require.NotEmpty(t, option.Key, "Config option key should not be empty")
require.NotEmpty(t, option.Description, "Config option description should not be empty")
require.NotEmpty(t, option.Type, "Config option type should not be empty")

switch option.Key {
case "defaults.subscription":
foundDefaultsSubscription = true
require.Equal(t, "string", option.Type)
require.Contains(t, option.Description, "subscription")
case "defaults.location":
foundDefaultsLocation = true
require.Equal(t, "string", option.Type)
require.Contains(t, option.Description, "location")
case "alpha.all":
foundAlphaAll = true
require.Equal(t, "string", option.Type)
require.Contains(t, option.AllowedValues, "on")
require.Contains(t, option.AllowedValues, "off")
require.Equal(t, "AZD_ALPHA_ENABLE_ALL", option.EnvVar)
}
}

// Verify expected options are present
require.True(t, foundDefaultsSubscription, "defaults.subscription option should be present")
require.True(t, foundDefaultsLocation, "defaults.location option should be present")
require.True(t, foundAlphaAll, "alpha.all option should be present")
}

func TestConfigOptionStructure(t *testing.T) {
options := GetAllConfigOptions()

for _, option := range options {
// All options should have required fields
require.NotEmpty(t, option.Key)
require.NotEmpty(t, option.Description)
require.NotEmpty(t, option.Type)

// If AllowedValues is set, it should not be empty
if len(option.AllowedValues) > 0 {
for _, val := range option.AllowedValues {
require.NotEmpty(t, val, "Allowed value should not be empty")
}
}
}
}
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command tests only unit test the GetAllConfigOptions function but don't test the configOptionsAction itself. Consider adding an integration test that verifies the action's behavior, including JSON and table output formats, error handling, and current value display. This follows the pattern seen in auth_token_test.go where action implementations are tested directly.

Copilot uses AI. Check for mistakes.
@vhvb1989
Copy link
Member

/azp run azure-dev - cli

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@microsoft-github-policy-service microsoft-github-policy-service bot added the no-recent-activity identity issues with no activity label Dec 30, 2025
@vhvb1989
Copy link
Member

vhvb1989 commented Jan 2, 2026

@copilot , the TestFigSpec is failling:

 figspec_test.go:57: snapshot not equal:
        --- Previous
        +++ Current
        @@ -327,2 +327,6 @@
         				{
        +					name: ['options'],
        +					description: 'List all available configuration settings.',
        +				},
        +				{
         					name: ['reset'],
        @@ -1652,2 +1656,6 @@
         						{
        +							name: ['options'],
        +							description: 'List all available configuration settings.',
        +						},
        +						{
         							name: ['reset'],
        
    figspec_test.go:45: Uninstalling all extensions

Update the snapshots for this test

@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-recent-activity identity issues with no activity label Jan 2, 2026
- Define EnvOnlyPrefix constant for environment-only config keys
- Improve error handling to log non-NotExist errors instead of silently ignoring
- Update figspec test snapshots for new config options command
- Use constant instead of magic string for environment-only check

Co-authored-by: vhvb1989 <24213737+vhvb1989@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 2, 2026

@copilot , the TestFigSpec is failling:

...

Fixed! The figspec snapshots have been updated to include the new azd config options command.

The test now passes with the new command properly listed in the Fig autocomplete spec.

Commit: cf82fd0

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension source add -n local -t file -l /home/REDACTED/work/azure-dev/azure-dev/cli/azd/extensions/registry.json (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension list --source local --output json x_amd64/vet -I erhouse/uax29/v2-atomic -I x_amd64/vet @v1.�� g_.a e-dev/cli/azd/cm-ifaceassert x_amd64/vet -p s -lang=go1.23 x_amd64/vet (dns block)
    • Triggering command: /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd /home/REDACTED/work/azure-dev/azure-dev/cli/azd/azd extension install azure.ai.agents --source local --version 0.1.4-preview -I nal/rc2 -I x_amd64/vet -w @v1.2.1/ascii/eq-errorsas @v1.2.1/ascii/va-ifaceassert x_amd64/vet -c s /tmp/go-build310-bool x_amd64/vet (dns block)
  • westus-0.in.applicationinsights.azure.com
    • Triggering command: /tmp/azd-improved /tmp/azd-improved telemetry upload x_amd64/vet @v1.�� g_.a olang.org/protob-ifaceassert x_amd64/vet /tmp/go-build310/opt/hostedtoolcache/go/1.25.5/x64/pkg/tool/linux_amd64/vet o/sdk/resourcema-atomic -fno-stack-prote-bool x_amd64/vet -W g_.a om/!azure/azure--ifaceassert x_amd64/vet . zd/pkg/prompt --64 x_amd64/vet (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from vhvb1989 January 2, 2026 23:54
@vhvb1989
Copy link
Member

vhvb1989 commented Jan 2, 2026

/azp run azure-dev - cli

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add command to list all possible azd config settings

3 participants