-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
-
Developer Tools
Test execution on windows-latest GitHub Actions runners is currently skipped via a workflow-level if: matrix.os != 'windows-latest' guard in
code-health.yml }}and {{{}code-health-fork.yml. Windows runners still execute checkout and pnpm install (so the matrix entry continues to satisfy the configured GitHub status checks), but pnpm test is not run.
pnpm test fails non-deterministically on Windows runners with [vitest-pool]: Worker exited unexpectedly, leaving orphan mongod processes (visible in GHA cleanup logs as Terminate orphan process: pid (XXXX) (mongod)). The crash victim moves between different test files each run, indicating a race condition rather than a per-test bug.
Suspected root cause is at least one test fixture managed by `tests/integration/tools/mongodb/mongodbClusterProcess.ts` (or a mongodb-runnerconsumer) does not shut down its mongod cleanly on Windows. With parallel forks the leaked processes compound and trigger the silent worker exits.