Skip to content

chore(deps): bump eleven frontend packages, holding next to isolate a webkit failure - #1104

Merged
athvin merged 2 commits into
mainfrom
deps/frontend-npm-batch
Nov 17, 2026
Merged

athvin merged 2 commits into
mainfrom
deps/frontend-npm-batch

Conversation

@athvin

@athvin athvin commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Carries #1094's frontend npm group, split out of #1103 because it is the one
part of the November Dependabot batch that is not green. no-ticket for
the same reason #1103 has it: a dependency bump has none.

Supersedes and closes #1094.

The failure this is isolating

With all 14 packages bumped, playwright functional tier fails on webkit
(mobile-safari) only
, and passes on chromium:

marketing-interactions.spec.ts:42 › volume scrubs continuously on a quadratic scale
  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 rather
than accepting the programmatic value. Not arithmetic (1000 + 9999000·(v/100)²
gives 2,500,750 at v=50 exactly), and not a flake: 3/3 on CI including both
retries
, while the whole tier passes on chromium locally (684 passed).

Reproducing it locally is not possible — playwright.config.ts defines
desktop-chromium and mobile-safari, but the webkit leg only runs in CI's
pinned Playwright image, so bisection has to happen here.

What this pull request changes relative to #1094

next is held at 16.4.5, together with @next/eslint-plugin-next and
eslint-config-next, which move in lockstep with it. The other eleven
packages are bumped. Of the group, next is the only runtime bump that
plausibly reaches hydration and controlled-input event handling; motion was
the first suspect and is ruled out, because it is imported only by
src/components/review/swipe-card.tsx and not by the marketing surface at all.

So this is a one-run experiment:

  • green → next 16.4.6 is the culprit; these eleven land and next gets
    its own ticket.
  • still red → the cause is in the remaining eleven, and the next cut is by
    halves.

Post-merge ledger

Closed by: agent · session f14bf995-5565-41eb-9658-d3746dc3188e on Mac · 2026-11-17T05:30:00Z

  • main is green with this change on it — merge SHA
    5723b006a49f33196ed150ada364510e23733220, which is also current main.
    On that SHA: rust, frontend, infra and devcontainer all
    completed/success.
  • images built — the 5723b006 run built er-web and skipped
    er-api, the mirror image of chore(deps): batch seven of the eight open Dependabot updates #1103 and correct: this changes
    frontend/package.json and frontend/pnpm-lock.yaml and no rust path.
  • deploy converged — run 44021059573, DEPLOY_SHA read from inside
    the run is 5723b006a49f33196ed150ada364510e23733220. Proved by lines the
    processes emitted: deployment "web-api-green" successfully rolled out,
    er-api-preview /readyz -> 200, er-web-preview /api/healthz -> 200,
    ALB reports 2 expected pod targets healthy,
    public readiness stayed healthy for three minutes,
    traffic is verified on green; old targets drained, retired blue.
  • the push-only surface — deploy green (above). kind (red daily
    since 2026-11-10) and drift (core) (since 2026-11-12) are knowingly red
    for reasons predating this change — every failing run is on fcf0a1f5.
    Filed as kind probe red since 2026-11-10: KeyError 'token_hash' after the credential-omission fix #1106.
  • the board card — n/a — no-ticket, as for chore(deps): batch seven of the eight open Dependabot updates #1103: a dependency bump
    has no card to move.
  • follow-ups are open for everything deferred here — number: next 16.4.6 breaks a controlled range input on webkit; held at 16.4.5 #1105,
    which owns next 16.4.6 and the webkit reproduction.
  • what was learned is written down — memory
    next-1646-webkit-range-input, which records both the regression and the
    more reusable half: the webkit leg runs in CI only, so a green local
    make frontend does not cover it.

Specific to this change

  • next 16.4.5 → 16.4.6 is resolved — deferred — next 16.4.6 breaks a controlled range input on webkit; held at 16.4.5 #1105, which
    carries the full webkit reproduction, the bisect that isolated it, the
    ruled-out motion hypothesis, and three options including a Dependabot
    ignore entry. It is not silently held back.
  • the webkit-only gap is written down — in next 16.4.6 breaks a controlled range input on webkit; held at 16.4.5 #1105 and in the
    next-1646-webkit-range-input memory. The measurement that makes it
    concrete: a full local make frontend passed 684/684 against the
    very bump CI rejects 3/3, because locally the suite runs
    chromium/mobile-chrome while mobile-safari only runs in CI's pinned
    Playwright image.
  • the bisect was confirmed, not assumed — holding next alone turned
    all four shards green, both webkit legs included, in one run. The first
    local failure in this investigation was a different spec
    (:342, #flow-dataset) and was pure CPU starvation from running the
    Playwright tier alongside a cold Rust build; it does not reproduce when
    the machine is quiet.

The full 14-package group made `playwright functional tier` fail on webkit
(mobile-safari): after `fill("50")` the #flow-volume range input reads back
its default 9.95037190209989, so React re-rendered without taking the
programmatic value. Reproducible on CI 3/3 including both retries, and green
on chromium, so it is a controlled-input behaviour difference rather than a
flake. next 16.4.5 -> 16.4.6 is the only runtime bump that plausibly reaches
hydration, so this holds it (with its two version-locked companions) and
bumps the other eleven.
@athvin athvin added dependencies Pull requests that update a dependency file no-ticket deliberately not tied to a board ticket; exempts the pull request contract labels Nov 17, 2026
@athvin
athvin merged commit 5723b00 into main Nov 17, 2026
44 checks passed
athvin added a commit that referenced this pull request Nov 17, 2026
…1111)

* fix(test): wait for hydration before filling a controlled range input

The volume test was the only one in this file that interacted immediately
after goto(). #flow-volume is React-owned (interactive-story.tsx holds
volumePosition in useState), so a fill() landing before hydration sets the DOM
value and is then silently reverted when React mounts and re-renders from
DEFAULT_VOLUME_POSITION — the input reads back 9.95037190209989 and the
assertion sees "100,000 records per run".

So it was always racing, and won on timing until next 16.4.6 shifted hydration
later. Every other test in the file clicks something and asserts a state change
first, which incidentally proves hydration; this one did not.

Gated on "Inspect a record", which is disabled={!ready} where ready is set in
story-flow's mount effect — a pure hydration signal. Deliberately not
data-still, which also depends on reduced motion.

Reproduced and verified in the pinned Linux image, since macOS webkit passes
what Linux webkit fails and the spec passes when run ALONE even there — the
shard parallelism is part of the repro:

  before  --project=mobile-safari --shard=1/2 --workers=2  ->  1 failed, 95 passed
  after   same                                             ->  96 passed

* chore(deps): take next 16.4.6 now the hydration race is fixed

Held back by #1104 because the bump failed playwright on webkit. The cause was
a racing test rather than a Next regression, so the bump lands with its two
version-locked companions.

Closes #1105

---------

Co-authored-by: bmoore813 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file no-ticket deliberately not tied to a board ticket; exempts the pull request contract

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants