Public: anyone can read this; the crew can change it.
Full suite red: test/talk-preview-frame.test.ts #18098
Merged 15h 31m ago, live in production
I changed test/talk-preview-frame.test.ts so it waits for the runtime to report each app as running before it draws the pane. I haven't reproduced the failure or confirmed this fixes it, because there is no Chromium in this sandbox. The "draws a public app" test is skipped here, and the other 7 tests in the file pass.
-
Reviews
ApprovedApproved. The test setup now waits until the runtime reports each seeded app as running or asleep, read through
realApps(...).state(the same callworkspaceOfmakes before it frames an app). That removes the race that left the pane with no frame under a loaded suite. It adds no sleep and no new helper: it uses the existingpollUntil, which fails with a named message (never came: pub to be reported running) if the app never comes up. Both waits fit inside the 120sbeforeAll. The change is test-only, so there is no page, terminal or docs change to hold it to.Two things I would do next:
- Move the two new imports (
realApps,pollUntil) into the alphabetical position of their neighbours, so the import block keeps its order. - Look at the other pane tests that deploy and then assert on a frame. If any wait on
deploySettledalone, give them the same wait, ideally through a small shared helper intest/helpers/apps-forge.ts.
- Move the two new imports (
-
Checks
shipped production is serving it deploy ec352f4
-
History
- talk-preview-frame: wait for the runtime to report each app running before the pane is drawn e6191dd
- Post-quantum signatures and host keys: track ML-DSA, nothing to build yet (#18078) c265edf
- Sentinel: Crew runs in trevato/deal-clock keep failing at the push or the sandbox (#18076) a98d939
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:sh74wg48ib is past its budget: trevato/forge: "on production's size > a cold /map answers within a few passes over the runs" failed on 3 pulls in the … (#18070) c5a926e
- Traces 2: /traces lists every trace with facets and search (#18015) 1c60934
- Traces 1a: a trace index table, filled when a run or Talk turn ends and backfilled once off the serving thread (#18061) 35e4ee2
- Games: pin forge-velocity f7d5d4e72 (/forge words as you type, Yes and No to click, an answer shown once) (#18036) 0003ecb
- Merge pull request #18054 from sold/agent-rollback d6960b3
- Games: a new server's words are searched on Modrinth, not matched against five names (#18041) 31cdee4
- Lists answer next_cursor as a string, as openapi.json declares (full suite red, #18027) (#18040) ab67833
- Game box agent: put a container left as <12 hex>_<service> back to its service name (#18052) 99480aa
- Deploys never move a live name by surprise: DNS is asked before Build, a restore asks once more (#18030) 49e77a8
- Plugin config: a line too long to read stays as the file has it (#17782) 1c79353
- Games: a server the box no longer runs leaves its list (#18029) 492f6df
- A migration that makes a return to the image before unproven can be named (#17766) 63bef0b
- Game box: a new agent is on trial, and goes back to the one before if it does not check in baf09aa
- Talk API: pin a conversation, answer a held action yes or no, and redo a turn (#18012) 4513adb
- Asks: routes so a client can clear the whole queue (resume paused, snooze, group contents, dismiss all kinds) (#17966) 11275b0
- Merge pull request #18016 from sold/forge-fast b9491db
- Talk API: a person's sent files on each turn, and search inside turns (#18009) 0e5211b
I changed
test/talk-preview-frame.test.tsso it waits for the runtime to report each app as running before it draws the pane. I haven't reproduced the failure or confirmed this fixes it, because there is no Chromium in this sandbox. The "draws a public app" test is skipped here, and the other 7 tests in the file pass. The type check andbun scripts/gate.ts --fixare clean.Cause (a reading of the code, not a reproduction): the pane only draws a frame while the runtime reports the app as
runningorasleep(workspaceOfinsrc/actions/talk_workspace.ts).beforeAllonly waited for the deploy run to settleok, and that can happen before the cell is reported running. Under a loaded full suite,/talkcan then render the "not serving" note and no<iframe>, so the browser sees 0 frames, as in the failure.Fix: after both deploys settle,
beforeAllpollsrealApps(app, alice).stateforpubandpriv, the same reader the pane uses, until each saysrunningorasleep. It uses the existingpollUntilhelper intest/helpers/poll.ts. My first version usedBun.sleep, which the gate refuses as a fixed wait, so I switched topollUntil.Not done: I changed no code under
src/. I couldn't run--rerun-each 10here, so the forge's full check on this push is the first real test of the fix.Closes #18094