Repository navigation
ci(release): preserve and generate Breaking Changes sub-bullets - #413
Merged
Merged
Conversation
aghassemlouei
requested review from
Calvin-Cheng1,
LanceWray and
mgcarey-google
November 10, 2026 22:22
aghassemlouei
force-pushed
the
ci/release-breaking-changes-sub-bullets
branch
2 times, most recently
from
November 11, 2026 16:55
f577353 to
2fec8fd
Compare
aghassemlouei
force-pushed
the
ci/release-breaking-changes-sub-bullets
branch
from
November 11, 2026 17:44
2fec8fd to
1f5dda4
Compare
aghassemlouei
marked this pull request as ready for review
November 11, 2026 17:50
Calvin-Cheng1
approved these changes
Nov 12, 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.
Description
Extracts Release Please automation out of inline YAML heredocs in
.github/workflows/release.ymlintotools/release_please.pywith direct unit test coverage intests/test_release_please.pyso rolling Release Please pull requests generate and preserve human-readable* ...sub-bullets across### Breaking Changes,### Features, and### Bug Fixes:.github/workflows/release.ymlfrom 447 lines of inline Python,sed, and Node.js heredocs to 66 declarative lines callingtools/release_please.py prepareandtools/release_please.py label-prsoruff,tools/check_boilerplate.py, and direct Python imports cover all release-note logic without YAML string slicing orexec().### Breaking Changesentries intemplate1.hbsvia atomic, fail-closed_replace_exactchecks and intentionally removes legacyrelease-please--branches--maincompatibility shims now that #394 is merged andv6.0.0is tagged.breaking:<sha7>vs<sha7>keys inextract_existing, matches optional, closes [#N](...)commit-reference suffixes, and switchesfs.readFileSynctorequire('fs').readFileSyncinside the bundledDefaultChangelogNoteswebpack module so saved sub-bullets load cleanly andfeat!:orfix!:commits retain distinct migration vs capability sub-bullets across pushes.collect_sub_bulletswhenRELEASE_PATis set by resolvingpulls/{number}from(#NNNN)commit subjects beforecommits/{sha}/pullsfor large squash commits such as #311, honoring multi-sentence<!-- breaking-note: ... -->overrides without duplicatingBREAKING CHANGE:footers already rendered as parent bullets, joining wrapped## Descriptionparagraphs, and stripping@usernamementions while preserving scoped packages and Python decorators.No separate GitHub issue exists; follows up on #365, #394, and #410.
Type of Change
Deployment & Compliance Impact
Checklist
Code Quality & Reusability
modules/orfast/stages-aw/can be leveraged for this change.docs/naming-convention.md.Documentation
README.mdof the modified module or blueprint.Security
Testing
Testing Performed
bash tools/run_tests.shanduv run --locked pytestacrosstests/test_release_please.pyandtests/test_label_taxonomy.pycoveringtemplate1.hbscommit-SHA links, section-scopedBreaking ChangesvsFeaturessub-bullet preservation,, closescommit-reference matching acrossCHANGELOG.md, non-duplicatedBREAKING CHANGE:footers,require('fs')webpack scope isolation, atomic fail-closed anchor checks, wrapped## Descriptionextraction, and commit-subject PR lookup fallback.uv run --locked ruff format --check .,uv run --locked ruff check ., anduv run --locked python tools/check_links.py --no-show-summary .across the repository.tools/release_please.pyagainst thegoogleapis/release-please-actionv5.0.0dist/bundle with Node.js across thev5.2.0...v6.0.0commit range and 21 adversarial commit, footer, and reference cases, confirming single-dash branch resolution and exact section-scoped sub-bullet rendering.