Repository navigation
fix(ci): exempt the #1897 merge commit from the breaking-footer check - #1937
Conversation
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]>
There was a problem hiding this comment.
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.
Main CI has failed Validate conventional commit format on every
maincommit since #1897 merged on Nov 13:11ed387bbis #1897's GitHub merge commit. Its body carries only the PR title (fix(webhooks)!: comply with AdCP 3.2 challenge schema), while the merged commitbedea168dcarries theBREAKING CHANGE:footer. That is the same shape as #1546's merge commit, which #1566 added toHISTORICAL_BREAKING_SUBJECTS. This adds11ed387bbthe same way, with the matching test rows (exact commit + subject passes; other commit or other subject still fails).Why it matters now:
Release publishwaits for successful main CI at the release commit. The 9.7.0 release commita463315ecan 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
maincommits since the policy floor validate cleanly (only11ed387bbfailed before).tests/test_main_release_policies.pypasses (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