vscode: Rename synced machine in Settings Sync silently fails for _certain_ previously used names

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
    Version: 1.67.1 (user setup)
    Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
    Date: 2022-05-06T12:37:03.389Z (1 wk ago)
    Electron: 17.4.1
    Chromium: 98.0.4758.141
    Node.js: 16.13.0
    V8: 9.8.177.13-electron.0
    OS: Windows_NT x64 10.0.19044
    
    and on Insider too:
    Version: 1.68.0-insider (user setup)
    Commit: 9c29becfad5f68270b9b23efeafb147722c5feba
    Date: 2022-05-13T17:22:29.178Z (1 day ago)
    Electron: 17.4.3
    Chromium: 98.0.4758.141
    Node.js: 16.13.0
    V8: 9.8.177.13-electron.0
    OS: Windows_NT x64 10.0.22000
    
  • OS Version: Windows 10 19044.1706, Windows 11 22000.613, Windows 11 22000.675, etc.

Steps to Reproduce:

  1. Login to Settings Sync using my account or gain access to an already logged in VSCode instance.
  2. Attempt to modify any of the machine under the Synced Machine pane to a specific name.

Actually useful information

What caused the issue?

  1. I’ve had a couple of records under Synced Machines that were “zombies” (stale because I reinstalled Windows on that machine etc,).
  2. I got rid of them by right clicking on those entries, clicking on “Turn off Settings Sync…” and then answered “Turn off” to the question “Are you sure you want to turn off sync on XyzFooBar?”
  3. I tried to rename existing machines to that old name and it fails, silently. The rename does not apply.

More details

Changing to any other name works, even different by a single character. I can obviously delete all my data from the cloud service and resync all my machines, but then I might not be able to reproduce it, and then it would be harder to investigate I believe.

Unfortunately there’s no web (or other) interface to see the currently stored data about me. Maybe that’s something you should consider.

Anyway, obviously I am not able the information required to reproduce it, since that information is the password for my account and the secret to the 2FA. Obviously ain’t gonna happen. I’m sure you are able to understand.

I can provide privately the email for the Microsoft Account which is used for the Settings Sync service and the specific name I am unable to rename to.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (2 by maintainers)

Most upvoted comments