Skip to content

Disable update checks for Cloud Shell managed tools - #657

Open
Scott Kool (ComradeCow) wants to merge 1 commit into
masterfrom
comradecow/disable-update-checks
Open

Scott Kool (ComradeCow) wants to merge 1 commit into
masterfrom
comradecow/disable-update-checks

Conversation

@ComradeCow

@ComradeCow Scott Kool (ComradeCow) commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Disable Az upgrade checks in the PowerShell launch profile for the current process without changing saved user settings.
  • Set container environment variables to disable update notifications for Terraform, GitHub CLI and extensions, npm, pip, and Microsoft 365 CLI.
  • Disable .NET workload advertising downloads and Azure CLI Bicep version checks for runtime users.
  • Keep the existing PowerShell update-check setting in the Dockerfile and group it with the other settings.
  • Add regression coverage for PowerShell and Az update-check settings.

Terraform's Checkpoint setting also disables Checkpoint alerts. Explicit image-build updates remain enabled.

Validation

  • PowerShell syntax parsing and git diff --check passed.
  • Container tests were not run because the Docker daemon is unavailable.

Resolve #510

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Image size with this change is base: 6186MB, tools: 9855MB.

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.

[BUG] Cloud shell is not running the latest version and cannot be upgraded.

1 participant