Skip to content

Fix cross-cutting findings from the pre-deploy test - #560

Merged
uhsear merged 21 commits into
mainfrom
sweep3/cross
Nov 23, 2026
Merged

uhsear merged 21 commits into
mainfrom
sweep3/cross

Conversation

@uhsear

@uhsear uhsear commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes from the pre-deploy cross-cutting test. The test covered 544 page loads (34 routes x 4 sizes x 2 themes x guest/signed in) with axe, CSP, console and overflow checks. It also covered offline queue replay, socket reconnect, the PWA update path, Firefox and WebKit, Lighthouse, all 15 email templates, and authorization probes on 294 routes.

Each commit below fixes one finding that a second agent confirmed against the code, and each fix was then reviewed.

Commits

  • Warn instead of fail on the Lighthouse script and layout-shift budgets until the performance pass
  • Run both Lighthouse passes and use portable mktemp in lhci-run.sh
  • Shrink the empty-state illustration on phones only, not on short desktop windows
  • Show the offline screen for chunk-load failures when the device is offline
  • Keep a pending linked festival select and the router history state
  • Reject empty ride offers and home-base writes without a location
  • Make the on-demand Lighthouse configs assert real budgets
  • Give the ToS checkboxes and the crew-plan back link a 24px minimum target
  • Keep the guest footer below the fold while the lineup skeleton loads
  • Keep the guest picks call to action above the footer on phones
  • Answer /notifications/vapid-key with a null key when web push is off
  • Use typeStyle weights and the active theme for mobile date pickers
  • Inherit the banner text colour on the Review and Sync now buttons
  • Make accessible names contain their visible text
  • Say Festie was updated when a route chunk fails to load
  • Drop browsing-topics from Permissions-Policy
  • Reject crew home-base, photo-album and ride-offer writes that name no field
  • Let the festival loader own the ?festival= deep link

Test plan

  • After merging main: root typecheck, lint, knip and the api-types drift check pass.
  • Package typecheck and lint pass. Tests: shared 3426 passed (3426); web 2741 passed (2741); mobile 1017 passed (1017);
  • CI runs the full backend suite.

usePushLanding stripped the param before the loader read it, so email and
push links ended on the default festival. The loader now handles every
non-editor path and skips its default pick while a select is in flight.
… field

A stale or mistyped client body was stripped to {} and still passed, which
cleared the crew's stored value and broadcast it. null and empty string
still clear explicitly.
Chromium logs 'Unrecognized feature' for it on every page load. Also remove
the deleted usePushLanding test from the web vitest include list.
Chromium words a missing chunk as 'Failed to fetch', which matched the
offline branch and told online users to check their connection.
Map amenity chips, the wrap and settle-up shortcuts and inbox rows used an
aria-label that differed from or reordered the visible text, which voice
control cannot say (WCAG 2.5.3).
Buttons do not inherit colour, so Review rendered black on the coral failed-sync bar in the daylight theme.
AccountPrivacySection overrode fontWeight on a typeStyle spread (Android
synthetic bold), and three iOS pickers forced the dark variant in daylight.
A 404 is logged by the browser as a console error on every page load. The
web client already treats a null key as not configured.
The 112 px illustration pushed Browse the lineup 16 px under the nested
scroller's edge with no scroll cue. Shrink it on viewports under 900 px tall.
On desktop the footer showed under the skeleton and jumped when the cards
rendered, which put the page over the 0.1 layout-shift budget.
…rget

WCAG 2.5.8: the checkboxes were 22px and the back link 20px tall. The artist
name buttons already grow a 44px hit area from a pseudo-element.
Lighthouse 12 ignores budgetPath, so the script, count and layout-shift
budgets never failed a run. Assert them directly at just above the measured
values, point the third URL at a real route and add a mobile-preset run.
A body of explicit nulls passed the at-least-one-field check and created an
empty ride offer. A home-base write without location made the store clear the
stored home base, so location is now required (null still clears it).
The isLoading guard never held: loadFestivals resets it before the then runs.
selectFestival sets currentFestivalId synchronously, so test that instead.
Strip ?festival= and ?joinCrew= with replaceState(history.state) so the
router's index and key survive on every route.
…top windows

The height-only media query also hit laptops and the 1280x720 test viewport.
A failing desktop pass skipped the mobile pass under set -e, and mktemp
--suffix is GNU-only.
…s until the performance pass

Owner decision: keep the targets, but the phone run scores 46-51 today, so the
nightly check should report rather than alert.
# Conflicts:
#	packages/web/src/routes/crew-plan.tsx
…bodies

Those schemas now reject an empty body, so validation answered 400 before the
membership gate could answer 403.
@uhsear
uhsear merged commit fc07dc7 into main Nov 23, 2026
17 checks passed
@uhsear
uhsear deleted the sweep3/cross branch November 23, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant