Skip to content

fix(release): generate cumulative stable notes - #27

Merged
kalvinnchau merged 4 commits into
mainfrom
fix/cumulative-stable-release-notes
Aug 13, 2026
Merged

fix(release): generate cumulative stable notes#27
kalvinnchau merged 4 commits into
mainfrom
fix/cumulative-stable-release-notes

Conversation

@kalvinnchau

@kalvinnchau kalvinnchau commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

summary

  • fetch origin/main and published release tags into an isolated, pruned snapshot
  • keep prerelease notes incremental while stable notes span the previous stable release
  • regenerate reviewed notes when either origin/main or the selected release baseline changes
  • preserve public tag names in full changelog links and the existing release command interface

validation

  • just ci
  • pnpm test:release-scripts

select prerelease baselines from the latest tag and stable baselines from the previous stable release. refresh release tags and fall back to the first prerelease changelog baseline for initial stable promotion.
@kalvinnchau
kalvinnchau requested a review from a team August 13, 2026 19:21
ignore local-only and remotely deleted tags when selecting release note baselines. add regression coverage for both cases.

@morgmart morgmart left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated code review

REQUEST_CHANGES: the stable-note flow can select an unpushed local stable tag, and generated notes can be approved against a stale main snapshot, so a published release may omit shipped changes from its changelog. Static review covered all three changed files and the full exact three-dot comparison. The final self-check covered every changed release flow, consent, accessibility and i18n applicability, lifecycle/race/error behavior, test honesty, project rules, duplicates, and severity evidence; no other supported findings remained. Supplied GitHub evidence was structurally valid and inspected: seven checks were successful and Frontend checks and unit tests was still in progress at capture time; required checks still govern merge readiness.

Deterministic publication result: 2 blocking and 0 non-blocking finding(s) publishable; 0 duplicate(s) suppressed.

Comment thread scripts/release/release.mjs Outdated
Comment thread scripts/release/release.mjs
recheck the reviewed main cutoff after approval. fast-forward main, regenerate release notes, and require fresh approval when the cutoff changes.
fetch published tags into an isolated pruned namespace and regenerate approved notes when the selected baseline changes. preserve public tag names in comparison links.
@kalvinnchau
kalvinnchau merged commit 54e606a into main Aug 13, 2026
10 checks passed
@kalvinnchau
kalvinnchau deleted the fix/cumulative-stable-release-notes branch August 13, 2026 20:18
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