Repository navigation
Description
Split out of #774. Not a /jobs problem and not something #783 introduced or could fix — it predates both.
What happens
On most Lighthouse runs, one or more public pages report a largest-contentful-paint of roughly 93,000 ms. That is not a render time. .lighthouserc.json sets maxWaitForLoad: 90000, so ~93s is Lighthouse waiting its entire budget for the page to reach a stable largest paint, giving up, and recording where it had got to.
It moves between pages. Per-run LCP values, three runs per URL, same runner, same workflow:
Baseline run (36b0703d7):
/jobs 93654, 95178, 95137 3 of 3
/contact 93066, 2708, 92986 2 of 3
/support 2565, 2557, 2602 0 of 3
Current main (abe52dbcc, includes #783):
/privacy 93075, 93067, 93097 3 of 3
/terms 93064, 2561, 93087 2 of 3
/support 2559, 93059, 93414 2 of 3
/jobs 2859, 2880, 2862 0 of 3
/contact 2711, 2705, 2560 0 of 3
/jobs had a real, separate cause — its rows arrived after hydration, which #783 fixed, and it is now 0 of 3 with tight variance. Everything above is what remains once that is out of the way.
Why it matters beyond the number
- It makes the LCP column of any Lighthouse report untrustworthy — First Lighthouse baseline: /jobs has a 94s LCP, and no public page meets its budget #774's box 5 wants budgets ratcheted from measured reality, and two of six pages are currently reporting an artifact instead of a measurement.
- A page that never reaches quiescence within 90 seconds is usually doing something real: a request that never settles, a timer, an animation that never ends, or a layout that keeps invalidating. On a static legal page there should be nothing to keep it busy.
- These are public, indexed pages. Whatever keeps the page from settling is also running in front of every visitor.
Where to start
The pages it lands on — /privacy, /terms, /support, /contact — are the static ones, and they have little in common with each other beyond the (public) group layout, which changed recently in #781 (MarketingNav hoisted into the group). That is a correlation and a starting point, not a diagnosis: it does not explain why /contact was affected before #781 landed.
Concretely, the first things worth looking at:
- Load
/privacywith DevTools open and watch for a network request that never completes, or a repeating timer/animation frame - Check whether anything in the public layout polls or retries indefinitely
- Confirm against the deployed site as well as localhost — the Lighthouse runs are against
expo serveon the CI runner, and a dev-only behaviour would be a different (smaller) problem - Once understood, re-run and then set
.lighthouserc.jsonbudgets from the result (First Lighthouse baseline: /jobs has a 94s LCP, and no public page meets its budget #774 box 5)
Acceptance
- No public page reports an LCP at or near
maxWaitForLoadacross three consecutive runs - The cause is named, not worked around by raising the budget
Related: #774 (where this surfaced), #783 (fixed the separate /jobs cause), #781, #782, #770.
Activity
thinkclay commentedon Sep 17, 2026
I filed this wrong. The pages settle. There is no timer, no hanging request, and no quiescence bug — and the evidence was in the reports the workflow had already been uploading all along.
What the reports actually say
uploadArtifacts: truemeans every run ships 19 full LHR JSON files. Pulling them from the run onabe52dbcc:Time to Interactive is ~94,000 ms on every page and every run — including the three I called clean:
So the LCP "flake" was never the thing. Every page fails to become interactive for 94 seconds; LCP only looks like it moves around because whether hydration re-attributes the largest element after the bundle lands differs per page.
And on
/privacythe long tasks do not start until 92,258 ms. The bundle is not slow to parse. It is slow to arrive.The cause
17.4 MB at 1474 Kbps is 97 seconds. LCP ~93s and TTI ~94s are that number, clipped by
maxWaitForLoad: 90000. Lighthouse was not malfunctioning; it was correctly simulating a phone downloading 17.4 MB.Why 17.4 MB, when production ships 3.27
expo serveapplies no compression. So the harness has been measuring a transfer 5.3x larger than the one real visitors get, and every LCP, TTI and Speed Index number in #774's baseline is inflated accordingly.#789 switches the job to
apps/scaffald/server/index.js— which already exists, is the Express path documented in SSR-DEPLOY.md, and appliescompression()plusimmutableon/_expo, i.e. what production does.What this does not excuse
3.27 MB brotli is still about 18 seconds to interactive on the same simulated connection, and compression does nothing for the 2.2s of script evaluation or the ~1,700ms TBT — those are CPU, and they were real all along.
So the bundle problem in #774 is real and remains the largest lever on the "first impressions" milestone. It is just five times smaller than the harness made it look, and it is a bundle problem rather than the mystery I described here.
Closing this
There is no separate bug to fix. Closing in favour of #789 (honest measurement) and #774 (the bundle). I have corrected #774 and #778, both of which repeated my wrong framing.
ci(lighthouse): measure the bundle the way production serves it (#789)