Skip to content

Conversation

@dmitrivMS
Copy link
Contributor

Fixes #268531

@dmitrivMS dmitrivMS self-assigned this Feb 4, 2026
@dmitrivMS dmitrivMS added this to the February 2026 milestone Feb 4, 2026
@dmitrivMS dmitrivMS added install-update VS Code installation and upgrade system issues windows VS Code on Windows issues labels Feb 4, 2026
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 change adjusts the Windows update feed construction so that, when a specific pending commit is being overwritten, the update check can be targeted at that pending commit instead of always using the currently installed commit. This supports the overwrite/update machinery needed to avoid scenarios where a user effectively has to restart twice to land on the latest Insiders build.

Changes:

  • Extend Win32UpdateService.doCheckForUpdates to accept an optional pendingCommit parameter.
  • Use pendingCommit ?? this.productService.commit! when building the Windows update feed URL so that, if a pending update commit is known, the server is queried as if that pending commit were the current version.

@dmitrivMS dmitrivMS marked this pull request as draft February 4, 2026 09:19
@dmitrivMS dmitrivMS requested a review from deepak1556 February 4, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

install-update VS Code installation and upgrade system issues windows VS Code on Windows issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: VS Code Insiders requires two restarts to update, if an update is already pending and another is available

2 participants