Skip to content

fix(ci): exempt the #1897 merge commit from the breaking-footer check - #1937

Merged
bokelley merged 1 commit into
mainfrom
fix/ci-exempt-1897-merge
Nov 22, 2026
Merged

bokelley merged 1 commit into
mainfrom
fix/ci-exempt-1897-merge

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Main CI has failed Validate conventional commit format on every main commit since #1897 merged on Nov 13:

invalid integrated commit 11ed387bb5b958ac7a2d69e47082dd8845a0b8cf: breaking subject requires its BREAKING CHANGE footer in the actual commit

11ed387bb is #1897's GitHub merge commit. Its body carries only the PR title (fix(webhooks)!: comply with AdCP 3.2 challenge schema), while the merged commit bedea168d carries the BREAKING CHANGE: footer. That is the same shape as #1546's merge commit, which #1566 added to HISTORICAL_BREAKING_SUBJECTS. This adds 11ed387bb the same way, with the matching test rows (exact commit + subject passes; other commit or other subject still fails).

Why it matters now: Release publish waits for successful main CI at the release commit. The 9.7.0 release commit a463315e can never get green CI, so 9.7.0 has a GitHub release but was never published to PyPI. Merging this turns main CI green and lets release-please cut 9.7.1, which publishes normally.

Checked: with the patched script, all 285 main commits since the policy floor validate cleanly (only 11ed387bb failed before). tests/test_main_release_policies.py passes (78), ruff is clean.

The #1897 break itself was made backward compatible by #1936 before 9.7.0, so treating this merge commit as historical doesn't hide a live breaking change.

🤖 Generated with Claude Code

Main CI has failed "Validate conventional commit format" on every commit
since #1897 merged: its GitHub merge commit 11ed387 carries only the
PR title in its body, so the guard sees a breaking subject without the
BREAKING CHANGE footer. The merged commit bedea16 does carry the
footer, the same shape as the #1546 exception. Release publish waits for
green main CI at the release commit, so 9.7.0 could not publish.

Co-Authored-By: Claude Opus 5.5 <[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 CI fix with no findings.

This PR adds #1897's GitHub merge commit 11ed387bb to HISTORICAL_BREAKING_SUBJECTS in scripts/check_main_policies.py, mirroring the existing #1546 exception, and covers it with three test rows in tests/test_main_release_policies.py (exact-match pass plus both mismatch-fail cases). The reviewer verified the merge commit's provenance (two-parent GitHub merge, breaking subject in body, BREAKING CHANGE footer on the merged commit bedea168d, and #1936 restoring backward compatibility before 9.7.0). The exception is keyed on exact commit + exact subject. No wire, type, spec, or public-API impact.

No blocking or medium findings. Not a gated path, no high-risk flag, no author-team gate. Falls through to row 9.

@bokelley
bokelley merged commit 1635593 into main Nov 22, 2026
47 checks passed
@bokelley
bokelley deleted the fix/ci-exempt-1897-merge branch November 22, 2026 14:17
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