Public: anyone can read this; the crew can change it.
The Talk phone fixture is each file's own, so two Talk files in one --no-isolate worker both get a server and a browser #17556
Merged 16h 49m ago, live in production
"chromium: Target.createBrowserContext took longer than 5000 ms". Reproduced in a runner container (Bun 1.4.5), on main as well as on #17213: bun test --no-isolate test/talk-phone-375.test.ts test/talk-phone-360.test.ts gives 8 pass, 8 fail.
-
Reviews
ApprovedThe fix is right. Hooks at module top level registered once per process, so under --no-isolate the second Talk file got no fixture. Registering them per file through talkPhoneFixture() fixes that. The reset of
browserin afterAll keeps the next file from reusing a closed browser. The test-only change adds no dependency and touches no product surface, so no doors or docs apply.Two things I would do next:
- Indent the body of talkPhoneFixture() in test/helpers/talk-phone.ts. It is currently flush left inside the function, which reads as top-level code and invites the same mistake again.
- Add a guard so a second call to talkPhoneFixture() in one file throws. widthTests() already calls it, so a width file that also calls it by name would register the hooks twice.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- The Talk phone fixture is each file's own, so two Talk files in one --no-isolate worker both get a server and a browser bac3808
- Games G6: "give me a new void world with FAWE and bedwars": world presets as one planned commit (#17309) 3bd54e5
- Flaky test: a real child forge > boots in its own forge:<name> cell and answers / through the forward; its first request is held until it is up (#17553) 5434956
- A parallel test run restarts its workers every 100 files: batches of workers x 100, one after another (#17537) cfd8259
- A delegated cell's pids.max counts threads, so it's TASKS_MAX; the watch still stops at 512 processes (#17540) 10c7e61
- Talk: a new app's answer, made at once or after the person's yes, is the forge's own words and raises no fence (#17550) f00f3a5
- The nightly release was held: tests failed on 83fb65ebe (#17547) 715a205
- Merge pull request #17544 from sold/templates-track ec3e55e
- The terminal's Templates is busy until its README sentences and dates are read 14f59d7
- A held fetch judges each round's haves together: three git processes a round, not three a have (#17539) 83fb65e
- A runner waits out a forge restart before handing a fetch back: its git door's 404 is retried while the job is its own (#17542) e0c24db
- Making a new app starts the crew on it: "Choose for me" seats a crew and the… (#17513) ea6f12c
- A commit is written by one git fast-import and landed by one update-ref: two git processes instead of six (#17526) aefaf51
- Games G1: Modrinth, done properly: search with a compatibility badge, dependency preview, a locked install, updates (#17293) 07aa752
- A test file that reads a ratchet list names the one line to edit when it fails (#17538) 9b542ac
- A pull's review verdicts are 44 px targets under a finger: room before each radio, inside its label (#17530) b3c859f
- Talk: a message sent while the forge boots says it is starting, never "agent is not running" (#17518) 5556e83
- Talk: the Preview pane shows the conversation's own work, or nothing yet, never a repository it only read (#17517) 18aeb4d
- Talk: the agent says the Do it buttons are above the message box, and calls a name it picked its pick (#17516) 69778db
- scripts/design-lint.ts runs the empty-words and width-read ratchets, so a builder sees them before the push (#17531) 57d706a
#17213's check went red on 35 tests, most of them Talk on a phone, all at 5 s: "chromium: Target.createBrowserContext took longer than 5000 ms". Reproduced in a runner container (Bun 1.4.5), on main as well as on #17213:
bun test --no-isolate test/talk-phone-375.test.ts test/talk-phone-360.test.tsgives 8 pass, 8 fail.browservariable was never cleared), and every page waited out its 5 s.browser.On the runner after: --no-isolate 375 then 360, 16 pass, 0 fail. In --parallel=2 --no-isolate, all four Talk phone files with roll-write-pause, outbound, provenance and flow-clog-page: 76 pass, 0 fail (55 pass, 8 fail before). Isolated, the four Talk files: 29 pass, 0 fail.
No door: a test fixture; nothing anyone sees changes. Direction: a red that is not the pull's must not hold it; the parallel check is live (#17537).
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code