Skip to content

fix(changelog): detect deleted release sections#9255

Open
teddygood wants to merge 4 commits intogfx-rs:trunkfrom
teddygood:fix-changelog-deleted-release-sections
Open

fix(changelog): detect deleted release sections#9255
teddygood wants to merge 4 commits intogfx-rs:trunkfrom
teddygood:fix-changelog-deleted-release-sections

Conversation

@teddygood
Copy link
Copy Markdown

@teddygood teddygood commented Mar 18, 2026

Connections
Fixes #9245.

Description
The changelog check previously only used post-change line positions, which let deletions of already-released sections slip through. This switches the check to track both old and new hunk positions and adds a regression test.

@teddygood teddygood force-pushed the fix-changelog-deleted-release-sections branch from cca1f97 to 575cf24 Compare March 18, 2026 10:01
@teddygood teddygood force-pushed the fix-changelog-deleted-release-sections branch from 575cf24 to b7a30db Compare March 18, 2026 10:06
@ErichDonGubler ErichDonGubler self-assigned this Mar 18, 2026
@ErichDonGubler
Copy link
Copy Markdown
Member

I'll take on reviewing this, though I likely won't be able to finish a review until early next week.

I've updated the OP to remove the PR checklist, since it's not useful here.

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.

CHANGELOG check in CI doesn't check for deleted release sections

2 participants