Google Health: the fullSync rollup-defer tracker collected its touched keys via a single spread push — one argument PER READING, so a multi-year heart-rate history (six figures of samples) overflowed the call stack and aborted the metrics collection mid-cycle, exactly on the accounts with the most data. A plain loop replaces the spread. Reported by a self-hoster; the v1.28.21 sync diagnostics confirmed every other read on that account healthy in one log line. Documents: the vault card's read-by-AI tag no longer takes its own line — a small glyph rides inline on the date-and-size row. The detail view drops the status bar under the preview entirely; with automatic reading on and nothing to review the whole block collapses, so the content starts straight with the document's fields. The provenance contract moves with it: the e2e specs now pin the card marker instead of the sheet pill, and the unmounted status-pill component is removed rather than left dead.
e2e/
End-to-end browser tests. Playwright 1.60 drives a production build of the app against a real PostgreSQL, with @axe-core/playwright for accessibility assertions. This is the heaviest test tier; CI runs it on every PR, and locally it is worth running when a change touches a UI flow.
Running
pnpm e2e
The Playwright config (../playwright.config.ts) builds the app (next build) and brings up Postgres before the specs run; setup/global-setup.ts seeds the auth + fixture state. The suite is not part of the fast local gate (typecheck / lint / test) — it surfaces at PR CI, so expect responsive/wizard/nav reworks to flag here first.
Layout
setup/—global-setup.ts(auth + DB seeding),test-helpers.ts(shared login + navigation helpers).utils/— fixtures such asmock-dashboard-snapshot.ts.*.spec.ts— one spec per flow: auth/login/redirect, dashboard, charts, the medication-wizard cadences (medications-wizard-*), insights generation + scroll restoration, doctor report, settings, mobile-viewport consistency, locale switch, accessibility (a11y.spec.ts), and thev1427-*regression set.
Convention
Assert against stable data-* attributes (data-slot, data-display-step, root display attrs), not viewport-dependent visible text. Responsive sm:hidden UI changes break getByText on desktop while the underlying element is still present — anchoring on data attributes keeps the specs stable across breakpoints. See ../CLAUDE.md.