Skip to content

fix(store): regenerate stale mac 01-home frames after the #989 home-card change - #1000

Merged
wei18 merged 1 commit into
mainfrom
fix/998-mac-home-frames
Aug 11, 2026
Merged

wei18 merged 1 commit into
mainfrom
fix/998-mac-home-frames

Conversation

@wei18

@wei18 wei18 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Diagnoses and fixes #998.

The delta

Regenerating with the unmodified scripts/build-ascspec-screenshots.py reproduces
the drift exactly: 14 files, only */mac/*/01-home.png, nothing else. Regeneration is
byte-deterministic across runs (verified by md5 over two consecutive runs), and the
delta is pixel-identical in all 7 locales — so it is content, not a rendering wobble.

App Differing px Bounding box What changed
Sudoku 268 21×22 at (1942,993) Leaderboard row trailing glyph ↗ → ›
Minesweeper 2020 637×40 at (1319,908) Same glyph change plus subtitle Best times → Global / friends

Both crops were opened and inspected at magnification (6× for Sudoku's icon box),
committed vs regenerated side by side — the Sudoku change is unambiguously the
outward-jump arrow becoming a right chevron, and Minesweeper's is that same chevron
plus the reworded subtitle on the Leaderboard row. A pixel count alone would not have
distinguished those two different causes, which is why both were rendered and viewed.

Which side is correct: the committed frames are stale

Not a machine-local font difference — it traces to a real shipped UI change:

All 01-home slots (iPhone / iPad / mac) read the same baselines. #997 regenerated the
154 portrait PNGs and so absorbed #989; the mac set was simply never rebuilt. That
is the whole story — consistent with #998's "pre-existing, unrelated to #997".

The live ASC mac screenshots are stale

Answered with evidence, not inference. Pulled the live 01-home assets from App Store
Connect (read-only) for both apps, macOS 2.6.0 (PREPARE_FOR_SUBMISSION), en-US and
zh-Hant, and pixel-compared:

sudoku/en-US:        live vs COMMITTED(HEAD): MATCH (max diff 0)
                     live vs REGENERATED:     DIFFER n=268  bbox=(1942,993)-(1962,1014)
minesweeper/en-US:   live vs COMMITTED(HEAD): MATCH (max diff 0)
                     live vs REGENERATED:     DIFFER n=2020 bbox=(1319,908)-(1955,947)

(zh-Hant identical.) So ASC is currently serving the pre-#989 mac frames — the same
2.3.3 accuracy gap #995 found for portrait. No upload attempted here; macOS is
still PREPARE_FOR_SUBMISSION so its sets are not review-locked, but that is the
user's gate. Tracking added to #999.

Verification

  • scripts/build-ascspec-screenshots.py → 210 slots, 0 failures, all frames pass the
    ASC pixel-size / RGB / no-alpha spec.
  • Regeneration byte-deterministic across two runs.
  • git status after regen shows only these 14 files.
  • Every one of the 7 locales opened and eyeballed for both apps — Thai / Japanese /
    Korean / Simplified Chinese render as real glyphs (no tofu), captions did not reflow,
    and every Home row shows the chevron with Global / friends on the Leaderboard card.

Out of scope, noted

The mac frames render the app UI in English regardless of locale (only the marketing
caption localizes) — which is why the delta is locale-invariant. That is the known
headless-localization limitation in #977, not something this PR changes.

🤖 Generated with Claude Code

…ard change

The mac `01-home` App Store frames were last generated in #986 (2026-08-04), one
day before #989 (2026-08-05) rewrote the Home leaderboard card. The portrait
frames picked the change up when #997 regenerated all 154 of them; the mac set
was never rebuilt, so it kept rendering the pre-#989 UI.

Regenerating with the unmodified `scripts/build-ascspec-screenshots.py` produces a
deterministic, locale-invariant delta in both apps:

- Sudoku (21x22 px at 1942,993 / 268 px): the Leaderboard row's trailing glyph
  changed from the outward-jump arrow to `chevron.right`. #989 turned that card
  from a Game-Center-modal side-effect into a real push route to the shared Daily
  Rank screen, so it now uses the same push chevron as every other row
  (`GameShellUI/Home/HomeScreen.swift:66-75`).
- Minesweeper (637x40 px at 1319,908 / 2020 px): the same glyph change plus the
  subtitle, which #989 moved from "Best times" to "Global / friends"
  (`MinesweeperAppComposition/Live.swift:141`).

The committed frames are the stale side: the snapshot baselines that feed the
generator changed in #989, after the frames were built. The regenerated frames
match the shipped app.

Verified: regeneration is byte-deterministic across runs; the delta is identical
in all 7 locales; every locale's PNG opened and inspected, with real Thai / CJK
glyphs and no caption reflow.

closes #998

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@wei18
wei18 merged commit 936a68d into main Aug 11, 2026
5 checks passed
@wei18
wei18 deleted the fix/998-mac-home-frames branch August 11, 2026 05:10
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.

fix(store): mac 01-home frames drift from current baselines (pre-existing, unrelated to #997)

1 participant