Skip to content

ci: re-pin fixtures to the merged byline demo - #431

Merged
mmcky merged 1 commit into
mainfrom
ci/repin-fixtures
Aug 25, 2026
Merged

mmcky merged 1 commit into
mainfrom
ci/repin-fixtures

Conversation

@mmcky

@mmcky mmcky commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Points FIXTURES_SHA at the fixtures #2 merge commit (0048d10) instead of that PR's branch head.

The branch-head pin was deliberate but temporary. The fixtures repo's own self-check installs the latest released theme and builds with --warningiserror, so it failed with "unsupported theme option 'translators'" until v0.22.0 shipped. Pinning to the branch head let this repo test the demo anyway, since CI here installs the PR's own theme. v0.22.0 is now on PyPI, the fixtures PR is green and merged, so the pin can point somewhere permanent.

No baseline churn expected: the squash-merge commit and the branch head have byte-identical trees, verified with git diff.

The comment above the pin is rewritten to describe the two-step dance generally rather than this one instance, since it will catch the next person adding a fixtures demo of a new theme option. Options inherited from pydata_sphinx_theme, such as announcement, skip it entirely — which is why the banner demo never hit this.

🤖 Generated with Claude Code

The previous pin pointed at the fixtures #2 branch head, which was
necessary while that PR was red: its self-check builds against the latest
released theme, and `translators` did not exist until v0.22.0. It has
shipped and the PR is merged, so point at the merge commit.

Rewrites the comment to describe the two-step dance generally, since it
will catch the next person adding a fixtures demo of a new theme option.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 25, 2026 04:38
@github-actions

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions workflow pins for the quantecon-book-theme-fixtures repository to reference the permanent fixtures #2 merge commit (instead of the temporary branch-head SHA), and rewrites the CI comment to document the general “two-step pin” workflow when fixtures introduce a brand-new theme option.

Changes:

  • Re-pin FIXTURES_SHA in CI to the fixtures #2 merge commit 0048d104ed1afa587b824d130e5210dc969713c5.
  • Re-pin the fallback FIXTURES_SHA in the snapshot-update workflow to the same merge commit.
  • Rewrite the explanatory comment in CI to describe the general temporary-branch-head → merge-commit repin process.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/update-snapshots.yml Updates the fallback fixtures SHA used by the snapshot update workflow.
.github/workflows/ci.yml Updates the fixtures SHA used for visual/preview builds and revises the documentation comment above the pin.

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

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@e3611b4). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #431   +/-   ##
=======================================
  Coverage        ?   56.30%           
=======================================
  Files           ?        2           
  Lines           ?      547           
  Branches        ?        0           
=======================================
  Hits            ?      308           
  Misses          ?      239           
  Partials        ?        0           
Flag Coverage Δ
pytests 56.30% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Visual Regression Test Results

passed  103 passed
skipped  3 skipped

Details

stats  106 tests across 1 suite
duration  3 minutes, 40 seconds
commit  23c6120

Skipped tests

desktop-chrome › theme.spec.ts › Visual Regression Tests › prob-matrix - full page screenshot
mobile-chrome › theme.spec.ts › Visual Regression Tests › prob-matrix - full page screenshot
mobile-chrome › theme.spec.ts › Theme Features › f-string interpolation styling

@mmcky
mmcky merged commit 649cc37 into main Aug 25, 2026
13 checks passed
@mmcky
mmcky deleted the ci/repin-fixtures branch August 25, 2026 04:44
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