Skip to content

Ensure stdio client closes underlying process #2507

Ensure stdio client closes underlying process

Ensure stdio client closes underlying process #2507

Triggered via pull request November 28, 2025 11:59
Status Failure
Total duration 30s
Artifacts

main.yml

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

Annotations

6 errors
build
Process completed with exit code 1.
build: src/integration-tests/process-cleanup.test.ts#L1
Prefer `node:stream` over `stream`
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 }