GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(release): full channel changelog in GitHub release notes by Wibias · Pull Request #364 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Jul 23, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • Release notes for both preview and latest now keep GitHub generate-notes PR categories and append a ## Commits section from the channel-scoped previous tag (branch merges + direct commits that PR-only notes omit).
  • Create and edit paths both use the same --notes-file body so republishing a tag gets the same full notes.
  • Contract test asserts the commits log and that --generate-notes is no longer used alone on create.

Test plan

  • bun test tests/ci-workflows.test.ts
  • Next preview/latest workflow_dispatch publish: verify release body has PR categories, Commits list, and Full Changelog compare link

Summary by CodeRabbit

  • Improvements

    • GitHub releases now consistently generate complete release notes from pull request content using a dedicated notes document.
    • Notes include a regenerated single “Full Changelog” compare link and a curated “Commits” section for the relevant range.
    • Release creation behavior is now uniform, with prerelease handling supported and tagging performed after notes are assembled.
  • Tests

    • CI assertions were expanded to verify the release-notes generation flow, commit formatting/range, and that note-generation failures are not silently ignored.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Wibias
fix(release): include merges and direct commits in channel release notes
89a2a74
generate-notes is PR-only, so preview/latest changelogs missed branch merges and direct commits; append the full channel git log for both create and edit paths.
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners July 23, 2026 23:16
@github-actions github-actions Bot added the bug Something isn't working label Jul 23, 2026
@coderabbitai

This comment was marked as resolved.

Sign in to view
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Wibias added 2 commits July 24, 2026 01:21
@Wibias
fix(release): fail closed on notes API and drop dead edit path
2c538c9
Address CodeRabbit: require generate-notes success, always create (preflight already blocks existing releases), keep a 100-commit cap only for first-channel history, and tighten workflow contract tests.
@Wibias
fix(release): assemble notes before pushing the version tag
355320d
Avoid leaving a remote tag when generate-notes fails; preflight would otherwise block retries after a partial publish.
@Wibias

Wibias commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Dual review (security + bugs/edge cases)

CodeRabbit threads addressed on 355320d0 (see disposition below). Independent second look after those fixes.

CodeRabbit disposition

Finding Action
Fail closed on generate-notes (|| true) Fixed — API failure aborts the step
Remove --max-count=100 on first-channel history Declined — no previous channel tag means unbounded repo history; keep a 100-commit cap to stay within GitHub release body limits. Channel deltas (the normal path) remain uncapped via ${previous_tag}..${GITHUB_SHA}
Unreachable gh release edit vs preflight Fixed — edit path removed; create-only matches preflight
Strengthen contract tests Fixed — create/commit_range/no-edit/no-soft-fail assertions; notes-before-tag order check

Extra fix from this review: assemble notes before git tag/git push so a notes API failure does not leave a remote tag that preflight then blocks on retry.

Security

Verdict: merge-ready for security (no blockers).

Checked:

  • Inputs still reach the shell only via env: (no ${{ inputs.* }} in run:)
  • No permission / token scope expansion; still contents: write + github.token
  • Fail-closed notes improves metadata integrity vs silent empty PR categories
  • Create-only removes the only path that could overwrite an existing release’s notes
  • Commit subjects in notes are ordinary public changelog risk (merge + maintainer dispatch); not newly elevated

Bugs / edge cases

Verdict: merge-ready after the notes-before-tag reorder. Remaining residuals are operational, not blockers:

  1. npm may already be published if the GitHub Release step fails later (pre-existing ordering: Publish → registry smoke → Create release). Manual gh release create recovery still needed in that case; not introduced here.
  2. HTTP 200 with empty body from generate-notes still creates a release with Commits + compare link only. Acceptable; true API failures fail closed.
  3. PR section + Commits section overlap (merge commits / PR titles appear twice) is intentional for the “full channel log” goal.

Checks

  • bun test tests/ci-workflows.test.ts green locally after both follow-ups
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
fix(release): skip generate-notes without a channel previous tag
de2fb74
Omitting previous_tag_name lets GitHub baseline the newest repo tag, which can be the other channel on a first preview/stable cut. Use commits-only notes in that case.
@Wibias
Wibias merged commit 5157c49 into dev Jul 23, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lidge-jun
lidge-jun deleted the fix/release-notes-full-changelog branch July 24, 2026 02:09
This was referenced Jul 24, 2026
feat: ship packaged macOS menu bar companion #387
Closed
fix(release): carry preview changelog into latest notes #482
Merged
fix(release): baseline preview notes on last prior release #579
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Aug 3, 2026
feat(release): render OpenAI-style release notes with optional LLM polish #957
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Aug 16, 2026
fix(release): parse changelog commits with NUL delimiters #1847
Merged
7 tasks done
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
Merge pull request lidge-jun#364 from lidge-jun/fix/release-notes-ful…
efc150a
…l-changelog

fix(release): full channel changelog in GitHub release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Wibias
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.