Repository navigation
fix(release): label and deduplicate post-release checklists - #635
Conversation
|
The branch is now synced with current |
vladimirrott
left a comment
There was a problem hiding this comment.
Thanks, Danny. I read the whole release.yml change line by line at a1143abd. The step gains no token scope, no new action and no ${{ }} inside run:; VERSION, REPO and ACTOR still come in through env:. Issue titles only ever reach a [[ == ]] compare, and a failing gh issue list stops the step under the default bash -eo pipefail shell, so an API error can't read as "no duplicate". The $checklist_prefix* guard limits what the loop can close to checklist issues.
Approving and merging. Two notes for later, neither blocking:
- The loop closes every open checklist whose tag differs from this one, older or newer. If I ever push a hotfix tag for an older line after a newer release, its run would close the newer checklist as "Superseded by v0.x.y". Comparing with
sort -Vand closing only older tags would cover it. Hotfix tags are rare here, so I'm fine leaving it for now. - The comment above
issues: writestill says it is forgh issue create; it now coversgh issue closetoo.
The test is structural (it parses the step and checks the order of the calls), and CI ran it green. Nothing in the repo runs the shell loop itself, so the behaviour on a rerun rests on your fake-gh runs; that matches how the rest of this job is tested.
I'll write the CHANGELOG line at release.
Minor release. #627 keys request_hash with an HMAC under the audit key (chain_version 4; previews stored by an older release fail closed after upgrading) and #639 changes the history request a newer CLI sends, so a caller relying on the old behaviour notices: the middle digit moves. Also: the planner sees only its host's distribution (#626, #656, #658, #684), checkpoint and the MCP audit tools share the audit-store resolver (#636), every workflow job has a time limit (#662), a weekly cargo audit (#640), release hardening (#635, #637, #660), and every published figure is rendered from its source (#685). Claude-Session: https://claude.ai/code/session_01UpyrhbDTW1gBwzGAC44GYU Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Makes the post-release checklist step idempotent and easier to triage:
documentationandmaintainer-only.docs/release.md.AI-assisted: OpenAI Codex helped implement and validate this workflow change. No prompt transcript is attached.
Related Issue
Closes #633
Validation
Tests added or updated
Documentation updated
Security impact considered: uses the existing
issues: writepermission and passes issue numbers/titles as data.Trust boundary preserved (daemon remains the only privileged executor)
CI passes (all required checks passed at head
a1143ab; the manualcontainer-smokejob was skipped)The post-release checklist contract block from
tests/release/release-rehearsal.test.shpassed directly with PyYAML 6.0.2.Fake-
ghnew-release and same-tag rerun scenarios passed: stale issues were closed with the tag in the comment, the current issue was retained, and no duplicate was created.The extracted workflow shell passed
bash -n;yamllint .github/workflows/release.ymlandgit diff --checkpassed.bash scripts/check_test_reachability.shpassed.Notes for Reviewers
The full
tests/release/release-rehearsal.test.shwrapper cannot run on this Mac's Bash 3.2 because it usesmapfile; the focused contract block and shell syntax check were run directly. The release workflow was not run against a live release tag. CI validated the contract on Ubuntu; no GitHub issues were created or closed during local testing.