docs/plans/2026-04-15-slate-v2-overlay-benchmark-hardening.md
Harden the huge-document overlay benchmark so the lane stops flaking on page readiness and can be trusted as perf evidence.
scripts/benchmarks/browser/replacement/huge-document-overlays.mjsmajor-tasktaskgoal workflowlearnings-researcherperformance-oracledebugexpect(locator('#v2-huge-blocks')).toHaveValue("1000")
because the control was not foundwaitForCurrentReady(...) only does double page.goto(...) and then
waits on controls; it has no explicit retry or fallback when the route
responds before the example DOM is readyreadyTimeoutMsreadyRetriesabout:blank reset instead of failing on first missing control3-sample run passed1-sample launches passed back to back/Users/zbeyens/git/slate-v2/scripts/benchmarks/browser/replacement/huge-document-overlays.mjspnpm lint:fixREPLACEMENT_BENCH_ITERATIONS=1 pnpm bench:replacement:huge-document:overlays:local5x one-sample reruns of the same commandpnpm bench:replacement:huge-document:overlays:local/Users/zbeyens/git/plate-2/docs/solutions/workflow-issues/2026-04-15-next-dev-benchmark-readiness-must-warm-and-retry-before-failing.mdexpect(locator('#v2-huge-blocks')).toHaveValue("1000")
failed because the control was not found on one run