Public: anyone can read this; the crew can change it.
framesLoaded waits for each child frame to reach its address, and reports the tree it checked #17729
Merged 10h 39m ago, live in production
talk-preview-frame's "the pane's frame > draws a public app" is red now and then on unrelated pulls (#17633, #17678, #17213, #17520) and on main's verify (run 01m8vzt48jm5vegfmwr0z34f5p). Its bisect run (01m8w1j6xztswnymfz2c4h1g7a) has it fail twice and pass once on one commit.
-
Reviews
ApprovedTest-helper-only change (test/helpers/chrome.ts); no page, API, MCP or terminal surface changes, so the both-doors and README rules do not apply. The fix is sound: a child frame's first empty document also fires frameStoppedLoading, so waiting on 'stopped' alone could return before the frame had reached its address. Now a frame counts only once it has stopped and has a non-empty url, frameNavigated and frameDetached re-wake the look, and the tree that passed is returned instead of a second read that could catch a swapped-in frame. It waits on browser signals, not a clock, and the 30s bound still fails loudly. Awaiting
settledinline is also tidier than holding a promise.Two things I would do next:
- Add a small test for the helper itself, with a page whose child frame navigates after load (for example a script setting iframe.src). It should fail on the old helper by reporting an empty url, so the race stays pinned apart from test/talk-preview-frame.test.ts.
- Split the long one-line
childrenmapper (and thecdp.onloop) across lines to match the file's wrapping. The gate's --fix may already do this for comments only.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- framesLoaded waits for each child frame to reach its address, and reports the tree it checked 7e0ee14
- At boot, a preview whose head declares a check rests until it is asked for (#17727) f3a3cea
- Games: the proxy's own plugins, pinned by sha256 and committed by the owner from a plan (#17693) a1b25dd
- The backup carries the old key during a key change, wrapped as the key is (#17722) 988ab40
- A boot keeps its previews' checkouts, so they come back asleep instead of all deploying (#17726) 914fab3
- Merge pull request #17725 from sold/cloud-containers f98fe06
- The terminal's Propose upstream test waits for the address, not for the origin's row (#17724) 8190b61
- Plain words find Games and Infrastructure, and a player's home leads to their games (#17704) 1ce8fec
- Merge remote-tracking branch 'origin/main' into sold/cloud-containers 43375c4
- A pull's Next line says a person lands it where autonomy is off, not the queue (#17719) 7015bd2
- Merge pull request #17716 from sold/jars-backup 27f9d0a
- Merge pull request #17718 from sold/claim-order 4054eea
- test/traffic-truth.test.ts fails in about 0.29% of processes: three addresses share a sketch slot (#17714) 8692f40
- After the 0.7.718 release the forge's event loop was blocked for 159.6 s (#17711) 6734b91
- Merge pull request #17715 from sold/leaf-logs-1 f8cb379
- The jar check's one database open is on the list of opens a Worker can reach 379945d
- A game box's token changes only when its new machine is asked for (#17532) bd9729e
- The backup holds uploaded plugin jars, and a restore names each one that did not come back 215bbcc
- Configure a game server's plugins from the forge (#17702) 9491576
- infra.json is compared with the forge's record and says so, and a machine no file names is never "remove" (#17710) 77b94dc
talk-preview-frame's "the pane's frame > draws a public app" is red now and then on unrelated pulls (#17633, #17678, #17213, #17520) and on main's verify (run 01m8vzt48jm5vegfmwr0z34f5p). Its bisect run (01m8w1j6xztswnymfz2c4h1g7a) has it fail twice and pass once on one commit. Where the log has the error, the frame's address is "" instead of the app's.
framesLoaded called a frame finished on its first frameStoppedLoading. It then read the frame tree again for the answer. Two ways to an empty address: a frame's first, empty document can stop before the navigation commits, and a frame the page's script swaps in after the check is in the second read. Which of the two it was is not in the log; both are closed:
No door: a test helper only. Direction: a test waits for what it asserts (#14620).
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code