Repository navigation
Conversation
publish.yml checks that the tag is on main, runs one release at a time with a timeout on every job, joins the changelog's wrapped paragraphs in the release notes, and marks a release Latest only when it is the newest X.Y.Z, as quay.io's :latest already was. It starts benchmark.yml once the release is out; the benchmark pushes its results to a branch for a pull request rather than to main. quay-on-tag.yml's job runs in the quay environment. Dependabot watches the pinned actions, uv.lock and the base image, and SECURITY.md points reporters to private vulnerability reporting. Refs F193, F194, F195, F196, F197, F198. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- check-version compares with refs/remotes/origin/main: git reads a bare origin/main as a tag of that name first. - The notes' awk closes a fence only with the character that opened it, keeps rules, setext underlines and link definitions on their own lines, tells an escaped backslash from a hard break, and starts a list where CommonMark does after a list item. It no longer puts an anchor inside a group, and each case is tested on its own. - The tests drop GIT_* from the environment, check the dispatch's inputs against benchmark.yml's, and try a tag named origin/main. - Docs: merge the benchmark's pull request before the next release; a waiting Publish run can still be cancelled; TestPyPI takes main, release/* or a tag. SECURITY.md no longer names a version, and defines a vulnerability without contradicting links that are read through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Test Results (py3.13)3 927 tests 3 914 ✅ 10m 12s ⏱️ Results for commit ac862d9. |
Test Results (py3.12)3 927 tests 3 914 ✅ 10m 39s ⏱️ Results for commit ac862d9. |
Part of #149 (wave 1, for 0.17.11). Closes #139.
Refs closed: F193, F194, F195, F196, F197, F198.
What changes
publish.yml'scheck-versionalso checks that the tagged commit is onmain(git merge-base --is-ancestoragainstrefs/remotes/origin/main). That catches mistakes such as tagging a release branch before it is merged.quay-on-tag.yml's job runs in aquayenvironment. Every job that can publish now runs in an environment, and a test keeps it that way..github/dependabot.ymlwatches the pinned actions,uv.lockand the Dockerfile's base, monthly, one grouped PR per ecosystem, with a 7-day cooldown. For uv it useslockfile-only, so the floors CI tests stay put.SECURITY.mdpoints reporters to GitHub's private vulnerability reporting.benchmark.ymlno longer runs on every tag.publish.ymlstarts it with a dispatch from the tag, once PyPI has the version and the release page exists. Its results go to a branchbenchmark/<tag>, not tomain, and the run's summary links the pull request to open.publish.ymlhas one concurrency group for every run, and a run that has started is never cancelled.gh release creategets--latest=trueonly for the highestX.Y.Ztag and--latest=falseotherwise. It uses the same test as quay.io's:latest, run in the job, so a re-run after a newer release still gets it right.Not touched: the node20 actions (B12 bumps them).
One departure from the issue: the benchmark pushes a branch and does not open the PR
The issue asks the benchmark to open a PR. With the settings applied on 2026-12-04, the workflow token cannot open a pull request, because "Allow GitHub Actions to create and approve pull requests" is off. A pull request opened by that token would also start no checks, so under the planned
mainruleset it could not merge until someone closed and reopened it.So the job pushes
benchmark/<tag>and linkscompare/main...benchmark/<tag>?expand=1, both in the run's summary and as a notice. You open the PR, which starts CI as usual; the commit no longer carries[skip ci]. If you would rather the bot opened it, tick that setting again (it also lets workflows approve PRs) and add onegh pr createline.Tests
Each finding has regression tests in
tests/test_release_pipeline.py. Each docstring starts with the finding's ref, and each test checks against an oracle:F193. The
on-mainstep runs in real git repositories, and git decides. The cases are:main;main;mainnot fetched;origin/main.A further test checks that every job that can publish runs in an environment, across all workflows.
F194. Dependabot's config is checked against the files each ecosystem reads.
SECURITY.mdis checked against the repository thatpyproject.tomlnames.F195.
gh, and its-finputs are checked againstbenchmark.yml's declared inputs and choices.mainnever moves, and a re-run replaces the branch.F196. The concurrency group, and a timeout on every job in every workflow.
F197. markdown-it is the oracle: the notes, rendered as GitHub shows a release, must equal the section rendered as the site shows the changelog. This runs for:
F198.
lateststep runs against a stand-ingit ls-remotefor newest, by-number, backport, rc and pre-release tags.gh, which records--latest=….The new tests fail against
origin/main's workflows (28 failures at the first commit) and pass here.Verified
uv run pytest -m "not integration"on macOS: 4115 passed, 9 skipped. That run was at the first commit. After the review fixes,test_release_pipeline.py(98),test_docs_are_accurate.pyandtest_benchmark_harness.pywere re-run: 680 passed, 1 skipped.actionlint1.7.12 andzizmor1.31.1, CI's versions, on.github: clean, including.github/dependabot.yml.mainref;GIT_*from the environment;SECURITY.md's scope no longer contradicts links that are read through.For the maintainer
quayenvironment with the same tag rule aspypi([0-9]*.[0-9]*.[0-9]*), moveQUAY_USERNAMEandQUAY_TOKENinto it, and delete the repository-level copies (settings step 5).publish.ymlstill passes the secrets by name. That is how a called workflow reads an environment's secret, and the environment's value wins, so the image job works both before and after the move.quaydoes not exist when a release runs, GitHub creates it with no protection.SECURITY.md's link leads nowhere.benchmark/<tag>(the Benchmark run's summary links it), and merge it before the next release. The next run's "vs previous" and history readdocs/benchmarks/onmain.tests.yml:workflow lintjob runszizmor .github/workflows, which skips.github/dependabot.yml;zizmor .githubwould lint it too.concurrency.queue: maxwould queue several release tags in order instead of cancelling a waiting run, but actionlint 1.7.12 rejects the key. Once the lint job's actionlint knows it,publish.ymlcan use it, and the "push one tag at a time" caveat goes away.fix/b5was October's merged B5 branch (B5: Element fidelity, legacy stores and HDF5 safety #117). It was an ancestor ofmain, so this push fast-forwarded it and lost nothing.Changelog entry (for the 0.17.11 release PR)
🤖 Generated with Claude Code