馃悰[Fix] Allow release promotion commit validation - #84
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The v2.1.0 promotion range from
maincontains eight published human-authored commits created before commit-message enforcement. Validating the entire range would block the release even though the workflow explicitly preserves that history and prohibits rewriting it.Fix
This change adds an explicit grandfather boundary at
edb0ade331c54f380ae33abe7816c5a92f3a590a, the finalv2.1commit before enforcement. Range validation excludes ancestors through that boundary while continuing to validate every later human-authored non-merge commit. Merge commits remain excluded by topology, and PR-title and branch-policy checks are unchanged.Verification
origin/v2.1..HEADvalidates the fix commitorigin/main..HEADrelease range validates four post-enforcement commitsnpm testnpm run buildnode tests/ocr-smoke.test.mjsgit diff --checkCloses #83 after merge into
v2.1.This PR contains no product, version, tag, release, deployment, or history-rewrite change. It must be merged and reverified before the v2.1.0 promotion PR is created.