Repository navigation
Description
Failure
publish-site on main at cb61ca0c — run 34303405555, "Honor return frames inside Page Map". The deploy-site job failed in Verify the bundled release locally in Chrome: one page never stamped data-lf-presented inside the gate's 30-second budget, and the step ended on the Playwright timeout alone.
playwright._impl._errors.TimeoutError: Locator.wait_for: Timeout 30000ms exceeded.
Call log:
- waiting for locator("body[data-lf-presented]") to be visible
The commit is not the cause
cb61ca0c changes ten lines of skills/leaf/assets/runtime/keyboard/page.js and a navigation test. The runtime edit adds !current() to PAGE_MAP.at, reusing an import page.js already held and a guard the neighbouring at/when pair already used — nothing on the startup path, which is why it presents normally when exercised.
That code is now on main twice over, and the same gate passes on it. Run 34304126301 took Verify the bundled release locally in Chrome green at 18b37e87, a superset of cb61ca0c, and went on to deploy. main's published site therefore already carries this commit; nothing is stale.
What stalled, and what the run cannot say
The gate is scripts/verify-site-local.sh, which brings up wrangler dev, waits for the worker to answer /, then walks three pages in Chrome. The stall was almost certainly the first page, /. The immediately preceding run on daedb1c1 spent 45.5s in this step and reported / presented at 1294 ms, /examples/design-decision/ at 1027 ms, and /examples/feature-gallery/versions/v1.html at 2163 ms; the failing run spent 65.3s. The 19.8s gap is what you get when a 30s timeout replaces roughly ten seconds of three pages presenting — a stall on the second or third page would have widened the gap to 24s or 27s instead.
Presentation is gated on the first state read settling, and a read that never answers is exactly this symptom. Serving the built .tmp/site-assets locally at 474241f8 through a stand-in for the worker's /_leaf-release/... asset rewrite, / presents in about a second when /api/state answers — even when it answers 503 — and reaches data-lf-upgraded and then stops indefinitely when that same request is made to hang. (The sandbox has no Docker, so this exercised the asset graph rather than the worker and its container.)
For a browser with no active-version cookie the worker answers /api/state from the edge projection rather than the container — worker/src/index.ts#L446-L452 — so a container cold start is not on this page's presentation path. What is on it is wrangler dev serving assets while it also prepares the Dockerfile.website image in the background, on a two-core runner. That is the plausible contention, and it is where the evidence stops: it is not something this run's logs can prove.
They cannot prove it because at cb61ca0c the harness captured neither half of the picture. The browser side raised a bare Playwright timeout naming no page and no milestone, and verify-site-local.sh dumped the worker log only when the readiness loop failed, not when the browser gate did. Both gaps closed in #467, which merged as 474241f8 four minutes after this failure. A recurrence will name the stalled page, report whether it reached upgraded, list the browser errors, and print the worker's own log.
Why no fix was produced
There is no defect to fix at cb61ca0c, and the two changes this failure argues for are already on main. The remaining candidates are worse than the fault: raising the 30s presentation budget hides a real regression as readily as a stall, and a retry around the local gate would turn the one step that stands between a regression and a public deploy into one that has to fail twice to be believed. The post-deploy check retries for 900s because it is waiting on a Cloudflare rollout; the local gate has nothing to wait for and should not learn to.
This is not the repeat-occurrence case. The only prior transient tracker inside seven days is #456, a 500 from registry.cloudflare.com on the image push — a different step, a different mechanism, and no earlier occurrence of a presentation stall in this gate to escalate against. If one recurs, #467's output will identify it, and this issue is the record to count against.
Activity
leaf-agent commentedon Sep 9, 2026
Transient — closing as diagnosed.
publish-siteis green at 18b37e8 through the same gate, so main's site is published with this commit's code.