8000 fix(release): cut release notes over GitHub's 125,000 character limit by adeelahmad · Pull Request #236 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

fix(release): cut release notes over GitHub's 125,000 character limit - #236

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-od4r1g
Oct 9, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-od4r1g

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: the first release, v0.4.0, was committed and tagged but never published. Its notes were 132,954 characters, and GitHub returned "body is too long (maximum is 125000 characters)" (run).

After: notes over 120,000 characters stop at the last whole entry that fits and end with a link to CHANGELOG.md at the tag.

How: the "Release notes from CHANGELOG.md" step now trims notes.md before publishing. The trimming lives in the workflow, not in release.py, because the publish job checks out the tag and runs the script as it was then. A new dispatch of Release takes its existing resume path and publishes v0.4.0.

Motivation and Context

Unblocks the v0.4.0 release.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • The title is a Conventional Commit.
  • Checked by running the step locally against the v0.4.0 CHANGELOG (output: 120,198 characters, ending in the link).

🤖 Generated with Claude Code

https://claude.ai/code/session_01291QUFHs51wLhGQwp2DAh9


Generated by Claude Code

…ter limit

The first release's notes (all of Unreleased since the start) were
132,954 characters, so publishing v0.4.0 failed. Keep whole entries up
to 120,000 and link to CHANGELOG.md at the tag for the rest. The
trimming lives in the workflow because the publish job runs release.py
as it was at the tag.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01291QUFHs51wLhGQwp2DAh9
@adeelahmad adeelahmad self-assigned this Oct 9, 2026
@adeelahmad
adeelahmad merged commit 2f03ae6 into main Oct 9, 2026
5 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-od4r1g branch October 9, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0