Repository navigation
Description
next is held at 16.4.5 in frontend/package.json, together with its two
lockstep companions @next/eslint-plugin-next and eslint-config-next.
Dependabot will re-propose 16.4.6, so this needs a decision rather than being
left to drift.
The failure
Bumping to 16.4.6 fails playwright functional tier on webkit
(mobile-safari) only — chromium is green:
tests/functional/marketing-interactions.spec.ts:42
› volume scrubs continuously on a quadratic scale with keyboard control
Expected: "2,500,750 records per run"
Received: "100,000 records per run"
13 × <input type="range" id="flow-volume" step="any"
value="9.95037190209989" aria-valuetext="100,000 records per run"/>
9.95037190209989 is the control's default position. So after
slider.fill("50") React re-rendered the input back to its own state instead
of accepting the programmatically-set value — a controlled-input event-tracking
difference, not arithmetic (1000 + 9999000·(v/100)² is exactly 2,500,750 at
v=50) and not a flake (3/3 on CI including both retries).
How it was isolated
Bisected in #1104: holding next at 16.4.5 while bumping the other eleven
packages turned all four shards green, both webkit legs included. motion
14.9.1 → 14.13.0 was the first suspect and is ruled out — it is imported
only by src/components/review/swipe-card.tsx, not by the marketing surface.
Worth knowing before picking this up
The webkit leg runs in CI only. frontend/playwright.config.ts defines
desktop-chromium and mobile-safari, but locally the suite runs
chromium/mobile-chrome — a full local make frontend passed 684/684 against
the bump that CI rejects. So this cannot be reproduced on a developer machine
without installing the webkit browser; iterate on a branch and read CI.
A plausible first look is whether React 19's inputValueTracking still sees
the native value setter on a step="any" range input under 16.4.6's client
runtime, and whether this is a known upstream regression.
Options
- Understand and fix (or adapt the test if the new behaviour is correct), then
take the bump. - Take the bump and drive the slider with real user input (
press/drag)
rather thanfill(), iffill()on a range input is the fragile part. - Stay on 16.4.5 and add a Dependabot ignore entry so it stops being
re-proposed — the option that needs a deliberate owner decision, because it
means declining Next.js patch releases.
Activity