Repository navigation
ci: exempt the #1546 merge commit from the breaking-footer check - #1566
Conversation
Main CI has failed the conventional-commit policy on every push since 5ce9ee4, the GitHub merge commit for #1546. Its body carries only the PR title fix(types)!, while the merged commit 81c2a8b carries the BREAKING CHANGE footer, so the release signal is intact. Add the exact sha and subject to HISTORICAL_BREAKING_SUBJECTS, like the two earlier exceptions. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean, minimal CI fix.
This PR touches only scripts/check_main_policies.py and tests/test_main_release_policies.py (16 additions, 3 deletions). It adds commit 5ce9ee4 (the #1546 GitHub merge commit whose body carries only the PR title with no BREAKING CHANGE footer) to HISTORICAL_BREAKING_SUBJECTS, pinned to an exact SHA + subject. The reviewer verified the release signal is intact — the merged commit 81c2a8b carries the footer and the subject keeps the ! marker — and the new tests confirm neither bypass path (same subject/other SHA, other subject/this SHA) is accepted.
No blocking or Medium findings. No public-surface changes, no generated-code edits, no CI gate disabling. high_risk is false, gated_paths is false, no author team gate, and no prior decision. None of decision rows 1–8 fire, so this falls through to row 9.
Problem
Main CI has failed on every push since
5ce9ee4dc, and only the Validate conventional commit format job fails. That job checks every main integration after the published floor.5ce9ee4dcis #1546's GitHub merge commit. Its body is just the PR title,fix(types)!: allow assignment-only creative syncs, with noBREAKING CHANGE:footer, so the check rejects it.The release workflow only publishes a commit whose CI passed, so this blocks any 9.0 release from main.
Fix
Add the exact SHA and subject to
HISTORICAL_BREAKING_SUBJECTS, the same mechanism used for the two earlier exceptions. The release signal is intact: the merged commit81c2a8b2bcarries the footer (BREAKING CHANGE: SyncCreativesRequest.creatives is now list[CreativeAsset] | None …). The exception is pinned to SHA plus subject, so no other commit inherits it.Verification
tests/test_main_release_policies.py: 60 passed, including new cases. The exact SHA and subject is accepted; the same subject on another SHA is refused; another subject on this SHA is refused.conventional("push", <origin/main 30a72ee2a>, {})against real main history and it now passes.🤖 Generated with Claude Code