Fix #9258 by changing AZD_SKIP_FIRST_RUN to default to true when unset.#9259
Fix #9258 by changing AZD_SKIP_FIRST_RUN to default to true when unset.#9259tg-msft wants to merge 1 commit into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 21 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Defaults the first-run tool prompt to disabled while retaining explicit opt-in and background update checks.
Changes:
- Adds opt-in semantics for
AZD_SKIP_FIRST_RUN=false. - Records
default_disabledtelemetry. - Updates tests and environment-variable documentation.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
cli/azd/internal/tracing/fields/fields.go |
Adds the telemetry enum value. |
cli/azd/docs/environment-variables.md |
Documents the new default. |
cli/azd/cmd/middleware/tool_update_check.go |
Clarifies update-check semantics. |
cli/azd/cmd/middleware/tool_first_run.go |
Implements default prompt suppression. |
cli/azd/cmd/middleware/tool_first_run_test.go |
Tests opt-in and default-disabled behavior. |
| // Example: "default_disabled", "env_var", "no_prompt", "ci_cd", | ||
| // "non_interactive", "already_completed", "config_error" |
…first-run experience Co-authored-by: tg-msft <1179329+tg-msft@users.noreply.github.com>
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
No description provided.