Ensure stdio client closes underlying process #2507
main.yml
on: pull_request
Matrix: test
build
21s
publish
0s
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 }
|