Skip to content

Isolate MCP executable validation from executor saturation - #8

Merged
showxu merged 1 commit into
masterfrom
fix/mcp-http-test-isolation
Oct 5, 2026
Merged

showxu merged 1 commit into
masterfrom
fix/mcp-http-test-isolation

Conversation

@showxu

@showxu showxu commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

The default concurrent run mixes real HTTP clients with synchronous executor saturation and compiler fixtures. In the failed run, all four host cases timed out and the socket readers resumed after their deadline while many otherwise immediate tests took about 28 seconds.

Move executable MCP coverage into a serialized suite and require a separate CI validation phase. The four concurrent initialization requests still run together and verify capacity release. Staged and unpacked release validation include the new suite. HTTP startup checks require the configured server response, server output is captured without pipe backpressure, and buffered response headers are read before a pending receive deadline is checked. Existing timeouts are unchanged.

Validation: 33 release-tool tests passed, public-content validation passed, Swift syntax parsing passed, and git diff --check passed. Swift integration and packaging validation run in CI. No release is requested.

Run the real MCP executable tests as a serialized suite in a separate
required validation phase, keeping concurrent session admission inside
its test. The default concurrent suite includes synchronous executor
saturation and compiler fixtures, which can starve HTTP callbacks past
their existing deadlines. Include the executable suite in staged and
unpacked release acceptance.

Capture HTTP server output in files, require the configured server to
answer before connecting, and read buffered socket headers before
checking a pending receive deadline.
@showxu
showxu merged commit 0f3e7c3 into master Oct 5, 2026
2 checks passed
@showxu
showxu deleted the fix/mcp-http-test-isolation branch October 5, 2026 10:01
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