Skip to content

ci: run native tests on Windows #218

Draft
punchagan wants to merge 4 commits intodevelopfrom
punchagan/win-tests
Draft

ci: run native tests on Windows #218
punchagan wants to merge 4 commits intodevelopfrom
punchagan/win-tests

Conversation

@punchagan
Copy link
Collaborator

@punchagan punchagan commented May 13, 2025

Run native tests in Windows CI. Also, we no longer depend on the Linux
tests for cached results to use in the tests.

PR checklist:

  • Purpose of the code is evident to future readers
  • Tests included or PR comment includes a reproducible test plan
  • Documentation is up-to-date
  • A changelog entry was for any user-facing change
  • Change has no security implications (otherwise, ping security team)

@punchagan
Copy link
Collaborator Author

The tests seem to be freezing randomly on some files. Here are some manual runs of the tests on Windows and they seem to be freezing on different files in different runs.

@ajbt200128 @brandonspark would you have any ideas on how to debug or work around these freezes?

@punchagan
Copy link
Collaborator Author

punchagan commented May 14, 2025

The Windows CI on the PR itself seems to have run cleanly. (on a rebuild)

Freezes on these runs:

@punchagan punchagan force-pushed the punchagan/win-tests branch from 0033378 to 395ecec Compare May 14, 2025 04:13
Run native tests in Windows CI. Also, we no longer depend on the Linux
tests for cached results to use in the tests.
@punchagan punchagan force-pushed the punchagan/win-tests branch 3 times, most recently from 9c2fcd5 to 5f15514 Compare May 27, 2025 09:34
@punchagan punchagan marked this pull request as ready for review May 27, 2025 09:53
@punchagan
Copy link
Collaborator Author

I added a commit to close the active editor tab after running the test and this reduces some of the flakiness of the tests on Windows, even though it doesn't completely fix it.

@punchagan punchagan force-pushed the punchagan/win-tests branch 2 times, most recently from 00e395f to 73177d5 Compare May 27, 2025 11:19
@punchagan punchagan marked this pull request as draft May 27, 2025 15:41
@punchagan punchagan force-pushed the punchagan/win-tests branch 5 times, most recently from cb27bbe to f98ab53 Compare June 3, 2025 11:37
@punchagan punchagan force-pushed the punchagan/win-tests branch from f98ab53 to 3d00025 Compare June 3, 2025 11:54
punchagan added 2 commits June 3, 2025 17:50
To reduce flakiness of the tests, we close the editor tab once the tests
for a specific file have been run. This seems to reduce the flakiness of
the tests and help slightly with the freezes on Windows.
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.

2 participants