Skip to content

test: refresh linux mobile-chrome baselines after Source Sans 3 self-hosting - #148

Merged
mmcky merged 3 commits into
mainfrom
test/refresh-mobile-baselines-fontsource
Aug 24, 2026
Merged

test: refresh linux mobile-chrome baselines after Source Sans 3 self-hosting#148
mmcky merged 3 commits into
mainfrom
test/refresh-mobile-baselines-fontsource

Conversation

@mmcky

@mmcky mmcky commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Main went red at the #140 squash-merge: all five linux mobile-chrome snapshots (intro, features, lists, notebook, history-open) now exceed the diff budget, while every desktop snapshot passes.

Cause is benign and verified against the run-32788889406 artifacts: the @fontsource-variable build of Source Sans 3 has marginally different glyph metrics from the Google-served static font it replaced, so at the mobile viewport width a couple of lines wrap one word differently (e.g. the intro fixture's "Here is a link" sentence) and every text pixel shifts. Actual and expected both render Source Sans — the font loads correctly; this is metric drift, not a fallback.

Why #140's CI did not catch it: as a PR stacked on fix/relative-css-asset-urls it only triggered the preview job (ci.yml runs on pull_request: branches: [main]), and GitHub's base retarget after #139 merged fires an edited event, not synchronize, so the full suite never ran before merge.

This PR refreshes the linux mobile-chrome baselines via /update-snapshots. The darwin (local) mobile baselines will need the same refresh on the next local run — flagged for whoever runs the suite locally first.

🤖 Generated with Claude Code

…hosting

The @fontsource-variable build of Source Sans 3 has marginally different
glyph metrics from the Google-served static font it replaced in #140, so
a couple of lines wrap one word differently at the mobile viewport width
and all five linux mobile-chrome snapshots drift past the diff budget.
Desktop snapshots are unaffected. #140 never got a visual-regression run
before merge: as a PR stacked on fix/relative-css-asset-urls it only
triggered the preview job, and the base retarget after #139 merged does
not fire a synchronize event.

Baselines to be refreshed via /update-snapshots on this PR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 24, 2026 23:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mmcky

mmcky commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

/update-snapshots

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-24 23:49 UTC

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Refreshed visual baselines in 6b7982c:

  • tests/visual/snapshots/mobile-chrome-linux/features.png
  • tests/visual/snapshots/mobile-chrome-linux/history-open.png
  • tests/visual/snapshots/mobile-chrome-linux/intro.png
  • tests/visual/snapshots/mobile-chrome-linux/lists.png
  • tests/visual/snapshots/mobile-chrome-linux/notebook.png
  • tests/visual/snapshots/mobile-chrome-linux/sidebar-open.png

@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

🎭 Visual regression results

passed  17 passed
skipped  3 skipped

Details

stats  20 tests across 1 suite
duration  36.5 seconds
commit  0fe9511

Skipped tests

mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › launch-colab
mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › live-compute-toggle
mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › live-compute-toggle-absent-without-thebe

@mmcky
mmcky merged commit 88eadbe into main Aug 24, 2026
4 checks passed
@mmcky
mmcky deleted the test/refresh-mobile-baselines-fontsource branch August 24, 2026 23:49
mmcky added a commit that referenced this pull request Aug 26, 2026
Move the [Unreleased] entries under ## [2.3.1] - 2026-08-26 with a headline
blockquote, add the footer compare link, re-point the [Unreleased] compare
base at v2.3.1, and bump package.json (npm version 2.3.1 --no-git-tag-version).
template.yml is stamped by release.yml at build time.

Two accuracy corrections ride along:

- The #131 changelog entry claimed the visual suite passes against untouched
  baselines. That was true when written, but the @fontsource glyph metrics
  re-wrapped a line at the mobile viewport and #148 had to refresh the linux
  mobile-chrome baselines. The entry now says so.
- PLAN.md open question 4 still named #117 as an open defect gating the
  cutover. It is fixed and ships here, as does #138. The paragraph now points
  at the live gate items and at the tracking issue #147.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants