-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure we use correct workspace folder for remote terminals #180486
Comments
Can you elaborate on what's not working exactly? Were the smoke tests failing because last active workspace was undefined? I think it's possible to be in a multi-root window but last active workspace being undefined. |
There're two problems:
|
Any repro on this? Here's what the history service does: vscode/src/vs/workbench/services/history/browser/historyService.ts Lines 1073 to 1097 in bcb07d6
|
I'm not clear on what |
@Tyriar FYI I can reproduce this in multi root workspace in codespaces, where scoped collections do not seem to work. That can be used to verify the fix. |
@Tyriar Last active workspace is not working properly, so getting workspace through cwd instead. Based on #179323 (comment) I was expecting it to be the same as cwd.
Smoke tests are timing out when attempting to use cwd workspace folder in remote terminals, not sure what might be going on. Here's our attempt: 9e4fa31
We can either do this or fix last active workspace so it points to correct workspace folder in multiroot scenarios.
The text was updated successfully, but these errors were encountered: