microsoft / microsoft/vscode-remote-release

VSCode freezing when adding folder to workspace while working on remote Linux machine

Open
#10,168 18 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Type: Performance Issue

I have SSH host configured

  1. When I click at the bottom left side connect to remote host and I can connect to the selected host.
  2. Once connected to the remote host, click add folder to workspace, it freezes and doesn't quit. I need to end task task from task manager.
  3. I sometimes ssh to the same machine with different users and work on the same folder.

VS Code version: Code 1.92.1 (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'SSH: ycvghfd500_int1' could not be established Canceled

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)
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) 31.71GB (14.19GB free)
Process Argv --crash-reporter-id 21c459a2-a353-4566-adaf-1f7dd75c49d7
Screen Reader no
VM 0%

Connection to 'SSH: ycvghfd500_int1' could not be established Canceled

Process Info
CPU %	Mem MB	   PID	Process
    1	   148	 34084	code main
    0	   204	  2168	window [3] (Welcome - Untitled (Workspace) - Visual Studio Code)
    0	    84	 11636	   utility-network-service
    0	    96	 17192	fileWatcher [3]
    0	   100	 19160	ptyHost
    0	   104	 20560	window [4] (Issue Reporter)
    0	    81	 31048	   crashpad-handler
    0	   242	 34196	   gpu-process
    0	   133	 51600	shared-process
Connection to 'SSH: pjclx101_int1' could not be established  Canceled
Workspace Info

Connection to 'SSH: ycvghfd500_int1' could not be established  Canceled;
Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
wkspc-ranged-t:31111713

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.

Research direction

The report names no source files, tests, or entry points. Start by reproducing the freeze in VS Code 1.92.1 on Windows while adding a folder to an SSH-connected workspace, then inspect the canceled remote connection details; done means the folder can be added without freezing or requiring the process to be terminated.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
desktop-dev, devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.