Repository navigation
fix(lexicon-upgrade): the body lists Removed, Renamed and Changed first, and a breaking upgrade's title carries ! - #5554
Merged
Conversation
…eaking upgrade feat! The upgrade pull request body now lists Removed, Renamed and Changed before Added. When the delta does not fit under the body limit, Added is summarised as a count per service plus as many names as fit, so the cap never cuts a breaking section. If the breaking sections alone are too long, each is cut to a share of the room and says how many entries it left out. The issue filed on a validation failure uses the same body. A breaking upgrade (the existing breaking semver label) is titled feat(<lexicon>)!:, which the release train ships as a minor on 0.x. Closes #5547
lex00
enabled auto-merge
November 23, 2026 06:25
This was referenced Nov 23, 2026
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.
Closes #5547
On a large upgrade the 60,000 character cap fell inside Added, so the breaking sections never appeared. The body and
chant dev surface-diffnow print Removed, Renamed and Changed before Added. When the delta does not fit, the breaking sections print whole and Added becomes a count per service with as many names as fit. A breaking upgrade is titledfeat(<lexicon>)!:, so the train ships it as a minor on 0.x. The issue filed on a validation failure uses the same order.Local gate: typecheck, lint and the docs check pass. Unit tests for the upgrade Op, core codegen and the gcp, aws codegen and cpln lexicons, run once with four workers on a branch holding the four upgrade fixes together: 1,992 passed, none failed. The full unit suite was not run again for this change.