Skip to content

Fix Windows discovery-exit test fixture - #382

Merged
leehack merged 1 commit into
mainfrom
fix/stdio-discovery-fixture-exit
Sep 7, 2026
Merged

Fix Windows discovery-exit test fixture#382
leehack merged 1 commit into
mainfrom
fix/stdio-discovery-fixture-exit

Conversation

@leehack

@leehack leehack commented Sep 7, 2026

Copy link
Copy Markdown
Owner

The legacy discovery fixture could close stdin without exiting promptly on Windows. The client then reached its discovery timeout and attempted initialization against the old process, intermittently failing the platform smoke test.

Explicitly exit the fixture with status 0 when it receives server/discover, so the existing tests exercise recovery after a child exit. SDK runtime behavior and dependency versions are unchanged.

Validation: all 1,986 SDK tests pass locally, including the 46 stdio client tests, fresh-child fallback, and the require2026 rejection case. Static analysis, formatting, and diff checks pass. The unchanged dependency PR #378 also passed its targeted Windows rerun, confirming that the original failure is intermittent. Windows CI for this fixture change is still required after pushing.

@leehack
leehack merged commit c8e0c72 into main Sep 7, 2026
17 checks passed
@leehack
leehack deleted the fix/stdio-discovery-fixture-exit branch September 7, 2026 11:43
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.

1 participant