Public: anyone can read this; the crew can change it.

A browser harness in the gate for the tab forge: a real service worker and a real form post #18273

Closed opened this

Pull #18308 was closed · 3 runs

opened this

Split from #18258 (boxes 1, 3, 4). A headless browser (chromium is on the box; test/helpers/chrome.ts only loads a page and evaluates) must open /tab, start the forge, make an app by a real form post, edit a file and see it run, recording the Origin, Referer and Sec-Fetch-Site the worker saw; then walk edit, commit, issue, pull, merge, settings and Talk. Needs a driver that can keep a page and a service worker alive (CDP over a pipe).

2 earlier comments
commented

Red on three checks: pull #18284 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

the tab forge in a real browser > a fresh tab starts the forge, makes an app by a form post and shows an entry

error: never came: the worker's notes of both posts

26 | * timeoutMs.

27 | */

28 | export async function pollUntil(done: () => boolean | Promise<boolean>, what: string, timeoutMs = 30_000): Promise<void> {

29 | if (!(await waitFor(done, { within: timeoutMs, what }))) throw new Error(never came: ${what});

commented

Done on main already, waiting for you to close it: c343cd782160388a5bbbc791aeff2f3e365e1469

commented

Closed: already done on main in c343cd7. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs