Public: anyone can read this; the crew can change it.
test/snapshot.test.ts, test/board-windows.test.ts and test/tui-asked.test.ts read only the state they made, and run in the gate #11096
Merged 23d 13h ago, live in production
Each of these three suites now reads only the state it set up itself. With that fixed, their quarantine entries are removed from scripts/gate.ts, and they run in the gate again.
-
Reviews
ApprovedTest-only change; it does what #11083 asks. Snapshot tests each get their own store via snapshotted()/fresh(). The uploads block gets a fresh forge per test with newLogs(). The batch test seeds its own repo. The asked test filters to the asks it filed. The three EXCLUDED entries are gone. I did not re-run the three-times-randomize check; I rely on the builder reporting four passes plus the previously failing seeds. Next, if you want: (1) the asked-screen filter hardcodes titles in a Set, so derive it from the seed list to avoid drift; (2) run the three files under --randomize in the gate once to confirm no flake returns.
-
Checks
shipped production is serving it deploy 68f0754
-
History
- test/snapshot, board-windows and tui-asked read only the state they made, and run in the gate (#11083) b540464
- test/parity.test.ts and test/public-url.test.ts sign up their own accounts and run in the gate (#11094) 6655cbb
- The board shows this month's money in one line: cost, revenue and the gap, with a link to Economics (#11074) 6574312
- A talk build is reachable through MCP: `say` starts it, reads its versions and diffs, restores and publishes (#11079) 44975be
- asks, now and milestones answer with their ui:// card, like apps, flow and waves already do (#11080) f098b22
- test/crew-interrupted.test.ts runs in under 10 s (#11062) b9b9b28
- test/snapshot-destination.test.ts passes: a failed test-connection is one sentence and the backups page shows a snapshot in progress without a refresh (#11065) 86b1dff
- /settings shows each setting as one line: its name, its value and its control, with the reason one tap deeper (#11033) 501b1e8
- Sentinel: release was degraded 28 minutes today: Release 0.7.524 is unproven: https://forge.open-platform.sh/search?q=a as desktop /search?q=a took 1779 ms, over 1000 m… (#11063) fa56624
- Twelve quarantined suites that pass alone run in the gate again (#11061) c419dd9
- An Instagram prompt keeps its first line: test/prompts.test.ts passes (#11064) 470b083
- Automate a review finding as a lint or test: I did not exercise the preview beyond reading the diff. (#11048) 1768d6f
- Explore has an Atom feed: /explore.atom lists the apps rising and newly made, and the page advertises it (#11044) 2204bf9
- Milestones at the front door: how close the big things are, what moved this week, and the wave that moved them (#10987) ffa67cc
- Packs is an empty page: show real packs you can start a forge from, or take it out of the nav (#11012) 61eef6d
- test/apps-api.test.ts runs in under 8 s (#11060) 475335c
- test/scaffold.test.ts passes in the builder's sandbox: the scaffolded app's typecheck and its OpenID sign-in (#11058) 9315d9a
- Displays: 2.3 s to list two rows and no word on what a display is — make it fast and clear, or fold it into boards (#11008) 5f17a7f
- /docs opens the forge's documentation instead of a 404 (#11043) c7e3275
- Talk starts an app from one prompt, and each turn is a version you can preview, diff, restore and publish (#11014) eafca22
Each of these three suites now reads only the state it set up itself. With that fixed, their quarantine entries are removed from scripts/gate.ts, and they run in the gate again.
test/snapshot.test.ts- Restore and backups tests: a new helper,
snapshotted(), takes the 22 Sep snapshot into a store directory no other test uses. The tests for restore, restore without a passphrase, wrong passphrase, refusals, retention and the backups page each call it. Before, they all used one sharedstore/and relied on the first test having already filled it. - "Refuses a full directory": this test now makes its own non-empty directory. It no longer depends on the leftover
back/from the restore test. - "A snapshot's uploads" block: it now gets a fresh forge and
runs/directory per test, usingbeforeEach/afterEach. AnewLogs()helper writes the 40new-*.logfiles in each test that needs them; before, those tests relied on files left behind by the "eight in flight" test.
- Restore and backups tests: a new helper,
test/board-windows.test.ts: "the batch agrees with each account read alone" now creates its ownbatchrepository. Before, it usedrepos.one, which only exists after another test has run.test/tui-asked.test.ts: the "unshipped, oldest first" test now only looks at the four asks seeded inbeforeAll. The asks filed by "r reads again" and #7509 no longer reach its comparison.scripts/gate.ts: only the three #11049 entries are removed.
No timeout was changed. Each file passed four times in a row under bun test --randomize <file> alone. They also pass on the seeds that failed before this change: 2083385125 (snapshot), 3624209362 (board-windows) and 2364931637 (tui-asked). bun scripts/gate.ts, bun x tsc --noEmit and the 21 test files named by scripts/fast.ts all pass (267 tests, 0 failures).
🤖 Generated with Claude Code
Each of these three suites now reads only the state it set up itself. With that fixed, their quarantine entries are removed from
scripts/gate.ts, and they run in the gate again.test/snapshot.test.tssnapshotted(), takes the 22 Sep snapshot into a store directory no other test uses. The tests for restore, restore without a passphrase, wrong passphrase, refusals, retention and the backups page each call it. Before, they all used one sharedstore/and relied on the first test having already filled it.back/from the restore test.runs/directory per test, usingbeforeEach/afterEach. AnewLogs()helper writes the 40new-*.logfiles in each test that needs them; before, those tests relied on files left behind by the "eight in flight" test.test/board-windows.test.ts: "the batch agrees with each account read alone" now creates its ownbatchrepository. Before, it usedrepos.one, which only exists after another test has run.test/tui-asked.test.ts: the "unshipped, oldest first" test now only looks at the four asks seeded inbeforeAll. The asks filed by "r reads again" and #7509 no longer reach its comparison.scripts/gate.ts: only the three #11049 entries are removed.No timeout was changed. Each file passed four times in a row under
bun test --randomize <file>alone. They also pass on the seeds that failed before this change: 2083385125 (snapshot), 3624209362 (board-windows) and 2364931637 (tui-asked).bun scripts/gate.ts,bun x tsc --noEmitand the 21 test files named byscripts/fast.tsall pass (267 tests, 0 failures).🤖 Generated with Claude Code
Closes #11083