Running Copilot coding agent #294
Annotations
9 errors
|
src/ui/dashboard.test.ts > DashboardSchema > Real-World Dashboard Examples > should accept executive dashboard with mixed widgets:
packages/spec/src/ui/dashboard.test.ts#L439
AssertionError: expected [Function] to not throw an error but '[\n {\n "received": "text",\n …' was thrown
- Expected:
undefined
+ Received:
"[
{
\"received\": \"text\",
\"code\": \"invalid_enum_value\",
\"options\": [
\"bar\",
\"horizontal-bar\",
\"column\",
\"grouped-bar\",
\"stacked-bar\",
\"line\",
\"area\",
\"stacked-area\",
\"step-line\",
\"pie\",
\"donut\",
\"funnel\",
\"scatter\",
\"bubble\",
\"treemap\",
\"sunburst\",
\"sankey\",
\"gauge\",
\"metric\",
\"kpi\",
\"choropleth\",
\"bubble-map\",
\"heatmap\",
\"radar\",
\"waterfall\",
\"box-plot\",
\"violin\",
\"table\",
\"pivot\"
],
\"path\": [
\"widgets\",
5,
\"type\"
],
\"message\": \"Invalid enum value. Expected 'bar' | 'horizontal-bar' | 'column' | 'grouped-bar' | 'stacked-bar' | 'line' | 'area' | 'stacked-area' | 'step-line' | 'pie' | 'donut' | 'funnel' | 'scatter' | 'bubble' | 'treemap' | 'sunburst' | 'sankey' | 'gauge' | 'metric' | 'kpi' | 'choropleth' | 'bubble-map' | 'heatmap' | 'radar' | 'waterfall' | 'box-plot' | 'violin' | 'table' | 'pivot', received 'text'\"
}
]"
❯ src/ui/dashboard.test.ts:439:67
|
|
src/ui/dashboard.test.ts > DashboardWidgetSchema > should accept text widget:
packages/spec/src/ui/dashboard.test.ts#L161
AssertionError: expected [Function] to not throw an error but '[\n {\n "received": "text",\n …' was thrown
- Expected:
undefined
+ Received:
"[
{
\"received\": \"text\",
\"code\": \"invalid_enum_value\",
\"options\": [
\"bar\",
\"horizontal-bar\",
\"column\",
\"grouped-bar\",
\"stacked-bar\",
\"line\",
\"area\",
\"stacked-area\",
\"step-line\",
\"pie\",
\"donut\",
\"funnel\",
\"scatter\",
\"bubble\",
\"treemap\",
\"sunburst\",
\"sankey\",
\"gauge\",
\"metric\",
\"kpi\",
\"choropleth\",
\"bubble-map\",
\"heatmap\",
\"radar\",
\"waterfall\",
\"box-plot\",
\"violin\",
\"table\",
\"pivot\"
],
\"path\": [
\"type\"
],
\"message\": \"Invalid enum value. Expected 'bar' | 'horizontal-bar' | 'column' | 'grouped-bar' | 'stacked-bar' | 'line' | 'area' | 'stacked-area' | 'step-line' | 'pie' | 'donut' | 'funnel' | 'scatter' | 'bubble' | 'treemap' | 'sunburst' | 'sankey' | 'gauge' | 'metric' | 'kpi' | 'choropleth' | 'bubble-map' | 'heatmap' | 'radar' | 'waterfall' | 'box-plot' | 'violin' | 'table' | 'pivot', received 'text'\"
}
]"
❯ src/ui/dashboard.test.ts:161:59
|
|
src/integration/connector.test.ts > Connector Integration > should create a complete SaaS connector:
packages/spec/src/integration/connector.test.ts#L630
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
0,
"source"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
0,
"target"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
1,
"source"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
1,
"target"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:630:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'target' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', 1, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', 1, 'target' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'target' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', 1, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', 1, 'target' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { fieldMappings: [ 'Required', 'Required', 'Required', 'Required' ] } } }
|
|
src/integration/connector.test.ts > ConnectorSchema > should accept connector with all fields:
packages/spec/src/integration/connector.test.ts#L505
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
0,
"source"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"fieldMappings",
0,
"target"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"webhooks",
0,
"name"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:505:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'target' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'webhooks', +0, 'name' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'fieldMappings', +0, 'target' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'webhooks', +0, 'name' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { fieldMappings: [ 'Required', 'Required' ], webhooks: [ 'Required' ] } } }
|
|
src/integration/connector.test.ts > WebhookConfigSchema > should use default values:
packages/spec/src/integration/connector.test.ts#L351
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"name"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:351:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { name: [ 'Required' ] } } }
|
|
src/integration/connector.test.ts > WebhookConfigSchema > should accept webhook with retry configuration:
packages/spec/src/integration/connector.test.ts#L341
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"name"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:341:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'name' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { name: [ 'Required' ] } } }
|
|
src/integration/connector.test.ts > WebhookConfigSchema > should accept valid webhook configuration:
packages/spec/src/integration/connector.test.ts#L327
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"string\",
\"received\": \"undefined\",
\"path\": [
\"name\"
],
\"message\": \"Required\"
}
]"
❯ src/integration/connector.test.ts:327:58
|
|
src/integration/connector.test.ts > FieldMappingSchema > should use default values:
packages/spec/src/integration/connector.test.ts#L269
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"source"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"target"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:269:39
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'target' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'target' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { source: [ 'Required' ], target: [ 'Required' ] } } }
|
|
src/integration/connector.test.ts > FieldMappingSchema > should accept field with transformation:
packages/spec/src/integration/connector.test.ts#L259
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"source"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"target"
],
"message": "Required"
},
{
"code": "invalid_union_discriminator",
"options": [
"constant",
"cast",
"lookup",
"javascript",
"map"
],
"path": [
"transform",
"type"
],
"message": "Invalid discriminator value. Expected 'constant' | 'cast' | 'lookup' | 'javascript' | 'map'"
}
]
❯ Object.get error [as error] ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js:114:22
❯ src/integration/connector.test.ts:259:39
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'target' ], message: 'Required' }, { code: 'invalid_union_discriminator', options: [ 'constant', 'cast', 'lookup', 'javascript', 'map' ], path: [ 'transform', 'type' ], message: 'Invalid discriminator value. Expected \'constant\' | \'cast\' | \'lookup\' | \'javascript\' | \'map\'' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'source' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'target' ], message: 'Required' }, { code: 'invalid_union_discriminator', options: [ 'constant', 'cast', 'lookup', 'javascript', 'map' ], path: [ 'transform', 'type' ], message: 'Invalid discriminator value. Expected \'constant\' | \'cast\' | \'lookup\' | \'javascript\' | \'map\'' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { source: [ 'Required' ], target: [ 'Required' ], transform: [ 'Invalid discriminator value. Expected \'constant\' | \'cast\' | \'lookup\' | \'javascript\' | \'map\'' ] } } }
|