Skip to content

docs: v0 is v0.22.0; deploy-release in the canary's drift check - #367

Open
mmcky wants to merge 2 commits into
mainfrom
docs/post-v0.22.0
Open

mmcky wants to merge 2 commits into
mainfrom
docs/post-v0.22.0

Conversation

@mmcky

@mmcky mmcky commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Brings the docs and the canary's drift check up to date now that v0 is on v0.22.0 (3b70eda). This is step 8 of v0.22.0's release plan. It runs the full harness, since scripts/canary-drift.py and .github/canary-drift.yml are in the gate's MUST_RUN.

What each file gets

  • docs/dev/PLAN.md: @v0 points to v0.22.0. Phase 2's previews row names lecture-python-programming.fr as done (@v0) beside lecture-jax: its ci.yml calls preview-netlify@v0, and the repositories still on nwtgck/actions-netlify are still four (lecture-python-intro, lecture-python-advanced.myst, lecture-python-programming and continuous_time_mcs). The create-release-assets line drops "(checked 2026-11-10)": all eight publishing repositories' publish.yml still pass create-release-assets: 'true', re-read for this PR. The release-gate line says "what an action or a reusable workflow does", as CONTRIBUTING does.
  • .github/canary-drift.yml: deploy-release.yml: [], since the canary's caller is now templates/deploy-release.yml at @v0 apart from a header comment, which the check ignores. Its header's "these four workflows" becomes five.
  • scripts/canary-drift.py: the self-test expects five workflows, deploy-release.yml among them. schedule_filters() gains a comment naming the two forms it passes unreported: a negated filter such as !(github.event.schedule != '…') or (… != …) == false, which matches as a != but runs the job only on that cron, and a read of the whole event such as toJSON(github.event) or github.event.*, which names no schedule. Nothing the script does changes.
  • docs/dev/TESTING.md: the canary section's list of template copies gains deploy-release.yml, with a line on when it runs, so that the drift paragraph's "Each of the five workflows" counts what the section lists. The Pages paragraph names deploy-release.yml among the deploys the site can show, and deploy-release's deploy job among those in the pages concurrency group.
  • CONTRIBUTING.md: in Staged Releases, the bullet for deploy-release describes the route v0.22.0 took as the documented one: the caller on the canary's main pinned @vX.Y.Z; dispatched on main, since GitHub documents that a dispatch needs the workflow on the default branch; a release a person publishes or re-publishes, whose tag's commit has the caller, for the release event; and the pin moved to @v0 once v0 has moved. It adds that a release-event deploy at a commit already deployed can be dropped while marked success (deploy-release, publish-gh-pages: a Pages deploy on a release event, at a commit already deployed, can report success and change nothing #366), so that proof needs a tag at a commit not yet deployed, and that what the site serves is checked by files nobody has requested yet, since the Pages CDN ignores a query string. It doesn't say a canary branch can't work.

No CHANGELOG entry: nothing an action or a workflow does changes.

How v0.22.0 was staged on the canary

Checks

  • generate-docs.py --check --check-examples --actionlint (Python 3.12, PyYAML 6.0.4): the generated docs are current (24 files), 75 quantecon/actions steps and 20 complete workflows checked, and actionlint finds the 20 workflows clean.
  • scripts/canary-drift.py --self-test, in a venv from scripts/requirements.txt as the harness runs it: passed. scripts/canary-watch.sh --self-test: passed.
  • The drift check, live, with CANARY_REPO=QuantEcon/test-actions-lecture-intro and TEMPLATES_REPO=QuantEcon/actions: green. All five workflows match their templates at v0 (read at 3b70eda), deploy-release.yml with no declared differences, and the four others with the differences they already declare.
  • actionlint 1.7.12, its archive checked against the release's SHA-256: clean. scripts/lint-shell.py with shellcheck 0.11.0: clean.

Closes #355.

Copilot: not requested (Matt, 2026-11-22)

After a fresh review (be68d87). The fixes:

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMYECPyC5K5RvEg6uiq

mmcky and others added 2 commits November 28, 2026 22:46
PLAN: @v0 points to v0.22.0; lecture-python-programming.fr's previews
are on preview-netlify@v0; the create-release-assets line loses its
date; the release-gate line names reusable workflows, as CONTRIBUTING
does.

The canary's deploy-release.yml caller now pins @v0, so
.github/canary-drift.yml lists it with no declared differences, and
canary-drift.py's self-test expects five workflows. schedule_filters()
gains a comment naming the two forms it passes unreported.

TESTING names deploy-release.yml among the canary's template copies and
the deploys that share the `pages` group. CONTRIBUTING's staging bullet
for a reusable workflow describes the route v0.22.0 took: a caller on
the canary's main pinned @vX.Y.Z, dispatched on main, a release
published or re-published by a person for the release event, then the
pin moved to @v0; and the release-event caveat in #366.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMYECPyC5K5RvEg6uiq
@mmcky

mmcky commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Harness run 46142527462 attempt 1, on be68d87, failed only in setup-latex: an exact hit installs from the cache and contacts no mirror, plus the all-checks summary. That's a known flake: two runners of one image version can hold different packages, so the cache key's host hash differs between the seed job and the hit job. It's unrelated to this PR, which touches no action. Re-ran all jobs once (attempt 2), since the seed's cache key carries the run attempt, so "Re-run failed jobs" can't pass. The first head, fbeca72, passed on its first attempt (run 46141587392).

Claude Code (on behalf of mmcky)

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.

A reusable workflow that deploys a release to GitHub Pages, and redeploys an earlier one to roll back

1 participant