Skip to content

Enable opening a local terminal while the remote resolver is running#165742

Merged
Tyriar merged 2 commits intomainfrom
roblou/given-mouse
Nov 9, 2022
Merged

Enable opening a local terminal while the remote resolver is running#165742
Tyriar merged 2 commits intomainfrom
roblou/given-mouse

Conversation

@roblourens
Copy link
Member

@roblourens roblourens commented Nov 7, 2022

Fix microsoft/vscode-remote-release#7324

Need to unblock the path to opening a local terminal, triggered by a remote resolver, before the workbench has loaded (ie connected to a remote)

Need to unblock the path to opening a local terminal, triggered by a remote resolver, before the workbench has loaded (ie connected to a remote)
@vscodenpa vscodenpa added this to the November 2022 milestone Nov 7, 2022
@roblourens roblourens requested a review from Tyriar November 7, 2022 19:37
@roblourens roblourens changed the title Fix microsoft/vscode-remote-release#7324 Enable opening a local terminal while the remote resolver is running Nov 7, 2022
Copy link
Member Author

@roblourens roblourens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any ideas on how to protect this scenario with a test?

@Tyriar
Copy link
Member

Tyriar commented Nov 7, 2022

Any ideas on how to protect this scenario with a test?

Do we have resolver tests that assert during startup? Creating a terminal during resolve and asserting it works would cover this case

@roblourens
Copy link
Member Author

remote-ssh doesn't have tests that run a live resolver. We run integration/smoke tests with the Test-Resolver, but even if we modify that to create a terminal, it still doesn't cover the case of opening a window that has the right kind of tree open. Maybe there's a useful test that could be written at the unit level, to make sure that some path is not blocked with a LifecycleService in a certain phase? But I don't know how to cover the whole scenario 🤷

@Tyriar Tyriar merged commit 71f6e26 into main Nov 9, 2022
@Tyriar Tyriar deleted the roblou/given-mouse branch November 9, 2022 14:52
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Connecting with SSH timed out" when open Remote Workspace

3 participants