Classification: Eval problem
Confidence: Low
What the model wrote:
const line_item = table({ public: true }, { ... });
export const order_line_detail = spacetimedb.anonymousView(
{ public: true },
t.array(t.object('OrderLineDetail', { ... })), ...
export const seed = spacetimedb.reducer({}, ctx => { ... });
export const source_view = spacetimedb.anonymousView(
{ public: true },
t.array(t.row({ id: t.u64().primaryKey(), value: t.string(), visible: t.bool() })), ...
What was expected:
const lineItem = table({ name: 'line_item', public: true }, { ... });
const OrderLineDetail = t.row('ThreeTableJoinRow', { ... });
spacetimedb.anonymousView({ name: 'order_line_detail', public: true }, t.array(OrderLineDetail), ...)
const SourceViewRow = t.row('SourceViewRow', { id: t.u64().primaryKey(), value: t.string(), visible: t.bool().index('btree') });
const sourceRow = table({ name: 'source_row', public: true }, SourceViewRow);
spacetimedb.anonymousView({ name: 'source_view', public: true }, t.array(SourceViewRow), ...)
What the error says: publish_error: spacetime publish (typescript) failed (exit=1), followed only by "Saving config to …". No diagnostic identifies the offending construct.
Why this happened: The generated code differs from the golden answers in several places, and any of these could be the cause:
- Tables and views have no
name option.
- The return row type uses
t.object in t_061 and an unnamed t.row in t_067.
- The t_067 view row is not shared with its source table.
- t_067 uses
reducer({}, ...).
These are most likely model mistakes made without documentation. However, the truncated stderr makes it impossible to say which construct the publisher rejected. That prevents a reliable attribution, and the same truncation affects every task in this run.
Suggested action: Have the harness capture and report the full spacetime publish stderr, so that view and schema publish failures can be attributed to a specific construct.
Suggested area: Benchmark harness publish-error reporting
Affected tasks: t_061_three_table_join, t_067_view_primary_key