Repository navigation
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 maintainer review before merge. What this changesThe release-note verifier explains shallow-history merge-base failures and provides a Git recovery command. Example: Verify 2026.7.2-beta.1 against v2026.7.1 in a depth-1 clone with the baseline tag fetched separately.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR provides a focused, useful diagnostic fix that current main still lacks; no actionable correctness or security defects were found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe release-note CLI consumes a frozen baseline, candidate ref, and version, resolves their history range, then discovers contributions and verifies release notes. flowchart TD
A[Baseline and candidate refs] --> B[Release-note verifier]
B --> C[Git ancestry check]
C --> D[Merge-base resolution]
D --> E[Contribution verification]
D --> F[Recovery diagnostic]
Technical reviewBest possible solution: Keep the focused diagnostic helper and real-Git regression while preserving the existing release-range and provenance checks. Do we have a high-confidence way to reproduce the issue? Current main exposes the generic merge-base exception on the reported shallow-history path, and the added real-Git fixture reaches that exact boundary; no target code was executed during this review. Is this the best way to solve the issue? The helper is a small, appropriately placed repair: it preserves successful merge-base resolution and fail-closed behavior while explaining recovery before release-note writes begin. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b1615fd4432c. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +27, Other +28. Total +55 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label 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 31, 2026, 11:52 PM ET / November 1, 2026, 03:52 UTC. |
Problem
RRI-597: beta release-note verification can run in a shallow checkout that contains both the frozen baseline tag and candidate target but not their connecting history. In that state, ancestry cannot be proven and the follow-up
git merge-baseexits with only an opaqueCommand failedexception.Solution
git fetch --unshallow originrecovery command.Evidence
Command failed: git merge-base v2026.7.1 HEADfailure in a real shallow clone.test/scripts/verify-release-notes.test.ts: 129/129 passed.git diff --checkpassed.