Skip to content

Pin vscode version in CI for windows #2901

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

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
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