Skip to content

test(marketing): the /pricing figure test waits for the whole end state (#1284) - #1285

Merged
athvin merged 1 commit into
mainfrom
fix/pr-1280-pricing-figure-race
Nov 26, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/pr-1280-pricing-figure-race

Conversation

@athvin

@athvin athvin commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Closes #1284

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Fix forward for a red main. The /pricing records-figure test now polls for the whole end state (bars at rest and the total shown) before and after Replay, instead of reading the total the moment the bars stop.

Why

main went red on f4957438 (#1282), run 45905506640, webkit 2/2, all three attempts: the total read 0.40.

Proof

  • eslint and tsc green. The pinned-image WebKit repeat run is recorded in the ledger below.

Risk & rollback

  • Risk: test-only.
  • Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfc on brians-MacBook-Pro · 2026-11-26T22:55:11Z

  • main is green with this change on it — the merge SHA, and the run
    that proves it. A later head SHA with this commit as an ancestor counts;
    a cancelled run with zero jobs does not: 8b5b25ad — frontend 45907065651, rust 45907065557, infra 45907065631, devcontainer 45907065563, marketing preview 45907065610: all success on the merge SHA itself. main is green again after f4957438.
  • images built, or correctly never ran because nothing that goes into
    an image changed: built — 45907065584 success.
  • deploy converged — proved by a line the running process emitted, not
    by the image digest and not by the workflow conclusion: 45907121416 success. Pod web-api-green-c886cb9d7-jmcdz (started 22:49:57Z) runs er-web@sha256:c1598afa…, whose only ECR tag is 8b5b25ad…, and the er-web Service selects color: green. Its er-web container logged ▲ Next.js 16.4.6 / ✓ Ready in 0ms. The change is test-only.
  • the push-only surface no pull request can pre-test (deploy, drift,
    kind's nightly leg) is green, or knowingly red for a reason that is not
    this change: deploy green (above). drift (latest 45765434785) and kind's nightly leg (latest 45770773490; red since 2026-11-10, kind probe red since 2026-11-10: KeyError 'token_hash' after the credential-omission fix #1106) are red on every scheduled run since before this change. This diff touches only frontend/ and .claude/, which neither exercises.
  • the board card reached Done through the automation rather than by
    hand, and the issue closed: main red: the /pricing figure test reads the total mid-fade once ScenePlayback holds the figure #1284 CLOSED/COMPLETED at 22:48:11Z with closer = PullRequest test(marketing): the /pricing figure test waits for the whole end state (#1284) #1285; its board Status reads Done, never set by hand.
  • follow-ups are open for everything deferred here — numbers: n/a — nothing deferred; the broader WebKit flakes stay with Frontend gate: WebKit-only marketing flakes (the story/docs axe test, the /docs walkthrough poster) #1281.
  • what was learned is written down where the next session will find it
    (a skill, a reference, memory) — or nothing new was learned: the epic's memory file: poll for a state only the target frame produces, never one the before-state also satisfies.

Specific to this change

  • Proved in the pinned image before merging: the fixed test passed 6 of 6 on mobile-safari in playwright:v1.63.0-jammy.
Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

main went red on f495743: the test waited for the bars to rest (about
1.45s), then read the total once, but the total fades in until about
1.73s. Before #1282 the figure played at load, long before the test
looked; once ScenePlayback held it until 40% was on screen, CI's WebKit
started it on the test's own scroll and the read caught the total at
0.40. It now polls for the bars at rest and the total shown together,
before and after Replay.

Closes #1284

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

The marketing preview was removed because this PR is closed or merged.

@athvin
athvin merged commit 8b5b25a into main Nov 26, 2026
42 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 26, 2026 22:48 — with GitHub Actions Inactive
athvin added a commit that referenced this pull request Nov 27, 2026
… epic and #1279's duplicates Parquet export (#1300)

#1286 (248e296) was one commit, d245d4a. Its parent was a fresh main
(8b5b25a), but 75 files in its tree were the versions from dc45fd1:
a tree from an old worktree was committed on top of a new base. The
squash was CLEAN and the old code is self-consistent, so every gate
passed while it undid:

- the cinematic epic #1253: #1272, #1275, #1278, #1280, #1282, #1283
  and #1285, with their tests and visual baselines;
- #1279's Parquet export for duplicate groups (exports.rs, read.rs,
  export_write.rs and the ExportIn doc comment).

This is the merge #1286 should have produced, computed rather than
hand-picked:

1. Give d245d4a's tree its real parent, dc45fd1.
2. Three-way merge it into 2b8f0b8, the main it landed on, with base
   dc45fd1. No conflicts.
3. Carry the difference from 248e296 onto today's main with another
   three-way merge. No conflicts.

#1286's own work is kept: the usage endpoint, the record allowance, and
the docs on usage and the 402.

Closes #1299

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
marketing-preview — 6b7d733c Deployed Nov 26, 2026 by athvin via remove closed PR previews #82
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.

main red: the /pricing figure test reads the total mid-fade once ScenePlayback holds the figure

2 participants