Skip to content

Handle tool and permission broadcasts via event model (protocol v3) #552

Handle tool and permission broadcasts via event model (protocol v3)

Handle tool and permission broadcasts via event model (protocol v3) #552

Triggered via pull request March 7, 2026 11:58
Status Failure
Total duration 2m 15s
Artifacts

nodejs-sdk-tests.yml

on: pull_request
Matrix: Node.js SDK Tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Node.js SDK Tests (ubuntu-latest)
Process completed with exit code 1.
Unhandled error: nodejs/src/generated/rpc.ts#L563
Error: Connection is disposed. ❯ throwIfClosedOrDisposed node_modules/vscode-jsonrpc/lib/common/connection.js:832:19 ❯ Object.sendRequest node_modules/vscode-jsonrpc/lib/common/connection.js:1000:13 ❯ Object.handlePendingToolCall src/generated/rpc.ts:563:28 ❯ CopilotSession._executeToolAndRespond src/session.ts:378:34 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 2 } This error originated in "test/e2e/multi-client.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "disconnecting client removes its tools". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}
Node.js SDK Tests (macos-latest): nodejs/test/e2e/builtin_tools.test.ts#L0
No cached response found for POST /chat/completions. Final message: {"role":"tool","tool_call_id":"toolcall_1","content":"./src/app.ts\n./src/index.ts"}