microsoft / vscode

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

python notebooks teammate connection problem #163514

Closed cristiangofiar closed 1 year ago

cristiangofiar commented 2 years ago

Type: Bug

Periodical disconnect from participants. At a random moment there are different problems: what one writes the other cannot see (they cannot even see the new cells that are created in the notebook). Then, to fix this, you need to log out and back in, or sometimes just close and open the file. But the MOST DANGEROUS by MUCH DIFFERENCE is that the notebook goes completely crazy, randomly, and cells and their code begin to be deleted in milliseconds. You can only see how the notebook moves up and down and how all your work disappears! this happened to us several times, so we manually saved a copy.

VS Code version: Code 1.72.1 (129500ee4c8ab7263461ffe327268ba56b9f210d, 2022-10-10T17:22:48.346Z) OS version: Windows_NT x64 10.0.22000 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx (4 x 2595)| |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
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
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|9.95GB (1.98GB free)| |Process Argv|--crash-reporter-id 30a35855-55ef-497e-833c-a676acf4155f| |Screen Reader|no| |VM|0%|
Extensions (24) Extension|Author (truncated)|Version ---|---|--- path-intellisense|chr|2.8.1 vscode-html-css|ecm|1.13.1 auto-rename-tag|for|0.1.10 code-runner|for|0.11.8 vscode-google-translate|fun|1.4.13 copilot|Git|1.50.6974 blazorwasm-companion|ms-|1.1.0 csharp|ms-|1.25.0 vscode-dotnet-runtime|ms-|1.5.0 python|ms-|2022.16.0 vscode-pylance|ms-|2022.10.20 jupyter|ms-|2022.9.1202862440 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.10 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.255.3 remote-wsl|ms-|0.72.0 vsliveshare|ms-|1.0.5735 color-highlight|nau|2.5.0 vetur|oct|0.36.0 material-icon-theme|PKi|4.21.0 LiveServer|rit|5.7.9 volar|Vue|1.0.7 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 i497e931:30553904 pyindex848cf:30577861 nodejswelcome1:30587005 40g7c324:30573242 ```
vscodenpa commented 2 years ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

rebornix commented 2 years ago

@cristiangofiar can you please provide more info, I didn't follow how your teammates connect to your notebook?

cristiangofiar commented 2 years ago

my teammate connects through the link generated by the Live Share extension. At a random moment there are different problems: what one writes the other cannot see (they cannot even see the new cells that are created in the notebook). Then, to fix this, you need to log out and back in, or sometimes just close and open the file. But the MOST DANGEROUS by MUCH DIFFERENCE is that the notebook goes completely crazy, randomly, and cells and their code begin to be deleted in milliseconds. You can only see how the notebook moves up and down and how all your work disappears! this happened to us several times, so we manually saved a copy. It shouldn't happen, it's very dangerous for the consistency of the code you're working on. Imagine that a small function is deleted but that the entire operation of your project depends on it... you must spend a lot of time checking that it was deleted to rewrite it, if you remember how it went!

setaskin commented 1 year ago

Hi, @cristiangofiar , thank you for reporting the issue. Looks like it is related to Live Share. I created this issue in our repo and linked it here. Would you send us your logs , screen recordings or screen shots if available and post it here : . To reach out your Live Share logs you can run this command from VS Code command palette "Live Share: Export Logs"