Repository navigation
Description
Problem
release.yml publishes each GitHub Release with devops release notes --raw -v <version> as its body (.github/workflows/release.yml:83-111, softprops/action-gh-release with body_path). devops release pr puts the same notes in the release PR body (_build_release_pr_body, src/devops_cli/commands/release.py:999-1024). GitHub refuses a Release body over 125,000 characters and a pull request body over 65,536.
v0.2.25 collected 51 changelog fragments, giving a [0.2.25] section of 196,525 characters (210 entries). Earlier releases were 3,350 to 18,858. Merging release PR #1089 as it stands would fail the "Create GitHub Release" step, and v0.2.25 would never be published. devops roadmap reprioritize (#740) treats a release as shipped only once its GitHub Release is published.
Acceptance criteria
- When a version's notes fit,
devops release notes --rawprints them unchanged, and so does thedevops release changelog --rawfallback thatrelease.ymluses. - When they exceed GitHub's Release body limit (125,000 characters, a named constant), the output keeps every
###section and each entry's title line, drops the entries' sub-bullets, and ends with a link to the version's full section inCHANGELOG.mdat its tag (https://github.com/<owner>/<repo>/blob/v<version>/CHANGELOG.md#<anchor>, using GitHub's heading anchor). The result fits the limit. If even the titles do not fit, they are cut at the last whole entry, with a line saying how many were left out. -
_build_release_pr_bodyapplies the same rule against the PR body limit (65,536 characters, a named constant), counting the rest of the body. - Entries are read with the changelog parser the fragment collection already uses (
devops_cli.release.changelog_fragments), not new line or regex parsing of Markdown. If that parser cannot return entry titles, extend it there. - Tests (offline): a 200,000-character section gives notes under 125,000 characters with all 210-style entry titles and the link; a small section is unchanged; the PR body stays under 65,536; and the v0.2.25 section of this repository's
CHANGELOG.md(on the cut branch) gives a body under both limits. -
uv run devops cipasses, with a changelog fragment and the task file. - Pending a person: after the cut merges, the release PR feat(release): v0.2.25 #1089 body is refreshed with the compact notes, and after the release PR merges, the "Create GitHub Release" step succeeds.
Key questions
- Compact form or attach the full notes as a file? Proposed: the compact form with a link. The full text stays in
CHANGELOG.mdat the tag, and a Release asset would not be readable on the Release page. - Should fragments be shorter? Proposed: yes, as a separate improvement. This item keeps the publish from failing whatever the length.
Strategic alignment
- Milestone v0.2.25, P0: it blocks publishing this release. Under feat(github): current release admission, cap, descoping and stall rules (
devops roadmap reprioritize) #740's rules, a critical fix may join a cut release. - Related: fix(release): changelog fragments so concurrent pull requests never conflict on CHANGELOG.md or docs/ROADMAP.md #933 (changelog fragments), feat(github): current release admission, cap, descoping and stall rules (
devops roadmap reprioritize) #740, feat(release): v0.2.25 #1089.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(release): release notes over GitHub's body limits fall back to en…
dan-petty commentedon Oct 3, 2026
Closed by #1098, merged into
release/v0.2.25.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.chore(release): cut v0.2.25: collect the late #1097 changelog fragmen…
feat(release): v0.2.25 (#1089)