Repository navigation
fix(release): isolate first-hop controls per source - #157680
Conversation
|
🦞👀 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. |
5daed0b to
d5554d1
Compare
|
Codex review: blocked before merge. Reviewed September 24, 2026, 11:16 PM ET / September 25, 2026, 03:16 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch creates a missing-chunk control for each frozen source release and records the future package’s removed and retained compatibility chunks in the release-validation summary. Merge readiness⛔ Blocked before merge - 1 item remains Current main still has the reported release-validation defect. The current PR addresses the prior review’s proof gap with a successful recorded-source Docker run, and this review found no blocking defect. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s release validation tests upgrades from frozen published packages to a candidate package. Its fixture builder prepares test packages, Docker survivor lanes perform the upgrades, and their summaries feed release evidence. flowchart LR
A[Frozen source releases] --> B[Source compatibility inventory]
B --> C[Per-source missing-chunk fixture]
D[Candidate package] --> C
D --> E[Future package fixture]
C --> F[Docker upgrade survivor]
E --> F
F --> G[Release summary]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +40, Other +32. Total +72 across 4 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Land the per-source control and receipt-backed summary through the normal reviewed release-validation path. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main creates one negative fixture before iterating frozen releases, although each release can identify a different missing chunk. I did not execute a failing current-main run. Is this the best way to solve the issue? Yes. The patch uses the existing fixture producer and Docker survivor path to bind controls to each source and report facts from the package receipt. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6b5fb4b23509. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
d5554d1 to
02e938e
Compare
|
Exact-head repair evidence for
The accepted review finding is fixed: every recorded-source lane now receives the second-hop fixture inside its own mounted artifact directory, and the owner test verifies each per-source copy against the root receipt. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Exact-head production-boundary proof is now green: https://github.com/openclaw/openclaw/actions/runs/36087351050
The exact-head PR CI gate is also green, GitHub reports the PR non-draft and @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Fixes: first-hop compatibility validation can remove the wrong lazy chunk or report a false second-hop result when validating multiple frozen source releases.
Related: #157608
User Impact
User impact: release validation now proves each frozen source against its own exact missing-chunk control and reports the chunks actually retained by the future package.
Why This Change Was Made
The negative fixture was shared across all source releases and removed the candidate's complete recorded compatibility set. Each source now receives a dedicated fixture that removes only its selected import. The future fixture receipt carries the actual removed and retained chunks into the summary instead of hard-coding absence.
The production-script delta is +31 lines. The growth establishes the missing owner boundary: per-source fixture creation plus producer-recorded compatibility facts. The existing shared fixture and inferred summary paths are removed.
Evidence
OPENCLAW_VITEST_MAX_WORKERS=1 pnpm test test/scripts/update-first-hop-package-fixtures.test.ts— 32/32 passed; 17.55 s wall on the final exact branch.bash -n scripts/e2e/update-first-hop-compat-docker.sh scripts/e2e/lib/upgrade-survivor/update-first-hop-compat.sh— passed.node scripts/check-changed.mjs -- <changed paths>— every applicable gate passed except the unrelated current-mainUpdateStepResultexport regression; fix(update): restore npm-pack helper typechecking #157659 is the active owner fix.