Skip to content

docs: record the release process for security notes and the deployment gate - #439

Merged
juev merged 2 commits into
mainfrom
docs/release-note-advisory
Dec 2, 2026
Merged

juev merged 2 commits into
mainfrom
docs/release-note-advisory

Conversation

@juev

@juev juev commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The release process existed only in practice. This records it in AGENTS.md:

Security release notes. v0.23.7, v0.23.6 and v0.23.2 open with a hand-written summary and link their advisory. v0.23.8 shipped the generated goreleaser header instead, so its changelog named fix(authz): authorize host delete inside the delete transaction without saying a security upgrade was needed or which advisory it closed. The rule now says: replace the generated header with a summary, the operator action and **Security advisory:** [GHSA-…](…); publish the advisory first so the link resolves; keep the generated changelog and compare link below it; edit the published release rather than the header: template, which cannot know the advisory id.

Deployment gate. The release environment no longer requires a reviewer, so pushing a v* tag starts the release immediately and a future session must not wait for an approval that never comes. The document records what still gates a release: the verify job refuses a tag whose commit is not an ancestor of origin/main, or whose build / test / lint and docker build checks did not pass on that exact commit (a green PR is not enough, because a rebase merge creates a new commit), and the environment only deploys v* tags.

Docs only, no code or workflow change.

v0.23.8 notes were corrected with this rule already (edited in place, tag unchanged), and the release environment was updated in repository settings.

juev added 2 commits December 2, 2026 18:22
Security releases in this repository lead with a hand-written summary and a
GHSA link (v0.23.7, v0.23.6, v0.23.2), but the rule existed only in practice:
v0.23.8 shipped the generated goreleaser header, so its changelog named the
fix commit without telling an operator that a security upgrade was needed or
which advisory it closed.

Record the convention: replace the generated header with a summary, the
operator action, and the advisory link; publish the advisory first so the
link resolves; keep the generated changelog below it; and edit the published
release rather than the header template, which cannot know the advisory id.
The `release` environment no longer requires a reviewer, so pushing a `v*`
tag starts goreleaser immediately and there is nothing to approve. Record
the gate that remains: `verify` checks the tagged commit is an ancestor of
main and that `build / test / lint` plus `docker build` passed on that exact
commit, and the environment still only deploys `v*` tags.
@juev juev changed the title docs: require an advisory link in security release notes docs: record the release process for security notes and the deployment gate Dec 2, 2026
@juev
juev merged commit 21a6250 into main Dec 2, 2026
12 checks passed
@juev
juev deleted the docs/release-note-advisory branch December 2, 2026 15:44
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.

1 participant