Repository navigation
fix(release): reuse admitted changelog descendants - #178152
Conversation
|
@clawsweeper review |
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
🦞👀 Re-review progress:
|
|
Codex review: needs real behavior proof before merge. What this changesAllows independently admitted changelog-only release descendants to reuse their parent's product-validation evidence. Example: A qualified 2026.8.28 candidate gains only CHANGELOG/2026.8.28.md and its matching contribution record.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open: it repairs a current release-validation limitation, and the latest commit addresses the prior execution-plan finding; no additional concrete code defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherFull Release Validation consumes candidate admissions, retained workflow evidence, and GitHub commit comparisons to select reusable product checks and authenticate evidence for release consumers. flowchart TD
A[Current candidate admission] --> C[Shared evidence validator]
B[Retained parent admission and evidence] --> C
D[GitHub changelog comparison] --> C
C --> E[Release execution plan]
E --> F[Release decision]
F --> G[Publication artifact consumers]
Technical reviewBest possible solution: Retain the shared admission and changelog-policy owners, preserving separate parent evidence, descendant admission, and exact descendant publication bytes. Do we have a high-confidence way to reproduce the issue? Current-main source rejects independently admitted changelog descendants through exact qualification identity equality; no target code or tests were executed during this review. Is this the best way to solve the issue? The patch repairs selection and execution-plan validation through existing owners while preserving exact-target identity checks and the shared changelog classifier. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 10f02efb0e73. Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: No concrete authority bypass was found, but descendant evidence acceptance still requires final-effect verification. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +103, Other +55. Total +158 across 5 files. Added test files: 0. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 HistoryReview history (2 earlier review cycles)
Reviewed October 20, 2026, 4:04 AM ET / 08:04 UTC (Revision 3). |
Co-authored-by: RomneyDa <[email protected]>
1ddbc70 to
640bb82
Compare
|
Repaired the production identity path from the ClawSweeper finding: current dispatch/admission now stay bound to descendant B, retained evidence stays bound to admitted parent A, and reuse requires the existing strict A→B changelog classifier plus identical publisher/policy/coverage/non-revision inputs. The shell prefilter now binds the retained root to its own authenticated A receipt. Full focused suites pass 65/65; the root-scripts type stripe passes; changed input, changed P, and revoked P all reject before release consumers. @clawsweeper re-review |
|
@clawsweeper re-review Please review repaired head The production identity mismatch is addressed by authenticating the executing descendant B through the current admission while independently retaining parent A's evidence identity, then requiring the proven changelog-only A→B delta and equality of all non-revision qualification inputs. The production-path fixture now dispatches as B while consuming A evidence, and the qualification suite proves changed inputs, changed publisher identity, and revoked publisher authority are rejected before release consumers. The PR body contains the authority model and validation evidence (65 focused tests, typecheck shard, lint, format, and diff checks). |
|
🦞👀 Re-review progress:
|
Co-authored-by: RomneyDa <[email protected]>
|
Addressed the descendant-validation finding in
Validation: 29 focused tests passed; @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
* fix(release): reuse admitted changelog descendants Co-authored-by: RomneyDa <[email protected]> * fix(release): validate admitted descendant reuse at seal Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Related: https://github.com/openclaw/maintainers/blob/main/release/retrospectives/issue-ledger.md#rri-12
What Problem This Solves
Fixes candidate-owned Full Release Validation reuse refusing a release candidate whose code parent was already qualified and whose only descendant changes are the selected split changelog files.
User Impact
Release operators can carry product validation forward across a proven changelog-only descendant instead of rerunning every FRV child for hours.
Authority Model
The production request authenticates both revisions independently:
A;B;merge-base(A, B) = Aand permits only the selected changelog paths/statuses;The shell prefilter checks the retained root against its authenticated
Aadmission, while the shared validator separately authenticatesBand proves the A→B delta. Exact-target reuse keeps the stricter full admission-identity equality.Evidence
pnpm exec vitest run test/scripts/find-reusable-release-validation.test.ts test/scripts/release-ci-summary.qualification.test.ts— 65 passed, including real B-dispatch/A-evidence selection and changed-input/P/revoked-P rejection.OPENCLAW_LOCAL_CHECK=0 node scripts/run-tsgo-core-test-shards.mjs --root-stripe 2/4— passed.pnpm exec oxlint scripts/release-ci-summary.mjs test/scripts/find-reusable-release-validation.test.ts test/scripts/release-ci-summary.qualification.test.ts— clean.pnpm exec oxfmt --check scripts/github/find-reusable-release-validation.sh scripts/release-ci-summary.mjs test/scripts/find-reusable-release-validation.test.ts test/scripts/release-ci-summary.qualification.test.ts— clean.git diff --check— clean.Independent semantic review found no P0/P1/P2 authority-bypass or binding issue after the repair. The canonical Codex Auto Review command is unavailable on this host because there is no
codexexecutable.