Skip to content

feat(spec): blueprint dashboard widget condition slot (threshold/status filter) #7306

feat(spec): blueprint dashboard widget condition slot (threshold/status filter)

feat(spec): blueprint dashboard widget condition slot (threshold/status filter) #7306

Triggered via pull request June 27, 2026 14:36
Status Failure
Total duration 6m 32s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Test Core
Process completed with exit code 1.
Test Core
@objectstack/spec#test: command (/home/runner/work/framework/framework/packages/spec) /opt/hostedtoolcache/node/20.20.2/x64/bin/pnpm run test exited (1)
src/ai/solution-blueprint.test.ts > SolutionBlueprintStrictSchema (OpenAI strict mirror) > accepts a dashboard widget carrying the (nullable) measure + groupBy keys: packages/spec/src/ai/solution-blueprint.test.ts#L228
ZodError: [ { "expected": "object", "code": "invalid_type", "path": [ "dashboards", 0, "widgets", 0, "condition" ], "message": "Invalid input: expected object, received undefined" }, { "expected": "object", "code": "invalid_type", "path": [ "dashboards", 0, "widgets", 1, "condition" ], "message": "Invalid input: expected object, received undefined" } ] ❯ src/ai/solution-blueprint.test.ts:228:50 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { _zod: { def: [ { expected: 'object', code: 'invalid_type', path: [ 'dashboards', +0, 'widgets', +0, 'condition' ], message: 'Invalid input: expected object, received undefined' }, { expected: 'object', code: 'invalid_type', path: [ 'dashboards', +0, 'widgets', 1, 'condition' ], message: 'Invalid input: expected object, 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: 'object', code: 'invalid_type', path: [ 'dashboards', +0, 'widgets', +0, 'condition' ], message: 'Invalid input: expected object, received undefined' }, { expected: 'object', code: 'invalid_type', path: [ 'dashboards', +0, 'widgets', 1, 'condition' ], message: 'Invalid input: expected object, received undefined' } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }

Artifacts

Produced during runtime
Name Size Digest
build-output
9.98 MB
sha256:fc84497dde12c1c08bfb42ce0f7a445742c4acb95e2c9439f781875c20f6fc6e