Skip to content

fix(release): label and deduplicate post-release checklists - #635

Merged
vladimirrott merged 3 commits into
lacs-project:mainfrom
dannyward630:fix/release-checklist-labels
Oct 26, 2026
Merged

vladimirrott merged 3 commits into
lacs-project:mainfrom
dannyward630:fix/release-checklist-labels

Conversation

@dannyward630

@dannyward630 dannyward630 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Makes the post-release checklist step idempotent and easier to triage:

  • Labels each new checklist documentation and maintainer-only.
  • Closes older open checklists with a comment naming the superseding tag.
  • Keeps the current tag's checklist on a rerun and skips duplicate creation.
  • Searches up to GitHub's 1,000-issue result limit and documents the lifecycle in 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: write permission 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 manual container-smoke job was skipped)

  • The post-release checklist contract block from tests/release/release-rehearsal.test.sh passed directly with PyYAML 6.0.2.

  • Fake-gh new-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.yml and git diff --check passed.

  • bash scripts/check_test_reachability.sh passed.

Notes for Reviewers

The full tests/release/release-rehearsal.test.sh wrapper cannot run on this Mac's Bash 3.2 because it uses mapfile; 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.

@dannyward630
dannyward630 marked this pull request as ready for review October 26, 2026 14:43
@dannyward630

Copy link
Copy Markdown
Contributor Author

The branch is now synced with current main; I added the release-lifecycle note and made the issue scan cover GitHub's full 1,000-result limit. The checklist contract, reachability check, shell syntax, YAML lint, and mocked new-release/same-tag rerun scenarios pass. All required GitHub checks also passed on a1143ab; the manual container-smoke job was skipped by its workflow conditions. The PR is ready for maintainer review.

@vladimirrott vladimirrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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 -V and closing only older tags would cover it. Hotfix tags are rare here, so I'm fine leaving it for now.
  • The comment above issues: write still says it is for gh issue create; it now covers gh issue close too.

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.

@vladimirrott
vladimirrott merged commit af50368 into lacs-project:main Oct 26, 2026
13 checks passed
vladimirrott added a commit that referenced this pull request Oct 27, 2026
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]>
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.

release.yml files the post-release checklist with no labels and leaves the previous one open

2 participants