Handle tool and permission broadcasts via event model (protocol v3) #553
Annotations
2 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.
|