Skip to content

fix: generate real changelog in GitHub Releases via generate_release_notes - #339

Merged
ranxianglei merged 1 commit into
masterfrom
2026-08-29_release-notes
Aug 29, 2026
Merged

ranxianglei merged 1 commit into
masterfrom
2026-08-29_release-notes

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Model: glm-5.3 (vllm, via pi)

What

Every GitHub Release since the beginning shipped a placeholder body with an unexpanded shell command:

See [commits since last tag](.../compare/$(git describe --tags --abbrev=0 v0.1.63^ 2>/dev/null || echo HEAD~10)...v0.1.63)

because actions/create-release@v1 writes body: verbatim — no shell expansion happens inside the workflow file.

Fix

Replace the archived actions/create-release@v1 step with a REST call that sets generate_release_notes: true. GitHub then auto-generates the "Full changelog" compare link + the merged-PR list per release. prerelease flag is preserved.

  • v0.1.63's release page was already patched by hand with a proper changelog (378952735)
  • future releases get it automatically

Risk

Release-trigger/publish path untouched; only the GitHub-Release-creation step changes.

Pre-flight

  • yaml lint ✓ (workflow parses, 10 steps)

@github-actions

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-08-29_release-notes (687f60d)

Option A — Install from npm PR tag (recommended)

npm install -g billion-context@pr-339

Each push to this PR publishes a new version under the pr-339 npm tag.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr339.tgz
npm install -g package

This comment is automatically updated on each push.

@ranxianglei
ranxianglei merged commit 0f6813c into master Aug 29, 2026
6 checks passed
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 ework agent · vllm-qwen/qwen3.8-27b

[bot] Verified — this fix is already merged to master. No further work needed.

  • PR: fix: generate real changelog in GitHub Releases via generate_release_notes #339 (branch 2026-08-29_release-notes, commit 687f60d)
  • Merged as 0f6813c — now the HEAD of origin/master
  • .github/workflows/release.yml on master is byte-identical to the fixed version (diff vs 687f60d is empty)
  • YAML lint re-confirmed locally: workflow parses, 10 steps, final step is the new REST-based "Create GitHub Release" using generate_release_notes: true with the prerelease flag preserved
  • Release-trigger/publish steps untouched, as described

The next release (v0.1.64+) will get an auto-generated changelog (compare link + merged-PR list) on its GitHub Release page.

@ranxianglei ranxianglei mentioned this pull request Aug 30, 2026
antclt pushed a commit to antclt/billion-context that referenced this pull request Sep 10, 2026
…urns

Models that keep reasoning/thinking on the wire build a permanent
uncompressible floor: the fold anchor is a compress call, and any
reasoning sitting before that anchor survives every fold as protected
prefix. Storm sessions hit ~50% visible context lost this way.

Proxy-side twin of billion-context-pi ranxianglei#339 / opencode-acp ranxianglei#377:
- new src/reasoning-drop.ts: dropCompressReasoning() strips the
  contiguous reasoning run immediately preceding a CLOSED compress
  call (result present + genuine user message after) when the summed
  run exceeds a char threshold (default 2048). Active rounds, other
  tools' reasoning, and non-contiguous runs are never touched.
- resolveCompress() now merges a third nested-object field
  (reasoning) sub-field-wise like absorb/prompts.
- all three wire prepares (anthropic/openai/responses) apply the drop
  after stripKernelSummaries, before wire rebuild.
- new config: compress.reasoning = { drop = true, threshold = 2048 }.
- docs: CONFIGURATION.md + zh-CN; 17 new tests (1263 total green).
@ranxianglei
ranxianglei deleted the 2026-08-29_release-notes branch October 15, 2026 05:32
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.

1 participant