Description
Type: Bug
The setup
I have two computers, they are connected to the internet through different ISPs (one wired, one cellular). I am running 2 instances of vscode on each computers. I am logged in with the same account on all four instances and settings syncing is turned on.
The problem
When editing the settings either with the UI editor or with the settings.json
file, the instances running on the same netwok have no problem syncing with each other. The instances on the different network will not sync, not even when forced with the "Settings Sync: Sync Now" command. When changing something on the "outdated" instance, it will report a conflict, resolving it will sync it so that other instances can sync it, but only "local" ones will sync automatically and without conflict, the instances on the other network will be the new "outdated" ones.
Example
Computer A
and B
are connected to different networks, and have the same account (Github) and profile (Default).
On each computer, there are two vscode instances: A1
, A2
, B1
, B2
. All extensions are disabled.
- Changing a setting in
A1
will trigger a sync. A2
will detect and download the changes.B1
andB2
will not:
Settings: No changes found during synchronizing settings.
- Changing a setting in
B1
will trigger a sync and report a conflict:
Settings: Failed to synchronize as there is a new remote version available. Synchronizing again...
Settings: Detected conflicts while synchronizing settings.
- After resolving the conflict on
B1
with either "Replace local" or "Replace remote",B2
will sync and download the changes. A1
andA2
will now act asB1
andB2
in step 3
Notes
When the two computers are connected to the same network (either one) all four vscode instances are syncing without a problem.
System info
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Linux x64 6.11.6-300.fc41.x86_64
Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (4 x 3392) |
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: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off webnn: disabled_off |
Load (avg) | 2, 2, 3 |
Memory (System) | 15.57GB (6.34GB free) |
Process Argv | --crash-reporter-id cb6a3ac5-b939-4ca1-92c6-fc345c0c601d |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | gnome |
XDG_CURRENT_DESKTOP | GNOME |
XDG_SESSION_DESKTOP | gnome |
XDG_SESSION_TYPE | wayland |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31185841
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530