Running Copilot coding agent #368
Annotations
1 error
|
src/api/registry.test.ts > API Registry Protocol > ApiRegistrySchema > should support grouping by type:
packages/spec/src/api/registry.test.ts#L505
ZodError: [
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"odata"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"websocket"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"file"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"auth"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"metadata"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"plugin"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"webhook"
],
"message": "Invalid input: expected array, received undefined"
},
{
"expected": "array",
"code": "invalid_type",
"path": [
"byType",
"rpc"
],
"message": "Invalid input: expected array, received undefined"
}
]
❯ src/api/registry.test.ts:505:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _zod: { def: [ { expected: 'array', code: 'invalid_type', path: [ 'byType', 'odata' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'websocket' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'file' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'auth' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'metadata' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'plugin' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'webhook' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'rpc' ], message: 'Invalid input: expected array, received undefined' } ], constr: 'Function<ZodError>', traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>' }, deferred: [] }, issues: [ { expected: 'array', code: 'invalid_type', path: [ 'byType', 'odata' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'websocket' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'file' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'auth' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'metadata' ], message: 'Invalid input: expected array, received undefined' }, { expected: 'array', code: 'invalid_type', path: [ 'byType', 'plugin' ], message: 'Invalid input: expec
|