Repository navigation
fix(release): initialize changelog sections - #180237
Conversation
Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR creates a missing release changelog skeleton when running the verifier with --write-ledger. Example: Generate notes for 2026.7.1-beta.1 when only the prior split release exists.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored PR addresses a real release-tooling gap, but its new initialization path cannot complete contribution-record generation for stable releases. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe release-note verifier combines a selected Git history range with release Markdown, validates contribution coverage, and writes split changelog artifacts through the shared changelog owner. flowchart TD
A[Release maintainer] --> B[Verifier CLI]
B --> C[Find or initialize release]
C --> D[Shared changelog writer]
B --> E[History and contribution inventory]
E --> F[Editorial and record validation]
F --> D
D --> G[Split entry record and index]
Technical reviewBest possible solution: Let initial inventory generation save stable contribution records before editorial prose is complete, using the shared writer while preserving strict final verification. Do we have a high-confidence way to reproduce the issue? Current main unconditionally loads the requested release section and throws when it is absent; source inspection establishes the failure without executing target code. Is this the best way to solve the issue? Reusing the existing writer is a focused solution, but the beta-only regression misses the stable editorial check that prevents the promised record from being saved. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b320b79b4185. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceTests +25, Other +17. Total +42 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 21, 2026, 11:26 PM ET / October 22, 2026, 03:26 UTC. |
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Summary
--write-ledgerWhy
Starting release-note generation required manually creating the target section before the verifier could build its contribution record. The initial writer flow now creates that target skeleton itself, while preserving existing entries and the split-layout requirement.
Closes RRI-175.
Testing
pnpm exec vitest run test/scripts/verify-release-notes.test.ts --silent(127 passed)git diff --checkThe integration test begins with only a prior split release, then verifies the target entry and contribution record are created together.