Skip to content

ci: exempt the #1546 merge commit from the breaking-footer check - #1566

Merged
bokelley merged 1 commit into
mainfrom
bokelley/main-ci-1546-merge-exemption
Oct 23, 2026
Merged

bokelley merged 1 commit into
mainfrom
bokelley/main-ci-1546-merge-exemption

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

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. 5ce9ee4dc is #1546's GitHub merge commit. Its body is just the PR title, fix(types)!: allow assignment-only creative syncs, with no BREAKING CHANGE: footer, so the check rejects it.

RuntimeError: invalid integrated commit 5ce9ee4dc9daef34af143b84ff7d660489fef1be: breaking subject requires its BREAKING CHANGE footer in the actual commit

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 commit 81c2a8b2b carries 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.
  • I ran conventional("push", <origin/main 30a72ee2a>, {}) against real main history and it now passes.

🤖 Generated with Claude Code

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]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@bokelley
bokelley merged commit 3db6694 into main Oct 23, 2026
47 checks passed
@bokelley
bokelley deleted the bokelley/main-ci-1546-merge-exemption branch October 23, 2026 03:09
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.

1 participant