Repository navigation
fix(release): guard component notes and package versions - #1930
rachitm022 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — release-safety hardening for CI workflows and publish gating.
This PR adds validation that merged Release Please PR notes match the bumped manifest (component heading, two delimiters, single version heading) before tagging, and matches the release tag against built wheel/sdist metadata before PyPI publication. Changes are confined to .github/workflows/* and scripts/ci/*, backed by new tests in tests/test_release_safety.py.
Checked: tag-prefix routing, no-op behavior on non-release pushes, manifest key coverage, 30s external-call timeout/fail-closed guards, and workflow step ordering — all covered by the new tests. No public adcp.* surface, type-system layering, generated code, or wire-shape changes are touched, so the semver/forward-compat/import-layering gates do not apply.
The reviewer surfaced no critical, high, or medium findings. The only note is a non-blocking template-coupling fragility in the two-delimiter check, which fails closed correctly.
Gate state: high_risk false, gated_paths false, no author-team gate, no prior decision. None of rows 1–8 fire → row 9 approve.
Why
After #1929's release notes delimiters and version heading were edited away, Release Please v17.6.0 logged parsing failures and created both the intended SDK tag and a storage tag carrying the SDK version. The storage distribution remained at
0.2.0b4.What changed
nextandmainRelease Please workflows validate the merged release PR's two notes delimiters and component-specific version heading against that branch's manifest before running Release Please.Verification
173 passedin targeted release safety, release CI, release configuration, and main policy tests.This PR does not change existing tags or publication runs. It was prepared without a new Linear issue, as requested for this incident fix.