Skip to content

fix(update): a pnpm update no longer fails after activating when the installed release came from an update - #205078

Merged
RomneyDa merged 1 commit into
openclaw:release/2026.11.11from
fuller-stack-dev:backport/2026.11.10-pnpm-same-schema-update
Nov 26, 2026
Merged

RomneyDa merged 1 commit into
openclaw:release/2026.11.11from
fuller-stack-dev:backport/2026.11.10-pnpm-same-schema-update

Conversation

@fuller-stack-dev

@fuller-stack-dev fuller-stack-dev commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Related: #205167 (what users see and how to recover), #204836, #203458, #201740

Status on November 25: 2026.11.10 shipped without this, so it now targets release/2026.11.11

  • npm latest is 2026.11.10, published from 6ea542fd97e. That is the base this PR was measured against, so the published 2026.11.10 has the fault described below.
  • This PR now targets release/2026.11.11 (head 1be6d3ddc6b when retargeted). The commit is unchanged. git merge-tree --write-tree against that head is clean. The 8 commits that line adds over v2026.11.10 touch none of the five files here and nothing under src/update/, src/infra/ or src/state/. Rechecked on November 25 at 16:20 UTC against 7038eed8f33, now 30 commits over v2026.11.10: the merge is still clean, the schema is still state 40 and agent 42, and none of the five files here is touched. That head does change other files under src/infra/ and src/state/ (SQLite snapshots and read-only inspection). The R, G and B cells ran on the 2026.11.10 base. The C cells ran this commit on 1be6d3ddc6b, the 2026.11.11 head at the time; nothing has been rerun on 7038eed8f33.
  • What this commit can and cannot do from here:
    • The update from the published 2026.11.10 to 2026.11.11 is run by the installed 2026.11.10. A pnpm install that reached 2026.11.10 through openclaw update gets the exit 1 once, whether or not 2026.11.11 contains this commit. The candidate does not change it (rows B1, B2 and B4 below).
    • With this commit in 2026.11.11, the update after that is run by a fixed updater and exits 0 once the failed run is repaired (row C1 u4). Without it, the same exit 1 repeats on every same-schema release (row C4 u3).
  • The beta hop is now measured, and it fails. A pnpm install that got 2026.11.10-beta.3 through openclaw update and then updates to the final 2026.11.10 exits 1 with update-recovery-pending. A beta.3 from a plain pnpm add -g updates cleanly.
Cell Installed version, and how it got there Target Exit Outage Recorded run
B1 2026.11.10-beta.3, by openclaw update 2026.11.10, pack of the base 1 67 s running
B2 2026.11.10-beta.3, by openclaw update 2026.11.10, pack of this PR 1 75 s running
B3 (control) 2026.11.10-beta.3, by pnpm add -g 2026.11.10, pack of the base 0 69 s succeeded
B4 u2 2026.11.10-beta.3, by openclaw update published 2026.11.10 1 68 s running
B4 repair openclaw update repair, as the failed update prints none 0 52 s succeeded
B4 u3 published 2026.11.10, after that repair 2026.11.11, pack of the base with a version bump 1 72 s running

In every failing row the new version is installed, openclaw --version works and the Gateway serves the target. The schema is state 40 and agent 42 before and after each of these hops. Same setup as the cells in Evidence; one run each. The recorded facts of B1 to B4 are in this comment.

Measured after that, with the published packages as the starting point (cells C1, C3 and C4). Each cell starts with pnpm add -g [email protected] from npm and one openclaw update --yes to the published 2026.11.10. That first hop exited 0 in all three, with 64 to 74 s of outage.

Cell Step Updater, and how it was installed Target Exit Outage Recorded run
C1 u2 openclaw update --yes published 2026.11.10, by openclaw update 2026.11.11 with this commit 1 76 s running
C1 watch none, for 17 minutes none running in all 41 status reads
C1 u3 openclaw update --yes 2026.11.11 with this commit, not repaired 2026.11.12 with this commit 1, refused after 1.7 s none running
C1 repair openclaw update repair, Gateway left running 2026.11.11 with this commit none 0 after 69 s 51 s succeeded
C1 u4 openclaw update --yes 2026.11.11 with this commit, repaired 2026.11.12 with this commit 0 69 s succeeded
C3 u2 openclaw update --yes published 2026.11.10, by openclaw update head of release/2026.11.15, schema 40/42 → 41/43 0 63 s succeeded
C4 u2 openclaw update --yes published 2026.11.10, by openclaw update 2026.11.11 without this commit 1 69 s running
C4 repair openclaw update repair 2026.11.11 without this commit none 0 after 71 s 52 s succeeded
C4 u3 openclaw update --yes 2026.11.11 without this commit, repaired 2026.11.12 without this commit 1 72 s running

