Skip to content

devcontainer cannot auto reconnect, when open same devcontainer with different path at the same time, then rebuild #11767

Description

@loynoir

bug

devcontainer cannot auto reconnect, when open same devcontainer with different path at the same time, then rebuild

prepare

Within same devcontainer XXX.

There is

  • /path/to/foo

  • /path/to/bar

And their workspace extension is different

  • /path/to/foo/.vscode/extensions/

  • /path/to/bar/.vscode/extensions/

Project manager UI save proejcts.

Results in alefragnani.project-manager/projects.json

  {
    "name": "foo",
    "rootPath": "vscode-remote://dev-container+xxx/path/to/foo",
    "paths": [],
    "tags": [],
    "enabled": true
  },
  {
    "name": "bar",
    "rootPath": "vscode-remote://dev-container+xxx/path/to/bar",
    "paths": [],
    "tags": [],
    "enabled": true
  },

foo Ctrl+Shift+P >Dev Containers: Rebuild Container

Wait, then foo is OK

expected

Wait, then bar is also OK

actual

But bar UI prompt

Visual Studio Code

Cannot reconnect. Please reload the window.

Click Reload Window

bar is OK

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions