semgrep-vscode icon indicating copy to clipboard operation
semgrep-vscode copied to clipboard

ci: run native tests on Windows

Open punchagan opened this issue 9 months ago • 3 comments

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 avatar May 13 '25 18:05 punchagan

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 avatar May 13 '25 18:05 punchagan

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

Freezes on these runs:

punchagan avatar May 14 '25 04:05 punchagan

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 avatar May 27 '25 09:05 punchagan