Repository navigation
ci: guard tagged changelog sections - #1239
WilliamK112 wants to merge 7 commits into
Conversation
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Reviewed head: 3c7233f Verdict: looks good. Thanks for this. All CI checks are green, the DCO sign-off is present, there is no new runtime dependency, and the CHANGELOG bullet is under Low
Notes for the maintainer
|
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Addressed the review suggestions in 98ef683:
The shell syntax checks, both changelog test suites, the real repository comparison (60 tagged sections), and all 19 release-version tests pass locally. |
|
Reviewed head: 98ef683 Verdict: looks good. Thanks for the updates. The new head adds the deleted-section fixture and the scripts are now mode 755, which covers the earlier findings. CI is green, the DCO sign-off is present, there is no new runtime dependency, and the CHANGELOG bullet is under Low
Notes for the maintainer
|
|
Reviewed head: 98ef683 Thanks @WilliamK112. This is a clean design: it compares only the sections a PR changes against their tag snapshot, skips untagged versions so release-bump PRs pass, and the fixture script covers the right cases. The acceptance criteria in #1234 hold. Security (workflow change): nothing to fix.
Two things before merge:
Smaller:
Verdict: merge after the two medium fixes. |
|
Sorry for the mixed signals, @WilliamK112. The two "looks good" passes were automated; the latest review is the one to follow. The workflow is fine security-wise, but please move the guard into its own job and make the tag fetch cheaper ( |
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Addressed the latest review in b421933.
Validation:
|
|
Reviewed head: b421933 Thanks @WilliamK112. All four items from the last round are in:
Security is unchanged and clean: One fix before merge:
Low:
Verdict: merge after the fix above. |
Signed-off-by: Ching-Wei Kang <[email protected]>
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Addressed the final review item in ddba585.
Validation:
|
|
Reviewed head: ddba585 Thanks @WilliamK112. Verdict: the last requested change is in, pending maintainer review because this edits a workflow. Earlier requests, checked against this head:
Security (workflow change): unchanged and clean. Low:
CI on this head: the new "Changelog guard" job is green and every other finished check is green; CLI tests and the audit engine golden tests were still running when I looked. Notes for the maintainer: workflow change, so it needs a human decision before merge. If branch protection lists required checks by name, "Changelog guard" needs adding. |
|
Additional final-head validation: |
|
Reviewed head: b25b08d Thanks @WilliamK112. Verdict: pending maintainer review, because this edits a workflow. No code change since the last reviewed head. The only new commit is a merge of main ( Security (workflow change): unchanged and clean. Still open (low): note at CI on this head: all checks green, including "Changelog guard". |
|
Reviewed head: b25b08d A merge of One low follow-up, not blocking: running the script locally without |
|
@WilliamK112 this is approved and ready to merge, but v0.0.140 just shipped and the PR now conflicts with |
Signed-off-by: Nik Cubrilovic <[email protected]>
|
Update-branch (merge of main, no rebase): head 1c9aa4e = merge commit, parents b25b08d (approved) and 660dcfc (main tip). Non-CHANGELOG patch unchanged: git patch-id --stable 873f85e914b7aff633fe3dea46c43424923c7586 for both, same file list. CHANGELOG bullet under [Unreleased]; released sections equal their tags. Pin for merge once checks are green: 1c9aa4e. |
|
Landed, thank you @WilliamK112. Your four commits are on main under your name: e3dc102, 75f0f2b, bdec991 and bdc6c82, shipped in v0.0.141 via the stacked release PR #1272 (rebase-merged, so this PR shows as closed rather than merged). The Changelog guard ran green on the release PR and is now enforcing that tagged sections stay untouched. (Nik) |
Summary
Closes #1234.
Verification
bash scripts/test-released-changelog.shbash scripts/check-released-changelog.sh upstream/main— 60 tagged sections available, no released section changed by this PRbun run test:release— 19 Bun tests plus both shell suites passbash scripts/test-ci-classify.sh— 38 cases passbun run format:checkbun run lintbun run typecheckgit diff --checkChecklist
Signed-off-byline (git commit -s).Docs: CHANGELOG.md. Skill: none.