Repository navigation
fix(release): preserve canonical main PR provenance - #104166
Conversation
|
Codex review: needs changes before merge. Reviewed July 11, 2026, 12:42 AM ET / 04:42 UTC. Summary PR surface: Source +176, Tests +405, Docs +25, Other +187. Total +793 across 12 files. Reproducibility: yes. Create a release target, then add an equivalent forward-port to main after that target; the new full Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Filter canonical main commits and their PR associations to the release target timestamp, then add branch-level regression fixtures proving later PR-based and direct forward-ports cannot change historical provenance. Do we have a high-confidence way to reproduce the issue? Yes. Create a release target, then add an equivalent forward-port to main after that target; the new full Is this the best way to solve the issue? No in its current form. Canonical-main matching is the right ownership boundary, but it must be bounded by the release target time to preserve historical release truth. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e009a41410a6. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +176, Tests +405, Docs +25, Other +187. Total +793 across 12 files. View PR surface stats
Acceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
e4ceb93 to
e0174dc
Compare
|
Merged via squash.
|
* fix(release): canonicalize changelog PR provenance * fix(release): finalize changelog provenance policy * fix(release): resolve canonical PRs from current main * fix(release): support divergent beta baselines
What Problem This Solves
Resolves a release-note provenance problem where backport PRs could replace the original merged PR from
main, making changelogs point at integration mechanics instead of the canonical contribution.Why This Change Was Made
The release-note verifier now resolves equivalent release commits against current
origin/main, preferring explicit cherry-pick origins and then unique same-author, same-subject, overlapping-path matches. The release process also makes changelog generation the final candidate source mutation, after version preparation and backports.User Impact
Release notes consistently credit and link the original merged
mainPR. A release-branch PR remains only when the change has not yet been forward-ported; direct main forward-ports suppress the backport PR without inventing a replacement PR.Evidence
pnpm test:serial test/scripts/verify-release-notes.test.ts: 15/15 passed on Blacksmith Testbox.pnpm check:changed: passed on Blacksmith Testbox run https://github.com/openclaw/openclaw/actions/runs/29139464071.git diff --check: passed.