Open Votai0 opened 3 weeks ago
It's looks like loop, tsserver takes 100% of one CPU core, and overall ts typehints became unresponsive. I assumed it was just indexing the project, but as it turns out, even if you leave it for an hour, nothing changes!
Then I open just small project with 100 lines - and it hungs as well after go to referece that leads to something external.
So I enable logging for tsserver to see where it create loop
The logs quickly went over 500 megabytes, and at first glance it doesn't look like it's a cycle
However when I look at it this way
cat ./tsserver.log | grep "position 25419"
Does this reproduce in the latest VS Code insiders build with all extensions disabled?
not reproduced with "--disable-extensions" flag
Type: Bug
typescript loops itself
VS Code version: Code 1.88.1 (Universal) (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:42:52.765Z) OS version: Darwin arm64 23.4.0 Modes: Remote OS version: Linux arm64 6.6.16-linuxkit
System Info
|Item|Value| |---|---| |CPUs|Apple M3 Pro (11 x 24)| |GPU Status|2d_canvas: enabledcanvas_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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|4, 5, 5| |Memory (System)|18.00GB (0.30GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|Dev Container: Node.js @ desktop-linux| |OS|Linux arm64 6.6.16-linuxkit| |CPUs|unknown (4 x 0)| |Memory (System)|2.36GB (0.97GB free)| |VM|0%|
Extensions (8)
Extension|Author (truncated)|Version ---|---|--- remote-containers|ms-|0.354.0 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.3 remote-repositories|ms-|0.40.0 vscode-eslint|dba|2.4.4 copilot|Git|1.184.0 copilot-chat|Git|0.14.1 (1 theme extensions excluded)