Repository navigation
fix(update): bridge 2026.11.5 updaters - #200662
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesAdds the published 2026.11.5 release to the inventory that generates compatibility bridges for already-running updaters. Example: A 2026.11.5 updater reaches failure recovery after replacing its package with a build from main.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR supplies missing stable-updater compatibility coverage without an identified patch defect; the same entry also appears in the open release-closeout PR. Priority: P1 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherRuntime postbuild reads historical release imports from the inventory and generates module bridges to current implementations for use after package replacement. flowchart LR
A[Published release imports] --> B[Compatibility inventory]
B --> C[Runtime postbuild]
D[Current implementation exports] --> C
C --> E[Packaged module bridges]
F[Running stable updater] --> E
E --> G[Recovery implementation]
Technical reviewBest possible solution: Retain the generated stable-release entry and let the existing postbuild owner supply the historical updater bridges. Do we have a high-confidence way to reproduce the issue? Source establishes missing historical filenames and the production bridge-generation path; no shipped updater reproduction was run during this read-only review. Is this the best way to solve the issue? This is the smallest complete repair through the established inventory owner, with no new runtime machinery or unrelated changes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2c1f967bc1dc. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther +1871. Total +1871 across 1 file. Added test files: 0. 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. LabelsLabel 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 Reviewed November 17, 2026, 10:40 AM ET / 15:40 UTC. |
|
Merged via squash.
|
Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit 350c9f1) Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit 350c9f1) Release adaptation: none. Companion disposition: #200659 projects cold archive payloads and #200733 preserves missing payload warnings; #200662 retains the stable 11.5 upgrade bridge; #200786 keeps controlled npm install environment. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 67c71dddf43d6e4ebd6e45d438706ece0742bba6)
* fix(update): include cold archives in candidate snapshots Co-authored-by: steipete <[email protected]> * fix(update): preserve file archives in rehearsal snapshots Co-authored-by: steipete <[email protected]> * fix(update): preserve source WAL state during archive inventory Classify cold archive SQL under its existing candidate-state subprocess owner. Preserve incomplete WAL source families so header inspection retains private cleanup custody. Co-authored-by: steipete <[email protected]> --------- Co-authored-by: steipete <[email protected]> (cherry picked from commit 802e3f7) Release adaptation: none. Companion disposition: #200659 projects cold archive payloads and #200733 preserves missing payload warnings; #200662 retains the stable 11.5 upgrade bridge; #200786 keeps controlled npm install environment. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 7384191252d0eb5c3add0e64ff9402d4afa55886)
…200733) One archived (cold) transcript file that was already missing from live state no longer blocks every update: the rehearsal snapshot keeps it missing, reports a warning, and only a Doctor repair that reads that archive fails, as it would on live state. Dangling or unreachable links count as missing. On Windows the rehearsal always copies archives instead of hard-linking them, because removing a hard link on a filesystem without POSIX delete (for example an SMB share) clears the live file's read-only attribute. Follow-up to #200659. Refs #200594. Proof: 11.4 -> main with one missing archive refused at snapshot inventory (ENOENT); 11.4 -> fix succeeded over CLI and managed update.run with the warning. Native Windows Server 2025 probe confirmed the SMB read-only attribute loss through a hard link and none with a copy. Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit 427c857) Release adaptation: none. Companion disposition: #200659 projects cold archive payloads and #200733 preserves missing payload warnings; #200662 retains the stable 11.5 upgrade bridge; #200786 keeps controlled npm install environment. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit badc5c39bc62a5573ab1f8d73a5233cd0b85a3a4)
…#200786) Co-authored-by: steipete <[email protected]> (cherry picked from commit 9107009) Release adaptation: none. Companion disposition: #200659 projects cold archive payloads and #200733 preserves missing payload warnings; #200662 retains the stable 11.5 upgrade bridge; #200786 keeps controlled npm install environment. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit fc54a13ecebe318ca0126947193bb66700018d2f)
What Problem This Solves
Updates driven by a 2026.11.5 updater can fail with
ERR_MODULE_NOT_FOUNDon their recovery path when the target is a build from main.User Impact
2026.11.5 is now npm
latestandbeta. Users on 2026.11.5 who update to the next release keep a working failure and recovery path: after the package swap, their old updater still finds the chunks it lazily imports, so a failed update stays recoverable instead of crashing mid-recovery.Why This Change Was Made
2026.11.5 was published to npm on 2026-11-17, but main's update compatibility inventory stops at 2026.11.5-beta.4. Without an inventory entry, builds from main ship no post-swap bridges for 2026.11.5 updaters. This is the same gap previously fixed for 11.2/beta.1 (#195249), 11.3/beta.2 (#197844), beta.3 (#199653) and beta.4 (#200152).
The inventory was regenerated with
pnpm update:compat:genover the full published window (every existing version plus--registry-release 2026.11.5), from integrity-verified npm tarballs. The diff only adds lines: every existing entry is byte-identical. The single addition is2026.11.5(77 chunks, commite13cf15ece9, thev2026.11.5tag).Evidence
npm view [email protected]reports the samedist.integrityandopenclaw.schemaVersions(state 36, agent 38) as the new entry. npm records nogitHead; the commit matches the release tag.scripts/runtime-postbuild.mtswrites these bridges on every build, so the PR CI build exercises the new entry natively.Notes
The inventory has now lagged an npm publish six times (#195249, #196855, #197844, #199653, #200152, and this one). Regenerating it at release cut or publish would close the gap; that remains a maintainer decision.
Separately, the inventory inside the published 2026.11.5 package covers only 2026.9.1 through 2026.10.9. Updaters from 10.10 through 11.4, and the 11.5 betas, that target 2026.11.5 therefore have no post-swap bridges on their failure path. Fixing that needs a release-branch regeneration, which this main PR does not change.