fix(scripts): add --check-preserved for changelog heading deletions - #2370
Conversation
Add a diff mode that polices every touched changelog (plugin and convention) for dropped version headings at the fork point, replacing the in-loop absorbed-heading check inside --check-bump. Wire it into the CI changelog-parity-gate job (#2342). Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @kyle-sexton's task in 2m 6s —— View job Security Review
Scope: commit Result: no exploitable vulnerabilities found
One item worth a human sanity-check (not a vulnerability)The diff also fully removes the unrelated |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ac9cd93c1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Claude finished @kyle-sexton's task in 4m 51s —— View job Review complete
SummaryThe core feature — Two findings, both filed as inline comments, that look unrelated to this PR's stated purpose and likely accidental (possibly a stale branch state at commit time):
No security-relevant findings in scope for this lane (this repo has a dedicated |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
Fixes #2342
Summary
--check-preserved <ref>mode that checks every touched changelog (plugin and convention) for dropped version headings vs the fork point.--check-bump(which only ran for bumped plugins) with this dedicated mode.--check-preservedinto the CIchangelog-parity-gatejob as an additional PR-only step.git ls-tree+ command-substitutiongit show(fail-loud on git errors).Test plan
bash scripts/check-changelog-parity.test.sh(76/0)Related