microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.96k stars 29.18k forks source link

Extensions check for update gets confused by WSL extensions #149103

Closed Stanzilla closed 1 year ago

Stanzilla commented 2 years ago

Issue Type: Bug

When checking for extension updates, VSCode sometimes gets confused if one is updated locally but not in the connected WSL VM and vice versa, therefore showing no updates available, even though there are. Funny side effect, when there are actually no updates available you get the alert popup that tells you, if not, it just switches to the "outdated" view without showing any.

VS Code version: Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47, 2022-05-04T12:06:02.889Z) OS version: Windows_NT x64 10.0.22616 Restricted Mode: No Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2 Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2 Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|63.92GB (31.94GB free)| |Process Argv|--crash-reporter-id 792ef001-4877-4156-8855-a70449d56b54| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.10.102.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |Memory (System)|31.31GB (22.89GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.10.102.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |Memory (System)|31.31GB (22.89GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.10.102.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)| |Memory (System)|31.31GB (22.89GB free)| |VM|0%|
Extensions (82) Extension|Author (truncated)|Version ---|---|--- color-info|bie|0.7.0 jsdoc-markdown-highlighting|bie|0.0.1 esbuild-problem-matchers|con|0.0.2 dotfiles-syntax-highlighting|dot|0.1.0 remotehub|Git|0.32.0 better-dockerfile-syntax|jef|1.0.2 vscode-peacock|joh|4.0.1 vscode-core|Man|1.8.14 remote-containers|ms-|0.234.0 remote-ssh|ms-|0.78.0 remote-ssh-edit|ms-|0.80.0 remote-wsl|ms-|0.66.2 vscode-remote-extensionpack|ms-|0.21.0 remote-repositories|ms-|0.6.0 material-icon-theme|PKi|4.17.0 material-product-icons|PKi|1.3.0 jinjahtml|sam|0.17.0 vscode-wow-toc|sta|0.0.2 lua-grammar|sum|0.0.3 gistfs|vsl|0.4.1 vscode-todo-highlight|way|1.0.5 material-theme|zhu|3.13.25 tasks|act|0.9.0 string-converter|ada|0.1.2 TabOut|alb|0.2.1 html-end-tag-labels|ant|0.9.0 lit-html|bie|1.11.1 markdown-emoji|bie|0.2.1 markdown-footnotes|bie|0.0.7 markdown-mermaid|bie|1.13.2 markdown-shiki|bie|0.1.1 markdown-yaml-preamble|bie|0.1.0 shell-syntax|bma|1.0.3 vscode-tailwindcss|bra|0.8.3 better-toml|bun|0.3.2 vscode-markdownlint|Dav|0.47.0 vscode-eslint|dba|2.2.2 gitlens|eam|12.0.6 vscode-html-css|ecm|1.12.2 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.25 vale-server|err|0.14.2 prettier-vscode|esb|9.5.0 shell-format|fox|7.2.2 copilot|Git|1.18.5858 path-autocomplete|ion|1.19.1 markdown-extended|jeb|1.1.1 stylua|Joh|1.3.2 volar|joh|0.34.11 vscode-typescript-vue-plugin|joh|0.34.11 vscode-core|Man|1.8.14 rxjs-debugging-for-vs-code|man|1.1.1 rust-analyzer|mat|0.2.1048 rainbow-csv|mec|2.3.0 template-string-converter|meg|0.6.0 vscode-duplicate|mrm|1.2.1 vscode-scss|mrm|0.10.0 vscode-docker|ms-|1.22.0 python|ms-|2022.6.0 vscode-pylance|ms-|2022.4.3 powershell|ms-|2022.5.1 vscode-css-peek|pra|4.2.0 qub-xml-vscode|qub|1.2.8 vscode-commons|red|0.0.6 vscode-yaml|red|1.7.0 sourcery|sou|0.11.4 code-spell-checker|str|2.1.11 code-spell-checker-french-reforme|str|2.0.4 code-spell-checker-german|str|2.0.3 code-spell-checker-spanish|str|2.1.0 vscode-stylelint|sty|1.2.2 tailwindcss-transpiler|sud|0.0.8 lua|sum|3.2.2 even-better-toml|tam|0.14.2 shellcheck|tim|0.19.2 vscode-status-bar-format-toggle|tom|3.0.0 lorem-ipsum|Tyr|1.3.1 shell-launcher|Tyr|0.4.1 sort-lines|Tyr|1.9.1 docker|vsc|1.0.0 yaml|vsc|1.0.0 html-css-class-completion|Zig|1.20.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 pythonvspyl392:30443607 pythontb:30283811 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebugcf:30475217 ```

https://user-images.githubusercontent.com/75278/167451042-5f4ab8c1-b6bb-486f-af10-aa7c2e12cd1a.mp4

sandy081 commented 2 years ago

If I read the movie correctly, you see update for GitHub Copilot extension locally? When you check for extension updates or outdated extensions you do not see any? I also assume this extension is up to date in WSL?

Stanzilla commented 2 years ago

It always happens when an extension is up to date in one place (local or WSL) but not the other

sandy081 commented 2 years ago

Assigning to May for investigation

vscodenpa commented 1 year ago

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

Stanzilla commented 1 year ago

Yeah this confuses me still