Skip to content

Ensure stdio client closes underlying process #2519

Ensure stdio client closes underlying process

Ensure stdio client closes underlying process #2519

Triggered via pull request November 28, 2025 13:42
Status Failure
Total duration 36s
Artifacts

main.yml

on: pull_request
Matrix: test
publish
publish
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test (24)
Process completed with exit code 1.
src/integration-tests/process-cleanup.test.ts > Process cleanup > onclose should be called exactly once: src/types.ts#L2077
McpError: MCP error -32000: Connection closed ❯ McpError.fromError src/types.ts:2077:16 ❯ Client._onclose src/shared/protocol.ts:626:32 ❯ StdioClientTransport._transport.onclose src/shared/protocol.ts:593:18 ❯ ChildProcess.<anonymous> src/client/stdio.ts:150:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: -32000, data: undefined }
test (18)
Process completed with exit code 1.
src/integration-tests/process-cleanup.test.ts > Process cleanup > onclose should be called exactly once: src/types.ts#L2077
McpError: MCP error -32000: Connection closed ❯ Function.fromError src/types.ts:2077:16 ❯ Client._onclose src/shared/protocol.ts:626:32 ❯ StdioClientTransport._transport.onclose src/shared/protocol.ts:593:18 ❯ ChildProcess.<anonymous> src/client/stdio.ts:150:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: -32000, data: undefined }