What these rows show:

  • This commit ends the repeat. A 2026.11.11 with it updates to the next same-schema version with exit 0 (C1 u4). The same tree without it fails again (C4 u3).
  • One manual step remains for installs already on 2026.11.10. Their update to 2026.11.11 exits 1 whatever 2026.11.11 contains (C1 u2, C4 u2). The run record does not settle by itself: it stayed running in phase verifying for 17 minutes, and the Gateway journal has no reconcile line in that time. The next openclaw update is refused in 1.7 s and names openclaw update repair. After that one repair, updates are clean.
  • A schema-changing target is not affected (C3), with the same published 2026.11.10 as the updater.
  • Shortest recovery measured: openclaw update repair with the Gateway left running (69 to 71 s, about 51 s of outage), then openclaw update.
  • Left behind after the repair and the clean update (C1): openclaw update status still lists the failed run's recovery set as "unresolved after a failed update" and its next action is to inspect the capture's manifest.json. About 534 MiB of capture and about 534 MiB of database snapshot stay on disk for the 512 MiB store.

The same chain on macOS (cells MC1 and MC2: macOS 27.2 on arm64 in a local VM, the Gateway as a LaunchAgent, pnpm 12.23.0, the same packs, one run each). The first hop, published 2026.11.9 → published 2026.11.10, exited 0 in both with 75 and 81 s of outage.

Cell Step Target Exit Outage Recorded run
MC1 u2 openclaw update --yes from the published 2026.11.10 2026.11.11 with this commit 1 103 s running
MC1 watch none, for 5 minutes none running in all 31 status reads
MC1 u3 openclaw update --yes, not repaired 2026.11.12 with this commit 1, refused after 2.2 s none running
MC1 repair openclaw update repair, Gateway left running none 0 after 59 s 46 s succeeded
MC1 u4 openclaw update --yes 2026.11.12 with this commit 0 88 s succeeded
MC2 u2 openclaw update --yes from the published 2026.11.10 2026.11.11 without this commit 1 103 s running
MC2 repair openclaw update repair none 0 after 67 s 54 s succeeded
MC2 u3 openclaw update --yes 2026.11.12 without this commit 1 93 s running

macOS behaves like Linux here: the fault, the refusal, the repair and the effect of this commit are the same, and the messages match apart from IDs. Outages are longer (103 s against 69 to 76 s for the failing update). After MC1, openclaw update cleanup --dry-run lists the failed run's capture as protected (unresolved-failed-update, 560 MB) with 0 bytes to clean. The recorded facts are in this comment.

Packs for these cells, none published: "2026.11.11 with this commit" is release/2026.11.11 at 1be6d3ddc6b plus this commit applied without committing, so its build reports 1be6d3d. "2026.11.12" is the same tree with only a version bump. The packs without this commit are the unmodified 1be6d3ddc6b and its version bump. The 2026.11.15 pack is release/2026.11.15 at ae07e2709f3. The recorded facts of C1, C3 and C4 are in this comment.

What Problem This Solves

Fixes: on a pnpm global install, the second openclaw update after reaching 2026.11.10 fails with update-recovery-pending when the installed 2026.11.10 was itself put there by openclaw update and the target has the same database schema.

User Impact

With this commit in a release (2026.11.11 is the next one), a pnpm user who updated to that release can run a plain openclaw update to the next same-schema release and get exit 0, a finished run record, and a working openclaw command and Gateway, with no manual step.

Without it (measured on the unmodified release/2026.11.10 head), that update:

  • exits 1 with update-recovery-pending and First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost … Cannot find module,
  • leaves the run recorded as running; openclaw update status shows "needs attention" and two different next steps ("Stop the Gateway first … then run openclaw update repair" and "Next action: openclaw update cleanup --dry-run"),
  • needs a manual openclaw update repair; even after that, openclaw update status keeps reporting the recovery set as "unresolved after a failed update. Retained original state requires manual inspection".

The new version is installed, the Gateway serves it, and the openclaw command works in both cases. Nothing is lost; the failure is in the record and the next steps the user is told to take.

Update behavior: the fix runs in the updater, which is the installed version. It helps updates driven by a 2026.11.10 that contains it. The first update onto 2026.11.10 is unaffected either way (it migrates the schema and passed on the unmodified head, see the table).

Why This Change Was Made

A pnpm updater that an earlier openclaw update installed runs from its group's project-local store (<pnpm home>/global/v11/<group>/node_modules/openclaw). Activating the next version moves that group into the transaction backup, so the running updater's own dist disappears. Work started inside the update already loads workers through the retained-runtime generation. Process-wide owners that start workers from detached or earlier async contexts (the state lease heartbeat carrier, the file-log worker pool) still resolved them from the installed package, so their spawns failed with Cannot find module, the plugin lifecycle lease was lost, and the update ended update-recovery-pending while the new Gateway was already serving.

This is a port of #203458 from main. While it is bound, the retained-runtime generation also registers a process-wide resolver, and createCpuTrackedWorker applies it. Async-context bindings keep precedence, a URL the generation already produced is final, and nothing changes outside an update that retained its runtime.

Root cause, checked against the alternatives:

Cherry-pick for the release line

  • Base: release/2026.11.10 at 6ea542fd97e2876aa4c871ccc494ed5419a03c5c (refetched right before opening this PR; unchanged).
  • One commit: 8e3a9a19e4201da85cf324ccfef518855898897b, 5 files, +121/−2. No schema, config key, protocol, dependency, lockfile, retention or stored-field change.
  • Applies cleanly: git cherry-pick --no-commit 8e3a9a19e42 on a detached checkout of origin/release/2026.11.10 succeeded with no conflicts; git merge-tree --write-tree origin/release/2026.11.10 8e3a9a19e42 is clean.
  • The production hunks in runtime-worker-generation.ts, the new runtime-worker-process-generation.ts and the test file are byte-identical to main. Two differences from main:
    • main also moved two types into worker-cpu-types.ts to keep worker-cpu.ts under its line cap. This branch's worker-cpu.ts stays under the cap (oxlint clean), so only the 2-line change is ported.
    • wrapper-components.txt gets its entry at this branch's position.
  • Replaces fix(update): keep the openclaw command and Gateway working after a pnpm update #201740, which conflicts with this branch and carried 17 commits, including merges.
  • release/2026.11.11 at 1be6d3ddc6b918c9f095c9c468958f0d989cb1da: git merge-tree --write-tree with this commit is clean. That line is 8 commits ahead of v2026.11.10 and none of them touches these files.

Evidence

Packs built from the release branch with node scripts/package-openclaw-for-docker.mjs: 2026.11.10 is the commit under test, and 2026.11.11 is the same commit with only a local version bump (never published, same schema).

Each cell:

  • Linux Docker with a real systemd user Gateway, pnpm 12.23.0 global install.
  • A 512 MiB agent database under light writes (256 KiB/s) and a 250 ms /readyz probe.
  • Plain openclaw update --yes, with the pack served as the npm registry inside the container.
  • Cells ran one at a time.
Row Tested SHA Installed (how) Update to Exit Wall Gateway outage Afterwards
R2 u1 (first update) base 6ea542fd97e published 2026.11.9 (pnpm add) 2026.11.10, schema 38/36 → 42/40 0 136 s 69 s CLI and Gateway on 2026.11.10, run succeeded
R2 u2 base 6ea542fd97e 2026.11.10 (by openclaw update) 2026.11.11, same schema 1 update-recovery-pending 119 s 74 s CLI and Gateway on 2026.11.11; run stuck running; told to run openclaw update repair
R3 (repeat + next step) base 6ea542fd97e 2026.11.10 (by openclaw update) 2026.11.11, same schema 1 update-recovery-pending 124 s 79 s openclaw update repair exit 0 (72 s); status still lists an unresolved recovery set
R1 (control) base 6ea542fd97e 2026.11.10 (pnpm add) 2026.11.11, same schema 0 124 s 84 s CLI and Gateway on 2026.11.11, run succeeded
G2 u1 (first update) head 8e3a9a19e42 published 2026.11.9 (pnpm add) 2026.11.10, schema 38/36 → 42/40 0 128 s 65 s CLI and Gateway on 2026.11.10, run succeeded
G2 u2 head 8e3a9a19e42 2026.11.10 (by openclaw update) 2026.11.11, same schema 0 131 s 69 s CLI and Gateway on 2026.11.11, run succeeded, no recovery set or warning in update status
G1 (control) head 8e3a9a19e42 2026.11.10 (pnpm add) 2026.11.11, same schema 0 109 s 72 s CLI and Gateway on 2026.11.11, run succeeded

Red, unmodified release/2026.11.10 (6ea542fd97e), 2026.11.9 → 2026.11.10 → 2026.11.11:

pnpm-1110-red-R2.mp4

Green, this commit (8e3a9a19e42), same chain and fixture:

pnpm-1110-green-G2.mp4

The recordings replay the recorded cell logs and facts; they are not live captures.

Decisive raw lines, red R2 u2 (base)
⚠️ OpenClaw update failed: update-recovery-pending.
Failed: update — Exit code: unknown; Update 14b6386b-f68f-4c2e-8dbd-0cdb9e27e79f has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.

openclaw update status afterwards:

│ Update   │ needs attention · see run details below │
Abandoned update detected; the Gateway will reconcile its recorded outcome. Stop the Gateway first (openclaw gateway stop --force), then run openclaw update repair to reconcile it now.
Recorded verification: service running (2026.11.11); version verified; channels ready; HTTP ready; core ready.
Update recovery set 14b6386b-…: ambiguous
Next action: openclaw update cleanup --dry-run

R3, after openclaw update repair (exit 0) and another openclaw update --yes (already-current):

Update recovery set …/manifest.json: unresolved after a failed update. Retained original state requires manual inspection. …

Gateway processes in the two layouts (R1 passes, R2 fails):

R1: node … ~/um/pnpm-home/store/v11/links/@/openclaw/2026.11.10/<hash>/node_modules/openclaw/dist/index.js gateway
R2: node … ~/um/pnpm-home/global/v11/<group>/node_modules/openclaw/dist/index.js gateway
Decisive raw lines, green G2 u2 (head)
Update target: 2026.11.11
Update safety checks ran in the candidate updater (2026.11.11).
Phases: requested (14.21s) → staging (12ms) → validating (21.86s) → activating (60.06s) → restarting (3.35s) → verifying (27.96s)
Recorded verification: service running (2026.11.11); version verified; channels ready; HTTP ready; core ready.
Gateway downtime: 69.15s.

openclaw --version → OpenClaw 2026.11.11 (8e3a9a1); last run succeeded, 2026.11.10 → 2026.11.11; no Cannot find module in the update output.

Reproduce:

  1. Pack release/2026.11.10 (node scripts/package-openclaw-for-docker.mjs). Then bump every package.json version to an unused version with the same schema, add its CHANGELOG/<version>.md, and pack again.
  2. In a Linux container with a systemd user session, run pnpm add -g --allow-build=openclaw [email protected] and openclaw gateway install --force.
  3. Serve the first pack as the registry's latest and run openclaw update --yes. Then serve the bumped pack and run openclaw update --yes again.
  4. Unmodified head: the second update exits 1 with update-recovery-pending. With this commit: it exits 0.

Checks on 8e3a9a19e42:

  • node scripts/run-vitest.mjs src/infra/runtime-worker-generation.test.ts: 8/8 pass. On the base, with only the new resolver module copied in so the file imports, the 2 new cases fail. The first fails with ERR_MODULE_NOT_FOUND for the removed installed worker, the second with expected '/installed/other.mjs' to be '/installed/other.mjs.retained.mjs'.
  • 20 test files that import worker-cpu or runtime-worker-generation, run one at a time: 267/267 pass. They include worker-cpu.test.ts, update-retained-runtime.test.ts, gateway-state-owner.heartbeat.test.ts and worker-task-pool.test.ts.
  • test/scripts/update-restart-module-outcome.test.ts and test/scripts/eager-import-closure.test.ts: 24/24.
  • pnpm tsgo:core and pnpm tsgo:core:test: pass.
  • Session identity ratchet (scripts/check-session-identity-ratchet.mts --base 6ea542fd97e --no-merge-base): OK.
  • oxlint --type-aware and oxfmt --check on the touched files: clean. git diff --check: clean.
  • Test file audit: I audited all of src/infra/runtime-worker-generation.test.ts. The two new cases come from fix(update): a pnpm update no longer fails after activating when the updater itself was installed by an update #203458 unchanged; nothing was removed. An independent reviewer found nothing blocking. Its nits on the second case are left as they are so the file stays identical to main. Those nits: it checks the resolver rather than a spawn, and its call-count assertion duplicates the identity check.
  • autoreview was not run; it does not run on this machine.

Not proven

  • Each C cell ran once. openclaw triage, the other step the refusal in C1 u3 names, was not run because it needs a model.

  • Whether anything clears the "unresolved" recovery set and the roughly 1 GiB it keeps after the repair. openclaw update cleanup --dry-run on macOS lists the capture as protected with nothing to clean; I did not apply a cleanup.

  • 2026.11.10-beta.1 and beta.2 as the installed version. Only beta.3 was run.

  • The second recovery openclaw update status prints (stop the Gateway, then repair) and openclaw update cleanup --dry-run. Only the plain openclaw update repair was run, with the Gateway left running.

  • Windows, npm and Bun installs, and pnpm versions other than 12.23.0 were not run with this commit. macOS ran once per cell (MC1, MC2). The R1/G1 controls cover an updater that does not retain its runtime.

  • Updates started from the Gateway (Control UI or automatic) rather than the CLI.

  • The worker paths that do not go through createCpuTrackedWorker, named by the reviewer, are unchanged here, the same as on main:

    • child workers started inside a retained native-lifecycle carrier,
    • the spawn broker,
    • a few raw new Worker sites, such as the package integrity hasher, which falls back to in-process hashing.

    None failed in these runs.

  • Every 2026.11.11, 2026.11.12 and 2026.11.15 pack here is a local build, not a release.

… after a pnpm activation

Port of openclaw#203458 to release/2026.11.10 as one commit.

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update already loads workers
through the retained-runtime generation, but process-wide owners that
start workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update ended
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver while it is bound, and `createCpuTrackedWorker` applies it.
Async-context bindings keep precedence, a URL the generation already
produced is final, and nothing changes outside an update that retained
its runtime.
@clawsweeper

clawsweeper Bot commented Nov 25, 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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Nov 25, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 25, 2026
@clawsweeper

clawsweeper Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes detached workers use the updater’s retained runtime after pnpm activation replaces its installed package.

Example: A pnpm user updates from 2026.11.9 to 2026.11.10, then to a same-schema 2026.11.11 test package.

  • Before: The second update exits 1 with update-recovery-pending and leaves its run recorded as running, although the new Gateway serves successfully.
  • After: The second update exits 0, records succeeded, and leaves no recovery warning in update status.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-verified backport with relevant release-head CLI proof and regression coverage; hosted checks are still completing.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): Public terminal excerpts and the release-head results exercise plain openclaw update in Linux Docker with a managed systemd Gateway and pnpm 12.23.0: published 2026.11.9 upgrades to the fixed 2026.11.10 build, whose subsequent same-schema update exits 0 with a succeeded record; the matching base run fails.
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 successful pnpm activation can leave the update marked unfinished and direct the user into unnecessary manual recovery.
Reason: The maintainer-authored backport addresses a measured release-branch failure using the repair already merged on main.

Merge readiness

✅ Ready for maintainer review

Keep open: this focused backport fixes a demonstrated release-branch update failure already repaired on main; no blocking defect was found, and CI remains in progress.

Reviewed head: 8e3a9a19e4201da85cf324ccfef518855898897b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The update lifecycle retains running worker code before replacing the installation; worker creation now consumes that same resolver for process owners whose async contexts predate the update.

flowchart TD
  A[Update CLI] --> B[Retained runtime lifecycle]
  B --> C[Generation resolver]
  D[Detached process owners] --> E[Tracked worker constructor]
  C --> E
  E --> F[Retained worker code]
Loading

Technical review

Best possible solution:

Land this focused release-line backport after its required checks pass, preserving the existing retention and recovery owners.

Do we have a high-confidence way to reproduce the issue?

The release-base source leaves detached worker spawns outside retained-runtime resolution, and supplied CLI logs reproduce the resulting second-hop failure; this review ran no target code, and current main already contains the repair.

Is this the best way to solve the issue?

The patch repairs worker selection at the shared constructor, retains existing async-context selection, and clears process resolution through the established lifecycle; every production hunk serves that boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against cc79ae695ddf.

Provenance checked

  • Retained worker generation and settlement keeps the original intent (dd7d596: Keep the running updater’s worker code available while package replacement and recovery settle; later lifecycle work centralized cleanup.)
  • Shared worker construction and telemetry keeps the original intent (996ffd2: The constructor carries worker request-class attribution; the patch changes its script selection while preserving tracking and options.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 5f8e15a adds src/infra/runtime-worker-generation.ts:60 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5f8e15abdef4; files: src/infra/runtime-worker-generation.ts)

PR surface

Source +51, Tests +67, Other +1. Total +119 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 53 2 +51
Tests 1 67 0 +67
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 0 +1
Total 5 121 2 +119

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:

No label changes.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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 24, 2026, 11:29 PM ET / November 25, 2026, 04:29 UTC.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Recorded facts for cells B1 to B4 (pnpm 12.23.0 on Linux, systemd user Gateway, 512 MiB agent database under writes, plain openclaw update --yes). The summary table is in the PR body.

B1
== B1: pnpm  installed 2026.11.9; pm version 12.23.0
-- u1: exit 0 wall 125 s  [['update', '--yes']]
   output tail: r conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop`). Use the same profile, state, and config settings.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+57 s of this step, until t+120 s (63 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10-beta.3 (3d2d379)'; serving {'version': '2026.11.10-beta.3', 'buildId': '2026.11.10-beta.3-release-3d2d379bf65e-2026-11-23T21-27-12.250Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10-beta.3; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
-- u2: exit 1 wall 109 s  [['update', '--yes']]
   output tail: -414f337ecf9d has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+39 s of this step, until t+106 s (67 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-6ea542fd97e2-2026-11-25T03-13-34.068Z'}; readyz True
   lastRun running/None 2026.11.10-beta.3->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
B2
== B2: pnpm  installed 2026.11.9; pm version 12.23.0
-- u1: exit 0 wall 124 s  [['update', '--yes']]
   output tail: r conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop`). Use the same profile, state, and config settings.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+56 s of this step, until t+120 s (64 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10-beta.3 (3d2d379)'; serving {'version': '2026.11.10-beta.3', 'buildId': '2026.11.10-beta.3-release-3d2d379bf65e-2026-11-23T21-27-12.250Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10-beta.3; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
-- u2: exit 1 wall 116 s  [['update', '--yes']]
   output tail: -a09c3a653229 has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+39 s of this step, until t+113 s (75 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (8e3a9a1)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-8e3a9a19e420-2026-11-25T03-40-14.378Z'}; readyz True
   lastRun running/None 2026.11.10-beta.3->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
B3
== B3: pnpm  installed 2026.11.10-beta.3; pm version 12.23.0
-- u1: exit 0 wall 104 s  [['update', '--yes']]
   output tail: r conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop`). Use the same profile, state, and config settings.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+31 s of this step, until t+100 s (69 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-6ea542fd97e2-2026-11-25T03-13-34.068Z'}; readyz True
   lastRun succeeded/None 2026.11.10-beta.3->2026.11.10; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
B4
== B4: pnpm  installed 2026.11.9; pm version 12.23.0
-- u1: exit 0 wall 125 s  [['update', '--yes']]
   output tail: r conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop`). Use the same profile, state, and config settings.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+56 s of this step, until t+120 s (64 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10-beta.3 (3d2d379)'; serving {'version': '2026.11.10-beta.3', 'buildId': '2026.11.10-beta.3-release-3d2d379bf65e-2026-11-23T21-27-12.250Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10-beta.3; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
-- u2: exit 1 wall 110 s  [['update', '--yes']]
   output tail: -36a66020b8da has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+39 s of this step, until t+107 s (68 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-release-6ea542fd97e2-2026-11-24T23-17-47.129Z'}; readyz True
   lastRun running/None 2026.11.10-beta.3->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
-- follow-next-step: exit 0 wall 76 s  []
   $ openclaw --version
   OpenClaw 2026.11.10 (6ea542f)
   exit 0 ms 21
   $ openclaw update status
   OpenClaw update status
   Next action: openclaw update cleanup --dry-run
   exit 0 ms 1556
   $ openclaw update repair
   Restarted systemd service: openclaw-gateway.service
   exit 0 ms 71005
   $ openclaw update status
   OpenClaw update status
   Next action: Preserve current state and inspect /home/appuser/.openclaw.update-captures/e0da26b7-3d29-414a-bcb6-36a66020b8da/manifest.json before manual recovery. See https://docs.openclaw.ai/cli/update/repair-and-recovery#original-state-captures
   exit 0 ms 1550
   $ openclaw gateway status --deep
   Runtime: running (pid 22389, state active, sub running)
   Connectivity check: ok
   exit 0 ms 1490
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-release-6ea542fd97e2-2026-11-24T23-17-47.129Z'}; readyz True
   lastRun succeeded/None None->2026.11.10; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
-- u3: exit 1 wall 115 s  [['update', '--yes']]
   output tail: -a0c5764e832a has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+40 s of this step, until t+112 s (72 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (6ea542f)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-6ea542fd97e2-2026-11-25T03-19-08.996Z'}; readyz True
   lastRun running/None 2026.11.10->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

@fuller-stack-dev fuller-stack-dev changed the title fix(update): a pnpm update from 2026.11.10 no longer fails after activating when 2026.11.10 was installed by an update fix(update): a pnpm update no longer fails after activating when the installed release came from an update Nov 25, 2026
@fuller-stack-dev
fuller-stack-dev changed the base branch from release/2026.11.10 to release/2026.11.11 November 25, 2026 05:56
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Recorded facts for cells C1, C3 and C4 (pnpm 12.23.0 on Linux, systemd user Gateway, 512 MiB agent database under writes, plain openclaw update --yes, one run each). Each starts from the published 2026.11.9 and updates to the published 2026.11.10 first. The summary table is in the PR body.

C1
== C1: pnpm  installed 2026.11.9; pm version 12.23.0

-- u1: exit 0 wall 145 s  [['update', '--yes']]
   output tail: sations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+66 s of this step, until t+139 s (74 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-release-6ea542fd97e2-2026-11-24T23-17-47.129Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u2: exit 1 wall 120 s  [['update', '--yes']]
   output tail: -6ccb65879ce6 has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+41 s of this step, until t+117 s (76 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-09.603Z'}; readyz True
   lastRun running/None 2026.11.10->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- watch: exit 0 wall 633 s  []
   $ bash /um-pack/cellscripts/watch.sh
   OpenClaw update status
   Next action: openclaw update cleanup --dry-run
   [the same two lines for each of the 11 reads in this step]
   exit 1 ms 633106
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-09.603Z'}; readyz True
   lastRun running/None 2026.11.10->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u3: exit 1 wall 2 s  [['update', '--yes']]
   output tail: 
   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-09.603Z'}; readyz True
   lastRun running/None 2026.11.10->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- follow: exit 0 wall 72 s  []
   $ openclaw update status
   OpenClaw update status
   Next action: openclaw update cleanup --dry-run
   exit 0 ms 1483
   $ bash /um-pack/cellscripts/follow.sh
   $ openclaw update repair
   Restarted systemd service: openclaw-gateway.service
   exit 0 ms 68947
   exit 0 ms 68963
   $ openclaw update status
   OpenClaw update status
   Next action: Preserve current state and inspect /home/appuser/.openclaw.update-captures/37424ffe-8118-4444-b4d0-6ccb65879ce6/manifest.json before manual recovery. See https://docs.openclaw.ai/cli/update/repair-and-recovery#original-state-captures
   exit 0 ms 1483
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-09.603Z'}; readyz True
   lastRun succeeded/None None->2026.11.11; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u4: exit 0 wall 150 s  [['update', '--yes']]
   output tail: sations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+40 s of this step, until t+108 s (69 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.12 (1be6d3d)'; serving {'version': '2026.11.12', 'buildId': '2026.11.12-1be6d3ddc6b9-2026-11-25T06-04-15.679Z'}; readyz True
   lastRun succeeded/None 2026.11.11->2026.11.12; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40
C3
== C3: pnpm  installed 2026.11.9; pm version 12.23.0

-- u1: exit 0 wall 123 s  [['update', '--yes']]
   output tail: sations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+55 s of this step, until t+119 s (64 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-release-6ea542fd97e2-2026-11-24T23-17-47.129Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u2: exit 0 wall 130 s  [['update', '--yes']]
   output tail: ate cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.
Update backup cleanup removed 3 items (1120096332 logical bytes, 1.0 GiB). Kept 1 the updater still needs.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+40 s of this step, until t+103 s (63 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.15-beta.1 (ae07e27)'; serving {'version': '2026.11.15-beta.1', 'buildId': '2026.11.15-beta.1-ae07e2709f3d-2026-11-25T05-58-10.015Z'}; readyz True
   lastRun succeeded/None 2026.11.10->2026.11.15-beta.1; schema agents/main/agent/openclaw-agent.sqlite=43, state/openclaw.sqlite=41

-- after: exit 0 wall 3 s  []
   $ openclaw --version
   OpenClaw 2026.11.15-beta.1 (ae07e27)
   exit 0 ms 23
   $ openclaw update status
   OpenClaw update status
   exit 0 ms 1525
   $ openclaw gateway status --deep
   Runtime: running (pid 10094, state active, sub running)
   Connectivity check: ok
   exit 0 ms 1478
   after: openclaw --version exit 0 'OpenClaw 2026.11.15-beta.1 (ae07e27)'; serving {'version': '2026.11.15-beta.1', 'buildId': '2026.11.15-beta.1-ae07e2709f3d-2026-11-25T05-58-10.015Z'}; readyz True
   lastRun succeeded/None 2026.11.10->2026.11.15-beta.1; schema agents/main/agent/openclaw-agent.sqlite=43, state/openclaw.sqlite=41
C4
== C4: pnpm  installed 2026.11.9; pm version 12.23.0

-- u1: exit 0 wall 125 s  [['update', '--yes']]
   output tail: sations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `/home/appuser/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+56 s of this step, until t+121 s (65 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.10 (6ea542f)'; serving {'version': '2026.11.10', 'buildId': '2026.11.10-release-6ea542fd97e2-2026-11-24T23-17-47.129Z'}; readyz True
   lastRun succeeded/None 2026.11.9->2026.11.10; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u2: exit 1 wall 115 s  [['update', '--yes']]
   output tail: -ea645002a874 has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+44 s of this step, until t+113 s (69 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-39.452Z'}; readyz True
   lastRun running/None 2026.11.10->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- repair: exit 0 wall 74 s  []
   $ openclaw update status
   OpenClaw update status
   Next action: openclaw update cleanup --dry-run
   exit 0 ms 1563
   $ openclaw update repair
   Restarted systemd service: openclaw-gateway.service
   exit 0 ms 70831
   $ openclaw update status
   OpenClaw update status
   Next action: Preserve current state and inspect /home/appuser/.openclaw.update-captures/8bc4380e-be3f-438c-89bc-ea645002a874/manifest.json before manual recovery. See https://docs.openclaw.ai/cli/update/repair-and-recovery#original-state-captures
   exit 0 ms 1488
   after: openclaw --version exit 0 'OpenClaw 2026.11.11 (1be6d3d)'; serving {'version': '2026.11.11', 'buildId': '2026.11.11-1be6d3ddc6b9-2026-11-25T05-58-39.452Z'}; readyz True
   lastRun succeeded/None None->2026.11.11; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

-- u3: exit 1 wall 115 s  [['update', '--yes']]
   output tail: -f31985870f75 has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.

   gateway ready after updater exit: True (+0 s, waited up to 420 s)
   outage: from t+40 s of this step, until t+112 s (72 s)
   after: openclaw --version exit 0 'OpenClaw 2026.11.12 (1be6d3d)'; serving {'version': '2026.11.12', 'buildId': '2026.11.12-1be6d3ddc6b9-2026-11-25T06-04-38.989Z'}; readyz True
   lastRun running/None 2026.11.11->None; schema agents/main/agent/openclaw-agent.sqlite=42, state/openclaw.sqlite=40

Pack SHA-256 prefixes: 2026.11.11 with this commit a8922fecaacf2526, 2026.11.12 with this commit 91895fb1286f976c, 2026.11.11 without 93a97aeb1e80abca, 2026.11.12 without f34bbd46854882ca, 2026.11.15 head d4a95eb7839c63ea. The packs with this commit contain setProcessRuntimeWorkerResolver; the packs without it and the published 2026.11.10 do not.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Recorded facts for the macOS cells MC1 and MC2: macOS 27.2 on arm64 in a local VM, Gateway as the ai.openclaw.gateway LaunchAgent in a logged-in session, Node 24.22.2, pnpm 12.23.0, a 512 MiB agent database under writes, a 250 ms /readyz probe, one run each. 2026.11.9 and 2026.11.10 came from the public registry; the 2026.11.11 and 2026.11.12 packs are the same local builds as in the C cells.

MC1 u1: exit 0 wall 162.3s outages(t+start s, len s) [(81.4, 74.5)] total 74.5s
MC1 u2: exit 1 wall 188.4s outages(t+start s, len s) [(80.6, 103.1)] total 103.1s
MC1 watch: exit None wall 306.2s outages(t+start s, len s) [] total 0s
MC1 u3: exit 1 wall 2.2s outages(t+start s, len s) [] total 0s
MC1 repair: exit 0 wall 58.7s outages(t+start s, len s) [(9.3, 46.2)] total 46.2s
MC1 u4: exit 0 wall 242.1s outages(t+start s, len s) [(76.3, 87.6)] total 87.6s
MC2 u1: exit 0 wall 175.4s outages(t+start s, len s) [(88.7, 80.8)] total 80.8s
MC2 u2: exit 1 wall 207.4s outages(t+start s, len s) [(100.3, 102.6)] total 102.6s
MC2 repair: exit 0 wall 67.1s outages(t+start s, len s) [(10.2, 53.7)] total 53.7s
MC2 u3: exit 1 wall 178.3s outages(t+start s, len s) [(81.1, 93.1)] total 93.1s

MC1 targets carry the fix (SHA-256 prefixes a8922fecaacf2526, 91895fb1286f976c); MC2 targets do not (93a97aeb1e80abca, f34bbd46854882ca).

MC1: failure, refusal, repair, clean update
$ openclaw update --yes        (u2, exit 1)
⚠️ OpenClaw update failed: update-recovery-pending.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module '<redacted-aws-secret-key>-18eb56efb8795718-0/node_modules/.pnpm/open
Run `openclaw update repair` to finish this recovery.

$ openclaw update --yes        (u3, exit 1 after 2.2 s)
Update ab5db1e2-6788-49c3-bd45-616bf5ad0275 has unfinished recovery; reconcile it before starting another update. The update lease store no longer holds that update's lease, so this update cannot show that its processes are gone. Run openclaw triage for an agent that reads this update history and settles it. By hand: Run openclaw update repair, then retry openclaw update.

$ openclaw update repair       (exit 0)
Restarted LaunchAgent: gui/501/ai.openclaw.gateway

$ openclaw update --yes        (u4, exit 0)
Update target: 2026.11.12
Phases: requested (37.45s) → staging (8ms) → validating (35.12s) → activating (76.9s) → restarting (3.76s) → verifying (83.93s)
Recorded verification: service running (2026.11.12); version verified; channels ready; HTTP ready; core ready.
Gateway downtime: 88.05s.

$ openclaw update cleanup --dry-run   (after u4)
  protected: ~/.openclaw.update-captures/ab5db1e2-6788-49c3-bd45-616bf5ad0275 (560291928 bytes; unresolved-failed-update)
Candidates: 0 bytes; verification required: 0; protected: 560291928; blocked: 0.
Update captures: 1 (560291928 bytes); candidates: 0 bytes; protected: 560291928 bytes.
MC2: without the fix, the update after the repair fails again
$ openclaw update --yes        (u3, exit 1)
⚠️ OpenClaw update failed: update-recovery-pending.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module '<redacted-aws-secret-key>-18eb58c6cc720520-0/node_modules/.pnpm/open
Run `openclaw update repair` to finish this recovery.

During the five-minute watch in MC1, all 31 status reads show the run as running in phase verifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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.

2 participants