microsoft / microsoft/vscode-remote-release
devcontainer cannot auto reconnect, when open same devcontainer with different path at the same time, then rebuild
Open
@chrmarti is already working on this.
Since Jul 25, 2026.
bug
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.