Skip to content

Notebook save conflict when the workspace has high latency #111910

Closed

Description

@rebornix
  • VSCode Version: 1.52 Insiders
  • OS Version: macOS/Windows

Steps to Reproduce:

  1. Connect VS Code to a remote environment which latency is a bit high
  2. Turn on auto save, change the auto save delay to 50
  3. Open a github issue notebook, typing
  4. The contents of the file has changed on disk notification keeps showing up

When connecting to codespace with a high latency network, you will run into this issue very easily as the default save delay is 1 second. Saving a notebook has a couple of round trips between the UI and the server (save, check file stats) so you can easily have two or more save operations happen at the same time.

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

Activity

  1. added
    bug
    on Dec 4, 2020
  2. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Dec 4, 2020
  3. roblourens commented on Dec 7, 2020

    @roblourens
    Member

    Can Kai Maetzel (@kieferrm) verify? Or Peng Lyu (@rebornix) do you have a good way to simulate latency?

  4. rebornix commented on Dec 8, 2020

    @rebornix
    ContributorAuthor

    roblourens when you are connected to a remote workspace, you can always tweak the file auto save delay. When I was testing, setting it to 50 can already trigger the issue. Try set it to 10 and see if you can reproduce, that should be good enough (unless you have near perfect network, super low latency to codespace)

  5. roblourens commented on Dec 8, 2020

    @roblourens
    Member

    Oh I see

  6. added
    verified
    on Dec 8, 2020
  7. locked and limited conversation to collaborators on Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasednotebookverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions