Repository navigation
fix(ci): restore the Git pin and resident package in updater acceptance - #205175
tideclaw-bot wants to merge 2 commits into
Conversation
Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8e6d786a-d944-493c-88c8-774b069266cd
|
🦞👀 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 changesThis PR restores the selected source’s pnpm pin in the synthetic Git fixture and lets the admission probe inspect the updated resident package. Example: The missing-load-path update activates $OPENCLAW_STATE_DIR/git-install/openclaw.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs two source-confirmed acceptance-fixture failures without weakening their assertions, and no introduced defect was found; the reviewed head still awaits Docker CI. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRelease acceptance scripts turn candidate packages and selected source metadata into synthetic installations, exercise update transitions, and produce assertions and diagnostic artifacts. flowchart TD
A[Selected source metadata] --> C[Synthetic Git fixture]
B[Candidate npm artifact] --> C
C --> D[Channel switch acceptance]
B --> E[First hop update]
E --> F[Verified update receipt]
F --> G[Resident admission probe]
G --> H[Marker and profile assertions]
Technical reviewBest possible solution: Retain the focused fixture repair and let the reviewed head complete its existing Docker acceptance gate. Do we have a high-confidence way to reproduce the issue? Source inspection establishes both failures: frozen Git preflight requires the missing pin, and the original admission probe rejects the resident slot; the linked acceptance jobs failed, but no target code was executed during this review. Is this the best way to solve the issue? The patch is the smallest complete repair using existing fixture preparation, frozen-source reading, and verified-receipt routing, while preserving the legacy route and complete profile comparison. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 90d8787ce3f4. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +81, Other +40. Total +121 across 6 files. Added test files: 1. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
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 November 25, 2026, 2:39 AM ET / 07:39 UTC. |
What Problem This Solves
The release-candidate channel-switch lane and its plugin-prerelease variant both stopped at
package → Git dev. Their retained receipts identifyimmutable-pnpm-pin-requiredbefore a candidate build could run; the generic recovery lineruntime-verification-failedwas not the failing check. Separately, the first-hop missing-load-path lane finished updating and Doctor preserved the config, but its final entry probe rejected the resident launcher slot ($OPENCLAW_STATE_DIR/git-install/openclaw) because it expected only the original npm prefix.User Impact
Release operators can exercise the full channel switch and test the admission entry of the actual updated package. These are fixture fixes; updater product code, recovery admission, and managed-artifact isolation are unchanged.
Why This Change Was Made
The npm artifact intentionally lacks source-only
packageManagermetadata. Restore the selected source’s exact pnpm pin only in the detached synthetic Git checkout, before generating its frozen lockfile; leave the packed/npm install untouched. Select the final first-hop probe route from the existing verified update receipt. For a resident update, require its exact slot and an in-profile, direct release target, and compare the entire profile after removing only the probe-owned marker. The marker still must survive the real entry invocation, and the missing-path warning and no-write assertions still apply.Evidence
b6c3a6748b6a31f94f430fb111cb591d670c8c0ccandidate artifact and its sealed staged registry. Beta, package → Git dev, local-edit exclusion, Git → package stable, and cleanup assertions all passed (OK, exit 0).dist/index.js update admitfrom the resident-shaped future fixture, returnedconfigured-plugin-path-unavailable, preserved the pending marker, and found all 45,690 profile artifacts unchanged. The full managed-service/Doctor lane still needs Docker replay: this host has no Docker daemon andgateway installcorrectly refused the non-account-home scratch service. The service guard was not bypassed.Worked on by