Repository navigation
publish.yml creates the GitHub release from the changelog - #114
Conversation
Releases were cut by hand with `gh release create` until 0.11.1, and the release checklist never named that step, so 0.12.0 to 0.17.3 went to PyPI with no release page (and benchmark.yml skipped its notes for each). A new job creates the release once PyPI has the version, with the tag's section of docs/changelog.md as its notes; check-version refuses a tag with no section before anything is published. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
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.
Test Results (py3.13)3 819 tests 3 807 ✅ 7m 16s ⏱️ Results for commit ef5d730. ♻️ This comment has been updated with latest results. |
Test Results (py3.12)3 819 tests 3 807 ✅ 5m 13s ⏱️ Results for commit ef5d730. ♻️ This comment has been updated with latest results. |
main's publish.yml was hardened since this branch (permissions: {}, actions
pinned by SHA, persist-credentials: false, check-version also guarding a
PyPI dispatch), so the github-release job is rewritten in that style:
pinned checkout without credentials, contents: write alone, tag values
through env, and needs: [check-version, publish-pypi] in place of always(),
so a PyPI dispatch from a tag creates the release as well. The changelog
check is its own step in check-version.
test_release_pipeline.py now counts the release as something a run
publishes, and tests the changelog check and the notes extraction, against
the real changelog too. AGENTS.md, developers.md and STATUS.md describe the
job in main's text. 0.17.6 had no release either.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- benchmark.yml's notes step waits up to 30 minutes for the release: the margin after publish-pypi was 7 minutes for 0.17.5, so slow tests or a re-run in Publish would have dropped the summary. - check-version extracts the section as github-release does and refuses one with no text (a heading straight before the next, or ending the file), since the notes cannot be mended once PyPI has the version. - A failed image still gets its release; the trigger matrix pins that. - AGENTS.md and developers.md: the image and the release run side by side, and a PyPI dispatch creates the release too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
STATUS.md keeps both follow-ups: #124's and the GitHub releases note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub releases stopped at 0.11.1, though later versions were tagged and on PyPI. Releases were cut by hand with
gh release create, and the checklist in AGENTS.md and docs/developers.md never named that step. So from 0.12.0 on, tags were pushed with no release page, andbenchmark.ymlfound no release to append its summary to. 0.17.6 is the latest case.publish.yml:github-releasejob runs afterpublish-pypiand creates the release, using the tag's## X.Y.Zsection ofdocs/changelog.mdas the notes. It leaves alone a release that was already cut by hand.check-versiongains a step that refuses a tag with no changelog section, before anything is published.contents: writeonly, tag values passed throughenv.needs: [check-version, publish-pypi], so a PyPI dispatch from a tag creates the release too.benchmark.yml: only a comment changes. In the 0.17.6 run, PyPI was done at 16:12 and Benchmark's append step ran at 16:25, so the release will normally exist by then.tests/test_release_pipeline.py:The branch was behind main and conflicted, so main has been merged in. The missing 0.17.6 release is backfilled separately, with its changelog section plus that tag's benchmark summary.
Checked:
tests/test_release_pipeline.pyandtests/test_docs_are_accurate.pypass. actionlint and zizmor run in CI'sworkflow lintjob. The real end-to-end check is the next tag (0.17.7).🤖 Generated with Claude Code