Skip to content

test(paseo-omp): cover Windows EOF tree race - #151

Closed
omercnet wants to merge 1 commit into
mainfrom
tests/windows-process-cleanup-regression
Closed

omercnet wants to merge 1 commit into
mainfrom
tests/windows-process-cleanup-regression

Conversation

@omercnet

Copy link
Copy Markdown
Owner

Purpose

Test-only reproduction for the Windows process-tree shutdown race from #150. No production shutdown code changes.

The regression launches a real Windows leader that owns an ignored-stdio descendant and exits on stdin EOF. It models taskkill beginning too late to retain the leader as the tree root, then requires session.close() to have terminated the descendant.

Expected CI result

The new test is Windows-only. Linux skips it; windows-latest should fail against current main until cleanup is verified before stdin EOF can release the leader.

Verification

  • npx vitest run tests/omp-rpc-process.test.ts — 9 passed, 2 Windows-only skipped on Linux
  • npm run typecheck
  • npm run check
  • npm test — 823 passed, 5 skipped on Linux

The diff contains only paseo-omp/tests/omp-rpc-process.test.ts.

Copilot AI lite review requested due to automatic review settings September 22, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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