feat(dev): dev server pairing and seed utilities #4557
Closed
t3dotgg(GitHub profile, opens in a new tab)wants to merge 30 commits into
main fromagent/dev-utilities·opened View on GitHubShowing 27 changed files with 13 additions and 16 deletions (loading 24).
x
2 additions and 0 deletions+2-0.agents/skills/test-t3-app/references/sqlite-fixtures.mdModifiedView file
@@ -49,6 +49,8 @@
+`projection_state` holds one cursor row per projector and is not read by the UI, but a fixture that omits it still breaks: `computeSnapshotSequence` returns 0 unless every projector has a row, which makes every shell snapshot advertise sequence 0. Write all of them (`PROJECTOR_NAMES` in `scripts/lib/projection-tables.ts`), at a sequence no higher than the event log actually reaches.
+
@@ -13,7 +13,7 @@
-3. Start the full web stack with `vp run dev`. Add `--share` when the user needs to open it from another tailnet device. In a linked worktree it defaults to that worktree's gitignored `.t3`; pass `--home-dir <base-dir>` only when the test needs a different isolated directory.
+3. Start the full web stack with `bun run dev`. Use `bun run dev:share` when the user needs to open it from another tailnet device. In a linked worktree it defaults to that worktree's gitignored `.t3`; pass `--home-dir <base-dir>` only when the test needs a different isolated directory.
@@ -54,26 +54,23 @@
-Create another token against the same database and web URL as the running dev server:
+Ask the running server for a fresh pairing URL: