Skip to content

fix(update): bridge 2026.11.5-beta.4 updaters - #200152

Merged
steipete merged 1 commit into
mainfrom
codex/update-compat-beta4
Nov 16, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/update-compat-beta4

Conversation

@steipete

@steipete steipete commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: updates driven by a 2026.11.5-beta.4 updater can fail with ERR_MODULE_NOT_FOUND on 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:gen over 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 is 2026.11.5-beta.4 (77 chunks, commit 2c173a37a48, the v2026.11.5-beta.4 tag).

Evidence

  • Registry match: npm view [email protected] has the same dist.integrity and openclaw.schemaVersions (state 36, agent 38) as the new entry. npm records no gitHead; the commit matches the release tag.
  • Bridge requirements: beta.4 requires exactly the same (origin module, symbol) exports and importer owners as beta.3 (184 requirements, none added or removed). Main already serves beta.3's set. scripts/runtime-postbuild.mts writes these bridges on every build, so the PR CI build exercises the new entry natively.
  • Reviews: autoreview was scoped-clean at P2. An independent read-only Codex review ran the inventory parser, checked ordering and beta.3 consistency, and found no defects.
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.

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.
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review November 16, 2026 15:23
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL labels Nov 16, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T15:25:40.096774Z ed62eca Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@steipete
steipete merged commit ad678e5 into main Nov 16, 2026
179 of 183 checks passed
@steipete
steipete deleted the codex/update-compat-beta4 branch November 16, 2026 15:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Adds 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.

  • Before: Its lazy import of update-command-failure-recovery-zcwc0OKw.mjs can fail with ERR_MODULE_NOT_FOUND.
  • After: The build generates the recorded bridge to the current verifyUpdateFailureRecovery implementation.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The rating reflects the runtime-proof gate rather than a discovered patch defect; no persisted format or migration changes.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A failed update driven by the published beta.4 updater can crash while attempting recovery.
Reason: This restores the established updater compatibility contract, and the maintainer-authored direction requires no additional product decision.

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
Reviewed head: ed62ecaa4bc265adc5236e09305319c7e75104c0

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Supply redacted terminal output or logs showing beta.4 updating through the shipped CLI into post-swap failure recovery, plus the required latest-stable upgrade check with settings and data intact; no base-failing/head-passing runtime demonstration is supplied.
Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Release-specific updater compatibility inventory keeps the original intent (05bf4e0: Preserve lazily imported modules needed by already-running updaters after the installation is replaced.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit d3f4f94 adds scripts/lib/update-compat-inventory.json:30808 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d3f4f94fbb46; files: scripts/lib/update-compat-inventory.json)
  • Dallin Romney: Raw commit bd0557f adds scripts/lib/update-compat-inventory.json:27518 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: bd0557f4fac0; files: scripts/lib/update-compat-inventory.json)

PR surface

Other +1871. Total +1871 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1871 0 +1871
Total 1 1871 0 +1871

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P1: A published beta updater can lose its recovery path after package replacement when updating to a main-derived release.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P1: A published beta updater can lose its recovery path after package replacement when updating to a main-derived release.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 16, 2026, 10:42 AM ET / 15:42 UTC.

vincentkoc added a commit that referenced this pull request Nov 16, 2026
…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)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
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]>
RomneyDa pushed a commit that referenced this pull request Nov 18, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant