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): baseline preview changelogs from the prior stable by Wibias · Pull Request #1041 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Aug 5, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Problem

Preview release changelogs compare against the previous preview instead of the prior stable:

  • v2.10.0-preview.20260802 release notes show Full Changelog: …/compare/v2.9.1-preview.20260802...v2.10.0-preview.20260802
  • expected: …/compare/v2.9.1...v2.10.0-preview.20260802 (the stable release already shows the correct v2.9.1...v2.10.0)

Root cause

.github/workflows/release.yml computed the notes previous tag from git tag --merged HEAD. Stable tags live on main's lineage, which the preview branch does not carry (v2.9.1 is not an ancestor of v2.10.0-preview.20260802), so v2.9.1 never entered the candidate list. The trailing same-core preview v2.9.1-preview.20260802 (shipped 15s after the stable) became the newest prior tag. The helper's semver ordering was already correct — the tag source was the bug.

Fix

  • The notes baseline in the Create GitHub release step now reads the full tag set (git tag --list 'v[0-9]*'). The helper's semver ordering ranks the stable above its own trailing preview, so the range resolves to v2.9.1 → v2.10.0-preview.
  • The service-lifecycle changed-files gate in the Require successful Cross-platform CI step keeps git tag --merged HEAD: that comparison is deliberately lineage-relative, and the comment now says why the two baselines differ.
  • scripts/release-notes.ts documents the full-set contract on previousReleaseNotesTag.

Verification

  • bun run typecheck green.
  • bun test --isolate tests/release-notes.test.ts tests/ci-workflows.test.ts: 147 pass / 0 fail.
  • End-to-end with the real tag set + live generate-notes: previous tag resolves to v2.9.1, and the rendered notes carry Full Changelog: https://github.com/lidge-jun/opencodex/compare/v2.9.1...v2.10.0-preview.20260802 with the identical PR list (feat(providers): add Baseten Model APIs preset #653, feat(server): advertise reasoning-effort ladders on the raw /v1/models list #853, fix(providers): keep Antigravity catalog static #744, docs(codex): clarify pool routing and account continuity #862) — nothing dropped or duplicated.
  • Stable-release behavior unchanged (v2.9.1...v2.10.0), and preview-after-preview incrementality (no stable in between) is preserved by the existing tests.

Summary by CodeRabbit

  • Bug Fixes

    • Improved preview release note generation to consistently compare changes against the correct stable release.
    • Preview releases now account for relevant stable versions even when those versions are not part of the current branch history.
    • Prevented same-version preview tags from being incorrectly selected as the release baseline.
  • Documentation

    • Clarified release baseline selection requirements and expected stable-tag behavior.
  • Tests

    • Added regression coverage for stable-to-preview release note generation and CI release checks.

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@Wibias
fix(release): baseline preview changelogs from the prior stable
6bca807
The release-notes previous-tag was computed from \git tag --merged HEAD\,
which hides stable tags on main's lineage from the preview branch. A trailing
same-core preview (vX.Y.Z-preview.* shipped after vX.Y.Z) therefore became the
newest prior tag, so 2.10.0-preview notes compared v2.9.1-preview...v2.10.0-preview
instead of v2.9.1...v2.10.0-preview.

The notes baseline now reads the full tag set (\git tag --list 'v[0-9]*'\); the
helper's semver ordering already ranks the stable above its own trailing preview.
The service-lifecycle changed-files gate keeps the merged-only baseline because it
is deliberately lineage-relative.

Regression tests lock the full-set contract in the workflow and the
trailing-preview case in the helper.
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners August 5, 2026 04:32
@github-actions github-actions Bot added the bug Something isn't working label Aug 5, 2026
@coderabbitai

coderabbitai Bot commented Aug 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 52b622c0-3d2a-4471-b859-7a68865003bc

📥 Commits

Reviewing files that changed from the base of the PR and between 088194a and 6bca807.

📒 Files selected for processing (4)
  • .github/workflows/release.yml
  • scripts/release-notes.ts
  • tests/ci-workflows.test.ts
  • tests/release-notes.test.ts

📝 Walkthrough

Walkthrough

The release workflow now uses all repository tags for release-note baseline selection, while the CI service gate still uses tags merged into HEAD. Documentation and regression tests cover cross-lineage preview releases and trailing preview tags.

Changes

Release baseline selection

Layer / File(s) Summary
Separate release-note and service tag sources
.github/workflows/release.yml, scripts/release-notes.ts
Release-note lookup now reads all repository tags. The CI service gate continues to use tags merged into HEAD. Comments document the full-tag requirement and preview-tag ordering case.
Validate preview baseline selection
tests/ci-workflows.test.ts, tests/release-notes.test.ts
Tests verify the workflow tag sources and confirm that v2.9.1 is selected as the baseline for v2.10.0-preview.20260802.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • lidge-jun/opencodex#482: Both changes modify release-note baseline selection and stable/preview changelog ranges.
  • lidge-jun/opencodex#579: Both changes modify release baseline selection in the workflow, helper, and tests.
  • lidge-jun/opencodex#957: Both changes modify release-note baseline and compare-link handling.

Suggested reviewers: ingwannu, lidge-jun

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/release-notes-stable-baseline

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

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

@Wibias
Wibias merged commit 8608b18 into dev Aug 5, 2026
16 of 17 checks passed

Uh oh!

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

@Wibias
Wibias deleted the codex/release-notes-stable-baseline branch August 5, 2026 04:33
@coderabbitai coderabbitai Bot mentioned this pull request Aug 15, 2026
Fix release changelog coverage across previews and direct commits #1740
Merged
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
Merge pull request lidge-jun#1041 from lidge-jun/codex/release-notes-…
2747065
…stable-baseline

fix(release): baseline preview changelogs from the prior stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@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.