Skip to content

VS Code installation corrupts when update comes during running WSL session #231826

Open
@SergeiRadich

Description

@SergeiRadich

Type: Bug

Issue:
When VS Code is running, it is connected to WSL and update comes - installation is being corrupted.
Repro steps:

  • Install VS Code using system installer (not tested for user installer)
  • Open directory in WSL (tested against WSL2)
  • Wait for update to come out (issue appears even with disabled auto-update)
  • Try to open another instance of VS Code - it should be broken for both Windows and WSL environments
    Workarounds:
  • Use system installer to make new installation "on top" of existing one
  • Try to catch update without opened WSL environment - when only Windows directories are opened update goes smoothly
  • You can use old system installer and then update VS Code from Help menu with only Windows directories opened - it also works

VS Code version: Code 1.94.2 (384ff73, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i9-13980HX (32 x 2419)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.62GB (47.63GB free)
Process Argv --crash-reporter-id 1e948e9a-f2a3-48d2-8f25-b094576126d2
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
solargraph cas 0.24.1
erb Cra 0.0.1
vscode-html-css ecm 2.0.10
endwise kai 1.5.1
vscode-docker ms- 1.29.3
vscode-kubernetes-tools ms- 1.3.18
remote-wsl ms- 0.88.4
vscode-yaml red 1.15.0
ruby-lsp Sho 0.8.7
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca2:31156134
notype1:31157159
5fd0e150:31155592
dwcopilot:31162478
iconenabled:31158251

Metadata

Metadata

Assignees

Labels

WSLIssue when using WSLbugIssue identified by VS Code Team member as probable bugconfirmation-pendinginstall-updateVS Code installation and upgrade system issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions