feat(spec): blueprint dashboard widget condition slot (threshold/status filter)
#7306
ci.yml
on: pull_request
filter
7s
Test Core
1m 9s
Dogfood Regression Gate
6m 19s
Build Core
4m 48s
Build Docs
0s
Check Skill Docs
0s
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
|
|