Merge retry hardening with DSP cache opt-in

This commit is contained in:
Jonathan Sykes
2026-10-10 23:00:32 +08:00
10 changed files with 282 additions and 26 deletions

View File

@@ -496,3 +496,17 @@ control matrix: Chromium and WebKit, all four layouts, dark/light/contrast, and
geometry, themed selects and switches, the clipped native file picker, and
button wrapping; desktop screenshots and measurements are written to
`plans/settings-shots/`.
## Transient retry verification
`retry.mjs` starts the real Bun server behind the local traffic-shaping proxy, then
injects one HTTP 503 into search, one dropped related-video request, and one lazy
chunk load failure. Each path must recover automatically without exposing the
manual related/player Retry affordance. It runs Chromium and WebKit by default;
choose `--browser chromium|webkit` and `--profile lte|lossy|unthrottled` to narrow
it. Retry logic is limited to idempotent GET requests and chunk loads; explicit
save/retry POST actions remain user initiated.
```bash
node perf/retry.mjs --browser all --profile lossy
```