Skip to content

feat(ai,ui): unify cost tracking and chart type taxonomy #1117

feat(ai,ui): unify cost tracking and chart type taxonomy

feat(ai,ui): unify cost tracking and chart type taxonomy #1117

Re-run triggered January 30, 2026 16:13
Status Failure
Total duration 41s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
src/data/external-lookup.test.ts > FieldMappingSchema > should accept various field types: packages/spec/src/data/external-lookup.test.ts#L175
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\": [ \"source\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"target\" ], \"message\": \"Required\" } ]" ❯ src/data/external-lookup.test.ts:175:59 ❯ src/data/external-lookup.test.ts:168:11
src/data/external-lookup.test.ts > FieldMappingSchema > should accept writable field mapping: packages/spec/src/data/external-lookup.test.ts#L162
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\": [ \"source\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"target\" ], \"message\": \"Required\" } ]" ❯ src/data/external-lookup.test.ts:162:65
src/data/external-lookup.test.ts > FieldMappingSchema > should default readonly to true: packages/spec/src/data/external-lookup.test.ts#L150
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/data/external-lookup.test.ts:150: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/data/external-lookup.test.ts > FieldMappingSchema > should accept minimal field mapping: packages/spec/src/data/external-lookup.test.ts#L140
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\": [ \"source\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"target\" ], \"message\": \"Required\" } ]" ❯ src/data/external-lookup.test.ts:140:64
src/data/external-lookup.test.ts > FieldMappingSchema > should validate complete field mapping: packages/spec/src/data/external-lookup.test.ts#L130
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\": [ \"source\" ], \"message\": \"Required\" }, { \"code\": \"invalid_type\", \"expected\": \"string\", \"received\": \"undefined\", \"path\": [ \"target\" ], \"message\": \"Required\" } ]" ❯ src/data/external-lookup.test.ts:130:62
src/automation/workflow.test.ts > WorkflowActionSchema > should accept webhook trigger action: packages/spec/src/automation/workflow.test.ts#L477
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown - Expected: undefined + Received: "[ { \"code\": \"invalid_type\", \"expected\": \"object\", \"received\": \"undefined\", \"path\": [ \"config\" ], \"message\": \"Required\" } ]" ❯ src/automation/workflow.test.ts:477:58
src/auth/config.test.ts > EnterpriseAuthConfigSchema > should accept empty enterprise config: packages/spec/src/auth/config.test.ts#L493
AssertionError: expected [Function] to not throw an error but 'ReferenceError: EnterpriseApplication…' was thrown - Expected: undefined + Received: "ReferenceError: EnterpriseApplicationAuthConfigSchema is not defined" ❯ src/auth/config.test.ts:493:75
src/auth/config.test.ts > EnterpriseAuthConfigSchema > should accept partial enterprise config: packages/spec/src/auth/config.test.ts#L488
AssertionError: expected [Function] to not throw an error but 'ReferenceError: EnterpriseApplication…' was thrown - Expected: undefined + Received: "ReferenceError: EnterpriseApplicationAuthConfigSchema is not defined" ❯ src/auth/config.test.ts:488:75
src/auth/config.test.ts > EnterpriseAuthConfigSchema > should accept enterprise config with all providers: packages/spec/src/auth/config.test.ts#L475
AssertionError: expected [Function] to not throw an error but 'ReferenceError: EnterpriseApplication…' was thrown - Expected: undefined + Received: "ReferenceError: EnterpriseApplicationAuthConfigSchema is not defined" ❯ src/auth/config.test.ts:475:75
src/ai/conversation.test.ts > Real-World Conversation Examples > should accept long customer support conversation: packages/spec/src/ai/conversation.test.ts#L540
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown - Expected: undefined + Received: "[ { \"code\": \"invalid_type\", \"expected\": \"number\", \"received\": \"undefined\", \"path\": [ \"messages\", 1, \"tokens\", \"completion\" ], \"message\": \"Required\" } ]" ❯ src/ai/conversation.test.ts:540:64
Build
Process completed with exit code 2.
Build
Type '{ level: "error" | "info" | "debug" | "warn" | "fatal"; format: "text" | "json" | "pretty"; redact: string[]; sourceLocation: boolean; file: string | undefined; rotation: { maxSize: string; maxFiles: number; }; }' is not assignable to type 'Required<Omit<{ redact: string[]; format: "text" | "json" | "pretty"; level: "error" | "info" | "debug" | "warn" | "fatal"; sourceLocation: boolean; file?: string | undefined; name?: string | undefined; rotation?: { ...; } | undefined; }, "file" | "rotation">> & { ...; }'.