Repository navigation
fix(ci): cap the shipped prepare-release PR body under GitHub's limit - #858
Merged
Merged
Conversation
The scaffolded consumer prepare-release.yml still interpolated the full frozen changelog section into the draft-PR body uncapped; #812 fixed only this repo's own workflow. The 0.4.0-rc3 smoke test hit it: the receiver seeds the consumer CHANGELOG from this repo's ~67k-char 0.4.0 section, and the downstream "Create draft PR to main" died with "GraphQL: Body is too long". Port the same cap (65000-char budget, line-boundary truncation, pointer to the release branch's CHANGELOG.md); small releases inline the whole changelog unchanged. Inline-YAML shell is not unit-testable; the identical capping logic was harness-verified against the real 0.4.0 section in #830, and the YAML de-indentation of the new HEADER string asserted via yaml.safe_load. Refs: #857
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.
Summary
Forward-fix for the rc3 smoke-test failure (#857, diagnosis posted there). rc3 convergence signal: consumer CI green inside the rc3 image, deploy PR merged (validating #853 + #856), downstream release cycle started — and died at
Create draft PR to mainwithGraphQL: Body is too long.It's the #810 bug shipped to consumers: #812 capped only this repo's own
prepare-release.yml; the scaffolded copy (assets/workspace/.github/workflows/prepare-release.yml) still interpolated the full changelog section uncapped, and the smoke-test repo's CHANGELOG is seeded from our ~67k-char 0.4.0 section. This ports the identical cap (65,000-char budget, line-boundary truncation, pointer to the release branch's fullCHANGELOG.md).release-core.yml(shipped) has no PR-body write, so this is the only consumer-side site.The deploy sync carries the fixed workflow to the smoke-test repo on the next candidate (rc4), which should complete the downstream cycle.
Verification
HEADERasserted viayaml.safe_load(no indent leak).just precommit(full suite, all files): green, exit 0.## [0.4.0] - TBDsection.Refs: #857