Skip to content

Upgrade @microsoft/vscode-azext-azureauth to 6.0.0-alpha.8#1417

Merged
alexweininger merged 1 commit intomainfrom
alex/upgrade-auth-6.0.0-alpha.8
Mar 26, 2026
Merged

Upgrade @microsoft/vscode-azext-azureauth to 6.0.0-alpha.8#1417
alexweininger merged 1 commit intomainfrom
alex/upgrade-auth-6.0.0-alpha.8

Conversation

@alexweininger
Copy link
Copy Markdown
Member

Updates @microsoft/vscode-azext-azureauth from 6.0.0-alpha.5 to 6.0.0-alpha.8.

Bug fixes included in this upgrade

  • Fix subscription filter change events suppressed during debounce (vscode-azuretools#2245) — subscriptionFilterChange events could be silently dropped when they occurred during the debounce window, causing the Azure tree to not refresh after changing subscription filters. Fixes Re‑selecting subscription does not trigger Azure Resources view refresh #1412.

  • Add BearerChallengePolicy for MFA step-up during subscription listing (vscode-azuretools#2231) — When users hit an MFA step-up challenge (401 with WWW-Authenticate header) during tenant/subscription listing, the request would simply fail. The auth package now includes a BearerChallengePolicy on the subscription client pipeline to handle these challenges.

Other changes

  • Reduce auth event debounce from 5s to 2s (vscode-azuretools#2246) — Reduces the onRefreshSuggested debounce interval from 5 seconds to 2 seconds for faster tree refresh after auth state changes.

  • Watch sovereign cloud config and fire onRefreshSuggested (vscode-azuretools#2248) — The auth provider now watches the microsoft-sovereign-cloud config section for changes. When the cloud environment is switched, it clears all cached auth data and fires onRefreshSuggested with a new cloudChange reason, so trees refresh automatically without manual cache clearing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alexweininger alexweininger requested a review from a team as a code owner March 26, 2026 22:01
Copilot AI review requested due to automatic review settings March 26, 2026 22:01
@alexweininger alexweininger enabled auto-merge (squash) March 26, 2026 22:03
@alexweininger alexweininger merged commit 7e282a1 into main Mar 26, 2026
5 checks passed
@alexweininger alexweininger deleted the alex/upgrade-auth-6.0.0-alpha.8 branch March 26, 2026 22:03
Copy link
Copy Markdown
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

Upgrades the extension’s authentication dependency to pick up upstream fixes in @microsoft/vscode-azext-azureauth, improving refresh behavior around subscription filter changes, MFA step-up challenges, and auth/cloud-change refresh signaling.

Changes:

  • Bump @microsoft/vscode-azext-azureauth from 6.0.0-alpha.5 to 6.0.0-alpha.8.
  • Update package-lock.json to lock the new azureauth version and its updated dependency graph (including @azure/core-rest-pipeline).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates the azureauth dependency range to require 6.0.0-alpha.8.
package-lock.json Locks @microsoft/vscode-azext-azureauth@6.0.0-alpha.8 and records dependency graph updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Re‑selecting subscription does not trigger Azure Resources view refresh

3 participants