feat: zod v4 with backwards compatibility for v3.25+ #2263
main.yml
on: pull_request
Matrix: test
build
14s
publish
0s
Annotations
13 errors
|
build:
src/spec.types.test.ts#L130
Type 'CallToolRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; name: string; arguments?: { [x: string]: unknown; } | undefined; }'.
|
|
build:
src/spec.types.test.ts#L126
Type 'GetPromptRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; name: string; arguments?: { [x: string]: string; } | undefined; }'.
|
|
build:
src/spec.types.test.ts#L122
Type 'ResourceUpdatedNotificationParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; uri: string; }'.
|
|
build:
src/spec.types.test.ts#L115
Type 'UnsubscribeRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }'.
|
|
build:
src/spec.types.test.ts#L111
Type 'SubscribeRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }'.
|
|
build:
src/spec.types.test.ts#L107
Type 'ReadResourceRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }'.
|
|
build:
src/spec.types.test.ts#L103
Type 'ResourceRequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; uri: string; }'.
|
|
build:
src/spec.types.test.ts#L88
Type 'CancelledNotificationParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; requestId: string | number; reason?: string | undefined; }'.
|
|
build:
src/spec.types.test.ts#L84
Type 'NotificationParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; }'.
|
|
build:
src/spec.types.test.ts#L80
Type 'RequestParams' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; }'.
|
|
test (18)
Process completed with exit code 1.
|
|
src/integration-tests/v3/taskResumability.v3.test.ts > Transport resumability > should resume long-running notifications with lastEventId:
src/integration-tests/v3/taskResumability.v3.test.ts#L200
AssertionError: expected 0 to be greater than 0
❯ src/integration-tests/v3/taskResumability.v3.test.ts:200:38
|
|
src/integration-tests/taskResumability.test.ts > Transport resumability > should resume long-running notifications with lastEventId:
src/integration-tests/taskResumability.test.ts#L200
AssertionError: expected 0 to be greater than 0
❯ src/integration-tests/taskResumability.test.ts:200:38
|