Repository navigation
Description
publish-site failed on run 35779729696 (commit 50a9fed) because Chrome aborted three sub-resource loads on the neighbor page with net::ERR_NETWORK_CHANGED — the runner's network configuration changed while the browser was loading the page. Nothing in the tree caused it and nothing in the tree fixes it. publish-site is green again at main's head: the very next run, 35780122086 on f4107f6 — which contains 50a9fed — passed the same step and deployed, so this commit's tree is published.
What failed
scripts/verify-site-local.sh reached /how-it-works/ as the neighbor of /examples/triage-board/ and never saw data-lf-presented:
RuntimeError: http://127.0.0.1:8787/how-it-works/ never presented, reaching no startup milestone;
browser errors: ['Failed to load resource: net::ERR_NETWORK_CHANGED',
'Failed to load resource: net::ERR_NETWORK_CHANGED',
'Failed to load resource: net::ERR_NETWORK_CHANGED']
raised from await_presentation. The page's own startup report in the same log agrees, and locates the break before any widget work:
outcome: 'timeout', reason: 'entry module did not load',
firstContentfulPaintMs: 84, presentedMs: null
The server side was healthy throughout. The Worker log the script dumps on failure shows every /how-it-works/ asset answered 200 — HTML, theme.css, leaf.js, each runtime bundle, icon.svg, registry.json — and the startup report POSTed 204. The three aborts are client-side only.
Why it is the runner's network
ERR_NETWORK_CHANGED is not an application-level condition. Chromium's net_error_list.h defines it as "the network changed" (NET_ERROR(NETWORK_CHANGED, -21)), and it arrives by way of an OS IP-address-change notification: TransportClientSocketPool::OnIPAddressChanged answers one with FlushWithError(ERR_NETWORK_CHANGED, …), cancelling all connect jobs and closing idle sockets pool-wide. The flush is indifferent to the destination, so in-flight requests to 127.0.0.1:8787 die alongside everything else on the host. That is exactly the shape observed: Wrangler served every byte, and the browser lost the sockets carrying them.
Commit 50a9fed touches message workflow projection — workflows.py, activity.py, the conversation runtime, and their tests. It does not touch resource loading, the verifier, or Worker routing. The same step passed on the preceding commit (e3cd596, run 35777453825) and on the following one, three minutes later.
Why no fix
There is no code change to make here. The mitigation that suggests itself — a retry around the verification — would weaken a deployment gate whose value is failing closed: the same retry that absorbs a runner network blip also absorbs a page that genuinely stopped presenting. A rerun is the correct response to this failure, and main has already had one.
Reproduction attempt, and one unexplained detail in the log
The failure was not reproduced locally: scripts/verify-site-local.sh needs wrangler dev to build the page container, and the bot sandbox has no Docker daemon and no root to start one. The diagnosis rests on the run's own log and on the Chromium source above.
Separately, the Worker log records 30 network fetches of /_leaf-release/<release>/how-it-works/revisions/r1-3a49ea5bae19c532/registry.json during that one page load, while leaf.js and each runtime bundle were fetched once. Startup fetches the registry once, in upgradeWidgets, and the Worker serves released assets public, max-age=31536000, immutable, so repeated network hits for that URL are not obviously expected. Whether this is normal was not established: verify-site-local.sh dumps the Worker log only on failure, so green runs carry no baseline to compare against, and the page was in a broken state for the whole window. Noted here rather than claimed as a defect — worth a look from a session that can run the verifier with a browser.
Activity
leaf-agent commentedon Sep 22, 2026
Transient — closing as diagnosed.
publish-siterecovered on the next commit and main is published.