Repository navigation
fix(update): bridge 2026.11.5-beta.4 updaters - #200152
Conversation
2026.11.5-beta.4 was published to npm on 2026-11-15 without a matching entry in the update compatibility inventory, so beta.4 updaters would have no post-swap recovery bridges on a main target and could hit ERR_MODULE_NOT_FOUND on their failure path. Regenerated the published window with pnpm update:compat:gen from integrity-verified npm tarballs. Existing entries are byte-identical; the only addition is 2026.11.5-beta.4 (77 chunks, commit 2c173a3). Its required bridge exports are identical to beta.3's (184 module, symbol and import requirements), which main already serves.
|
🦞👀 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. |
|
Merged via squash.
|
|
Codex review: needs maintainer review before merge. What this changesAdds the published 2026.11.5-beta.4 release to the inventory used to generate compatibility bridges for older updaters. Example: A 2026.11.5-beta.4 updater reaches failure recovery after installing 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 addresses a current updater compatibility gap with a focused inventory addition; no introduced code or security defect was found. Priority: P1 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe build consumes verified release inventory records and emits old module paths that forward updater imports to current implementations after package replacement. flowchart LR
A[Published release metadata] --> B[Compatibility inventory]
B --> C[Runtime postbuild]
D[Current implementation exports] --> C
C --> E[Packaged compatibility bridges]
F[Running beta.4 updater] --> E
E --> G[Current recovery implementation]
Technical reviewBest possible solution: Retain this generated release entry so the existing postbuild owner supplies beta.4 recovery bridges. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the missing beta.4 bridge coverage and its production generator path; no updater reproduction was run during this read-only review. Is this the best way to solve the issue? The inventory refresh is the smallest complete fix using the established owner, with no additional runtime machinery or unrelated changes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 59d9759d0250. 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:
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 16, 2026, 10:42 AM ET / 15:42 UTC. |
…tgres-compaction-watched-prompt-20261116 * commit '9e810f7101557b006d5ff223d955f14dc43329f0': (23 commits) chore(ui): refresh control ui locales (#200164) fix(update): stop reporting unset git config keys as failing checks (#200153) test: consolidate redundant coverage (198793, part 2) (#198936) revert: skills-used full-transcript scan on every chat history page (#200159) refactor(sessions): follow the chat by key for stored delivery references (#200099) fix(update): bridge 2026.11.5-beta.4 updaters (#200152) fix(gateway): avoid filesystem stalls during catalog refresh (#200136) fix(ci): match update refusal probe to selected candidate (#200043) fix(agents): keep read-only steering carriers when publishing suppressed user envelopes (#200156) test: consolidate suites while retaining recovery owners (#198933) test: consolidate redundant coverage (198789, part 2) (#198932) refactor(cli): consolidate camera command tests (#200144) fix(cli): avoid initializing provider runtime during cleanup (#200139) fix(ui): show mobile destinations without the drawer exit delay (#198879) chore(ui): refresh control ui locales (#200146) fix(knowledge): keep historical claims distinct and reject changed retries (#200140) fix(ui): align dropdown arrows on mobile New Session improve(sessions): archive inactive transcripts by default (#199899) refactor(agents): own background commands and yield waits by the chat (#200097) fix(models): guessed non-chat models leave the default picker instead of being refused (#200102) ...
2026.11.5-beta.4 was published to npm on 2026-11-15 without a matching entry in the update compatibility inventory, so beta.4 updaters would have no post-swap recovery bridges on a main target and could hit ERR_MODULE_NOT_FOUND on their failure path. Regenerated the published window with pnpm update:compat:gen from integrity-verified npm tarballs. Existing entries are byte-identical; the only addition is 2026.11.5-beta.4 (77 chunks, commit 2c173a3). Its required bridge exports are identical to beta.3's (184 module, symbol and import requirements), which main already serves. Co-authored-by: Peter Steinberger <[email protected]>
2026.11.5-beta.4 was published to npm on 2026-11-15 without a matching entry in the update compatibility inventory, so beta.4 updaters would have no post-swap recovery bridges on a main target and could hit ERR_MODULE_NOT_FOUND on their failure path. Regenerated the published window with pnpm update:compat:gen from integrity-verified npm tarballs. Existing entries are byte-identical; the only addition is 2026.11.5-beta.4 (77 chunks, commit 2c173a3). Its required bridge exports are identical to beta.3's (184 module, symbol and import requirements), which main already serves. Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit ad678e5) Release adaptation: inventory-only backport; copy the original generated records for 2026.11.5-beta.4. Preserve every existing release record and the selected 2026.11.6 identity; omit unrelated closeout code and metadata. No bridge publication. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
What Problem This Solves
Fixes: updates driven by a 2026.11.5-beta.4 updater can fail with
ERR_MODULE_NOT_FOUNDon their recovery path when the target is a build from main.User Impact
User impact: beta.4 users updating to the next release keep a working failure and recovery path. Their old updater finds the chunks it lazily imports after the package swap, and a failed update stays recoverable instead of crashing mid-recovery.
Why This Change Was Made
2026.11.5-beta.4 was published to npm (beta tag) on 2026-11-16 02:41Z, but main's update compatibility inventory stops at 2026.11.5-beta.3. Without an inventory entry, builds from main ship no post-swap bridges for beta.4 updaters. This is the same gap fixed for 11.2/beta.1 (#195249), 11.3/beta.2 (#197844) and beta.3 (#199653).
The inventory was regenerated with
pnpm update:compat:genover the full published window, from integrity-verified npm tarballs. Every existing entry is byte-identical, including 2026.11.4, which already matches its npm integrity. The only addition is2026.11.5-beta.4(77 chunks, commit2c173a37a48, thev2026.11.5-beta.4tag).Evidence
npm view [email protected]has 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
This is the fifth time the inventory has lagged an npm publish (#195249, #196855, #197844, #199653, and now beta.4). Regenerating it at release cut or publish would close this gap; that remains a maintainer decision.
Separately, the inventory inside the published 2026.11.4 package ends at 2026.10.7, so 10.8 through 11.3 updaters targeting 11.4 have no post-swap bridges on their failure path. That needs a release-branch regeneration, which this main PR does not change.