Skip to content

fix(lexicon-upgrade): the body lists Removed, Renamed and Changed first, and a breaking upgrade's title carries ! - #5554

Merged
lex00 merged 1 commit into
mainfrom
fix/lexicon-upgrade-body-order
Nov 23, 2026
Merged

lex00 merged 1 commit into
mainfrom
fix/lexicon-upgrade-body-order

Conversation

@lex00

@lex00 lex00 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

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-diff now 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 titled feat(<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.

…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 lex00 added bug Something isn't working area:ci CI, release, publish epic:ci-hardening Hardened images, scans, compliance evidence, and the gaps a regulated CI team needs closed labels Nov 23, 2026
@lex00
lex00 enabled auto-merge November 23, 2026 06:25
@lex00
lex00 added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 27d9db6 Nov 23, 2026
10 checks passed
@lex00
lex00 deleted the fix/lexicon-upgrade-body-order branch November 23, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, release, publish bug Something isn't working epic:ci-hardening Hardened images, scans, compliance evidence, and the gaps a regulated CI team needs closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lexicon-upgrade: a truncated pull request body cuts off the Removed, Renamed and Changed sections

1 participant