Re-enable test execution on Windows CI runners

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • No Version
    • 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.

            Assignee:
            Nikola Irinchev
            Reporter:
            Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: