feat: generate schemas from types, improve type definitions #2861
main.yml
on: pull_request
Matrix: test
build
14s
publish
0s
Annotations
11 errors
|
build
Process completed with exit code 2.
|
|
build:
test/server/stdio.test.ts#L92
Property 'method' does not exist on type 'JSONRPCMessage'.
|
|
build:
test/server/stdio.test.ts#L92
Property 'method' does not exist on type 'JSONRPCMessage'.
|
|
build:
test/client/stdio.test.ts#L57
Property 'method' does not exist on type 'JSONRPCMessage'.
|
|
build:
test/client/stdio.test.ts#L57
Property 'method' does not exist on type 'JSONRPCMessage'.
|
|
test (18)
Process completed with exit code 1.
|
|
test/server/elicitation.test.ts > Elicitation Flow > with CfWorker validator > CfWorker: should default missing fields from schema defaults:
src/types.ts#L730
McpError: MCP error -32603: expected { type: 'object', …(2) } to deeply equal { type: 'object', …(2) }
❯ Function.fromError src/types.ts:730:16
❯ Server._onresponse src/shared/protocol.ts:903:36
❯ InMemoryTransport._transport.onmessage src/shared/protocol.ts:623:22
❯ InMemoryTransport.send src/inMemory.ts:58:34
❯ src/shared/protocol.ts:819:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: -32603, data: undefined }
|
|
test/server/elicitation.test.ts > Elicitation Flow > with AJV validator > AJV: should default missing fields from schema defaults:
src/types.ts#L730
McpError: MCP error -32603: expected { type: 'object', …(2) } to deeply equal { type: 'object', …(2) }
❯ Function.fromError src/types.ts:730:16
❯ Server._onresponse src/shared/protocol.ts:903:36
❯ InMemoryTransport._transport.onmessage src/shared/protocol.ts:623:22
❯ InMemoryTransport.send src/inMemory.ts:58:34
❯ src/shared/protocol.ts:819:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: -32603, data: undefined }
|
|
test (24)
Process completed with exit code 1.
|
|
test/server/elicitation.test.ts > Elicitation Flow > with CfWorker validator > CfWorker: should default missing fields from schema defaults:
src/types.ts#L730
McpError: MCP error -32603: expected { type: 'object', …(2) } to deeply equal { type: 'object', …(2) }
❯ McpError.fromError src/types.ts:730:16
❯ Server._onresponse src/shared/protocol.ts:903:36
❯ InMemoryTransport._transport.onmessage src/shared/protocol.ts:623:22
❯ InMemoryTransport.send src/inMemory.ts:58:34
❯ src/shared/protocol.ts:819:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: -32603, data: undefined }
|
|
test/server/elicitation.test.ts > Elicitation Flow > with AJV validator > AJV: should default missing fields from schema defaults:
src/types.ts#L730
McpError: MCP error -32603: expected { type: 'object', …(2) } to deeply equal { type: 'object', …(2) }
❯ McpError.fromError src/types.ts:730:16
❯ Server._onresponse src/shared/protocol.ts:903:36
❯ InMemoryTransport._transport.onmessage src/shared/protocol.ts:623:22
❯ InMemoryTransport.send src/inMemory.ts:58:34
❯ src/shared/protocol.ts:819:50
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: -32603, data: undefined }
|