stack/apps
mantrakp04 1a8e38e511 Sync stale SpacetimeDB bindings with requestId and add structural drift test
The server schema added `qa_entries.requestId` (4th column) and
`add_manual_qa.requestId` (6th arg) on May 11 but the auto-generated client
bindings were last regenerated on May 5 and never picked up the new field.
Because BSATN is positional, every column after position 3 in
`my_visible_qa_entries` would deserialize one slot off (question bytes read as
answer, etc.) once the new schema is published — corrupting the Knowledge Base
view in the internal-tool.

Add `requestId` to `my_visible_qa_entries_table.ts`, `types.ts:QaEntries`, and
`add_manual_qa_reducer.ts` in the same positions the codegen would produce,
plus a structural test that parses both the server schema and the generated
bindings and asserts field/arg orders match. The test fails on the prior
state with the exact missing-`requestId` diff and passes after the patch,
catching any future drift in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-23 11:01:50 -07:00
..
backend Sync stale SpacetimeDB bindings with requestId and add structural drift test 2026-05-23 11:01:50 -07:00
dashboard Merge branch 'dev' into HEAD 2026-05-23 10:27:20 -07:00
dev-launchpad chore: update package versions 2026-05-23 16:45:36 +00:00
e2e Merge branch 'dev' into HEAD 2026-05-23 10:27:20 -07:00
hosted-components chore: update package versions 2026-05-23 16:45:36 +00:00
internal-tool Sync stale SpacetimeDB bindings with requestId and add structural drift test 2026-05-23 11:01:50 -07:00
mcp Merge branch 'dev' into HEAD 2026-05-23 10:27:20 -07:00
mock-oauth-server chore: update package versions 2026-05-23 16:45:36 +00:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
skills chore: update package versions 2026-05-23 16:45:36 +00:00