Skip to content
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

Fix some flakiness caused by PR #957 #967

Merged
merged 2 commits into from
Sep 14, 2022
Merged

Fix some flakiness caused by PR #957 #967

merged 2 commits into from
Sep 14, 2022

Conversation

gjsjohnmurray
Copy link
Collaborator

On Windows at least, the node path auto-detect changes from #957 were producing intermittent failures. One of these was caused by vscode.env.shell sometimes being empty, perhaps a consequence of being called very early in VS Code startup.

this.registerBaseNotifications() was being called before this.client had been instantiated
When this happened a PowerShell node-detection shell would fail to close.
Probably a timing issue, as adding a retry loop seems to fix it.
@gjsjohnmurray
Copy link
Collaborator Author

Upstream issue microsoft/vscode#160694

@mtxr mtxr merged commit cce76e0 into mtxr:dev Sep 14, 2022
@gjsjohnmurray gjsjohnmurray deleted the fix-957 branch September 14, 2022 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants