Skip to content

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Apr 22, 2025

We had already pinned the version for mac and Linux: #2878 but it appears that we have the same problem on windows its just crashing with error code 0 which means our test runner wasn't signalling the failure.

Test run crashes on windows with false negative.
https://github.com/cursorless-dev/cursorless/actions/runs/14509376075/job/40704611423?pr=2893

It appears that it's vscode.window.showTextDocument in our openNewEditor utility that causes this. It's not always on the same test case. By default it crashes in the scope tests, but if I disable the scope test the same error occurs in our recorded tests that of course uses the same openNewEditor function. I can't recreate this locally. Looks like a memory leak or similar.

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner April 22, 2025 09:18
@AndreasArvidsson AndreasArvidsson changed the title Use latest stable vscode for windows CI tests Unpin vscode version in CI test workflow Apr 22, 2025
@AndreasArvidsson AndreasArvidsson changed the title Unpin vscode version in CI test workflow Pin vscode version in CI Apr 22, 2025
@AndreasArvidsson AndreasArvidsson changed the title Pin vscode version in CI Pin vscode version in CI for windows Apr 22, 2025
@AndreasArvidsson AndreasArvidsson merged commit 29d135e into main May 6, 2025
15 checks passed
@AndreasArvidsson AndreasArvidsson deleted the stableVscode branch May 6, 2025 05:55
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.

1 participant