Error: VSCode Server fails, if update fails to download

Open
#320,045 5 comments 1 reaction 1 assignee View on GitHub

@aeschli is already working on this.

Since Jun 5, 2026.

Assessment

This issue has not been assessed yet.

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.123.0
  • OS Version: WIndows 11

Steps to Reproduce:

  1. When update comes, it downloads thorugh cli and if it it fails server connection is gone for ever.

https://update.code.visualstudio.com/commit:0958016b2af9f09bb4257e0df4a95e2f90590f9f/server-linux-x64/stable

Cache (Windows):

$USERPROFILE\vscode-remote-wsl\stable\6a44c352bd24569c417e530095901b649960f9f8

Issues found:

  1. it does rm -rf of existing vscode server before new version is completely downloaded.
  2. There is no roll back if any failure is happening ( There is a cache is Windows in my case). Thus, thus vscode is stuck in error not able to connect. ( Permanant.)

Expected behaviour:

  1. It should ideally download and then do rm -rf old package in the remote machine.
  2. Make sure download is done and verified with hash.
    or,
    pro-actively download and then show update notification in vscode IDE.
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.