Problem
objectstack build accepts metadata that the runtime then rejects, so "CI green" does not guarantee "boots".
Repro (observed on 9.5.1)
- Dashboard widgets in the legacy
object/aggregate shape pass objectstack build but the runtime com.objectstack.metadata plugin rejects them (requires dataset/values), so the app fails to start.
- A hook handler referencing a module-scope helper passes build, then throws
ReferenceError at runtime (handler ships body-only).
Expected
Build validates against the same schema/rules the runtime enforces. "build clean" ⇒ "boot clean".
Affected
@objectstack/cli (build) ↔ @objectstack/metadata runtime schema.
Found while runtime-testing objectstack-ai/templates (all 9 templates via objectstack dev all) on @objectstack 9.5.1. Build + typecheck pass; these only surface at runtime.
Problem
objectstack buildaccepts metadata that the runtime then rejects, so "CI green" does not guarantee "boots".Repro (observed on 9.5.1)
object/aggregateshape passobjectstack buildbut the runtimecom.objectstack.metadataplugin rejects them (requiresdataset/values), so the app fails to start.ReferenceErrorat runtime (handler ships body-only).Expected
Build validates against the same schema/rules the runtime enforces. "build clean" ⇒ "boot clean".
Affected
@objectstack/cli(build) ↔@objectstack/metadataruntime schema.Found while runtime-testing
objectstack-ai/templates(all 9 templates viaobjectstack dev all) on@objectstack9.5.1. Build + typecheck pass; these only surface at runtime.