Skip to content

fix(runtime): keep diagnostics and update usable on an unsupported Node - #143344

Merged
steipete merged 12 commits into
mainfrom
steipete/upd-node-failure-mode
Sep 9, 2026
Merged

steipete merged 12 commits into
mainfrom
steipete/upd-node-failure-mode

Conversation

@steipete

@steipete steipete commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Users updating OpenClaw on an unsupported Node could not run version, diagnostic, or recovery commands. npm can complete installation without running preinstall, leaving users with a package that refuses every command. An unconditional diagnostic exemption also bypassed cached Node recovery on Node 20 and could load a native reader that the runtime cannot execute.

Refs #140672 #142742. Integrates with #143312's canonical SQLite capability admission.

Why This Change Was Made

The packaged launcher and source guard share one explicit command allowlist. When normal admission fails, cached compatible private Node recovery runs before diagnostic admission through the existing re-exec path. Without a compatible cache, canRunOpenClawNodeDiagnostics in node-version.mjs requires Node >=22 (the bundle syntax target) and the shared SQLite probe's availability result. Incapable runtimes retain the interactive recovery offer or non-interactive refusal before diagnostic code loads.

On an unsupported runtime, admitted diagnostics never open a live OpenClaw database writable or start a Gateway/repair agent. Existing private-copy recovery stays intact. Plain Doctor becomes lint-only, triage requires explicit diagnostic mode, and update refuses before live run-ledger admission when its CLI runtime fails admission.

Canonical capability admission also controls lifecycle replay and config reads. Patched builds outside the release table retain main's admission and informational notes; broken builds inside the table remain restricted. Doctor and both status surfaces use one findings collector, including the recorded service runtime, canonical installation guidance, and appropriate severity. Update-failure reports include Node version. Runtime bundles target Node 22 syntax because native using declarations otherwise prevented these diagnostics from parsing.

Node installation and reuse came from @jason-allen-oneal in separately merged #142742. Installer documentation is a separate commit covering Node-only flags, reuse, diagnostic access, and the native Windows proof gap. No user configuration option or schema/store change is introduced.

User Impact

On a capable unsupported runtime, --version/-V/--help, gateway status, read-only Doctor, update status, update, and triage --json/--non-interactive remain available. Admitted diagnostics print Running on an unsupported Node (<version>); diagnostics may show truncated text once; findings remain visible. Cached compatible runtimes take precedence. Other commands retain runtime admission requirements.

Evidence

Exact-head CI run 34406704095 completed successfully for aedbf857ecb873adafb14b5b594f27adcb6210d6. The repository watcher returned GREEN with zero pending checks.

The original guard and launcher regressions failed before the repair. The cached-recovery regression ran against launcher owners byte-identical to reviewed head f0b9514a:

FAIL reuses a previously approved runtime for 20.0.0 [ 'update', 'status' ]
Error: native diagnostic reader loaded without node:sqlite
Expected fixture exit: 17; received: 1
4 failed | 1 passed (cache ordering and no-cache recovery cases)

Additional failing-before proof covered missing runtime findings/report metadata, missing capability checks, unsafe lifecycle replay on broken in-range Node, skipped lifecycle on admitted patched Node, update admission for patched builds, and missing Doctor repair guidance. Renderer tests failed against the old rendering for false warning labels and undefined repair hints. The repaired suites pass, including 104 launcher/version tests (one optional real-Bun skip), 76 guard tests, the 457-test updater suite, 295 startup tests, and focused Doctor/status tests. The export-collision and import-cycle guards pass. No assertions, baselines, or limits were weakened.

Representative commands:

OPENCLAW_E2E_USE_PREBUILT_DIST=1 node scripts/run-vitest.mjs src/infra/runtime-guard.test.ts test/openclaw-launcher.e2e.test.ts test/openclaw-launcher-version.e2e.test.ts src/cli/update-cli/status.test.ts
node scripts/run-vitest.mjs src/cli/update-cli.test.ts
node scripts/run-vitest.mjs src/cli/run-main.profile-env.test.ts src/cli/run-main.exit.test.ts
node scripts/run-vitest.mjs src/commands/node-runtime-diagnostics.test.ts src/flows/doctor-core-checks.runtime.test.ts src/flows/doctor-health-contributions.test.ts
node scripts/check-changed.mjs
node --import ./scripts/tsx.mjs scripts/check-export-name-collisions.mts
node --import ./scripts/tsx.mjs scripts/check-import-cycles.ts
git diff --check
node scripts/package-openclaw-for-docker.mjs --output-dir .artifacts/l22-package
python3 .artifacts/l22-recovery-review/run-node20.py

Final Node 20 recovery proof

Official node:20 resolved to 20.20.2, Linux/arm64. The cache contains the actual Node 26.8.1 executable from the official node:26.8.1 image; its native SQLite operation was verified in the Node 20 container. Each command uses an isolated synthetic home. The package was installed with scripts disabled to reproduce the npm-on-old-Node shape.

Cache Command Exit stdout prefix stderr prefix
Absent openclaw --version 1 — openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
If you use nvm, run:
Absent openclaw update status 1 — openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
If you use nvm, run:
Absent openclaw gateway status 1 — openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
If you use nvm, run:
Node 26.8.1 openclaw --version 0 OpenClaw 2026.9.3 (aedbf85) openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
Node 26.8.1 openclaw update status 0 OpenClaw update status
openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
Node 26.8.1 openclaw gateway status 0 Service: systemd user (disabled) (diagnostic only, not the probe target)
File logs: /tmp/openclaw/openclaw-2026-09-09.log
openclaw: Node 20.20.2: node:sqlite is unavailable; use 24.16+/26.1+ or a build with the fix.
Connectivity probe: failed

Artifact head: aedbf857ecb873adafb14b5b594f27adcb6210d6. Tarball SHA-256: 2f9a3feea9e86f8b268609cdedaf37272f3217a3d6b93f597cf0445bf9b0d73b. Package integrity/import checks passed. No native-reader or parser crash occurred. The legacy requirement line remains visible before recovery, as in the existing flow.

On the same tarball, official node:22.23.2 with no cached runtime ran openclaw update status: exit 0, stdout begins OpenClaw update status, and the required truncated-text warning appeared exactly once. Node's experimental SQLite notice also appeared.

Original installed tarball matrix (f0b9514)

Linux/arm64; official node:22.23.2, node:26.0.0, and node:26.8.1 images. Each installs the same tarball with npm install --global --ignore-scripts --no-audit --no-fund --prefer-offline, then runs the commands below. Unsupported-runtime cells use copies of a populated synthetic update-ledger database. Output prefixes below are actual first lines; long JSON lines are truncated.

Artifact head: f0b9514ac1cfc550b60fcf982a14a1486ceca1c8. Tarball SHA-256: 4161e86181a647265425a5559ebf484ee204cc25a33b3d1fd092e394374d6299.

Node Command Exit stdout prefix stderr prefix
22.23.2 openclaw --version 0 OpenClaw 2026.9.3 (f0b9514) Running on an unsupported Node (22.23.2); diagnostics may show truncated text
22.23.2 openclaw gateway status --deep 0 Service: systemd user (disabled)
File logs: /tmp/openclaw/openclaw-2026-09-09.log
Running on an unsupported Node (22.23.2); diagnostics may show truncated text
Connectivity probe: failed
22.23.2 openclaw doctor --lint 1 {"ok":false,"checksRun":33,"checksSkipped":30,"findings":[{"checkId":"core/doctor/gateway-auth","severity":"warning","message":"Gateway auth is off or missing a token.","… Running on an unsupported Node (22.23.2); diagnostics may show truncated text
22.23.2 openclaw update status 0 OpenClaw update status
Running on an unsupported Node (22.23.2); diagnostics may show truncated text
22.23.2 openclaw update 1 — openclaw: Node.js >=24.16.0 <25, or >=26.1.0 is required (current: v22.23.2).
If you use nvm, run:
22.23.2 openclaw triage --json 0 {
"promptPath": "/root/.openclaw/logs/support/openclaw-triage-prompt-2026-09-09T20-08-41-148Z-453.md",
Running on an unsupported Node (22.23.2); diagnostics may show truncated text
22.23.2 openclaw gateway start 1 — openclaw: Node.js >=24.16.0 <25, or >=26.1.0 is required (current: v22.23.2).
If you use nvm, run:
26.0.0 openclaw --version 0 OpenClaw 2026.9.3 (f0b9514) Running on an unsupported Node (26.0.0); diagnostics may show truncated text
26.0.0 openclaw gateway status --deep 0 Service: systemd user (disabled)
File logs: /tmp/openclaw/openclaw-2026-09-09.log
Running on an unsupported Node (26.0.0); diagnostics may show truncated text
Connectivity probe: failed
26.0.0 openclaw doctor --lint 1 {"ok":false,"checksRun":33,"checksSkipped":30,"findings":[{"checkId":"core/doctor/gateway-auth","severity":"warning","message":"Gateway auth is off or missing a token.","… Running on an unsupported Node (26.0.0); diagnostics may show truncated text
26.0.0 openclaw update status 0 OpenClaw update status
Running on an unsupported Node (26.0.0); diagnostics may show truncated text
26.0.0 openclaw update 1 — openclaw: Node.js >=24.16.0 <25, or >=26.1.0 is required (current: v26.0.0).
If you use nvm, run:
26.0.0 openclaw triage --json 0 {
"promptPath": "/root/.openclaw/logs/support/openclaw-triage-prompt-2026-09-09T20-08-37-883Z-453.md",
Running on an unsupported Node (26.0.0); diagnostics may show truncated text
26.0.0 openclaw gateway start 1 — openclaw: Node.js >=24.16.0 <25, or >=26.1.0 is required (current: v26.0.0).
If you use nvm, run:
26.8.1 openclaw --version 0 OpenClaw 2026.9.3 (f0b9514) —
26.8.1 openclaw gateway status --deep 0 Service: systemd user (disabled)
File logs: /tmp/openclaw/openclaw-2026-09-09.log
Connectivity probe: failed
Probe target: ws://127.0.0.1:18789
26.8.1 openclaw doctor --lint 1 {"ok":false,"checksRun":33,"checksSkipped":30,"findings":[{"checkId":"core/doctor/gateway-auth","severity":"warning","message":"Gateway auth is off or missing a token.","… —
26.8.1 openclaw update status 0 OpenClaw update status
—
26.8.1 openclaw update 1 Phase: requested
Phase: staging
—
26.8.1 openclaw triage --json 0 {
"promptPath": "/root/.openclaw/logs/support/openclaw-triage-prompt-2026-09-09T20-07-36-812Z-114.md",
—
26.8.1 openclaw gateway start 1 Tip: openclaw gateway install
Tip: openclaw gateway start
Gateway service disabled.

The unsupported-runtime warning appeared exactly once in every admitted cell and was absent from refused Gateway starts. Doctor had no check errors on either unsupported runtime and included the Node finding. A separate passive native-SQLite constructor audit recorded eight live-database opens across the diagnostic and update probes, all with readOnly: true; no writable live opens occurred. Database and WAL hashes remained unchanged. Existing read-only connections updated SHM read-lock data; private-copy recovery was preserved.

The bare containers have no config or service manager: Doctor reports configuration warnings, gateway start reports disabled/unavailable systemd, and supported update refuses post-plugin verification with post-plugin-doctor-invalid-config. In a separate valid synthetic configuration on Node 26.8.1, update exited 0 (already-current, plugin verification ok), and a foreground Gateway reached HTTP health readiness and shut down cleanly with exit 0.

Known gaps

The full local changed-file check passed typechecks and preceding guards after packaging finished, then encountered the existing ancestor-install declaration boundary at lint (node_modules/punycode/package.json). The final scoped changed-file check passed, including core/test types and targeted lint; no boundary was disabled. The successful exact-head clean-checkout CI run completed the full lint proof. An earlier concurrent packaging/typecheck attempt saw transient module-format errors while packaging rewrote the root manifest; serialized validation cleared those errors.

The final package build reported a Control UI startup gzip-budget warning: 352,248 bytes versus a 352,235-byte limit (13 bytes over). No UI files or budgets were changed.

The native Windows launcher → PowerShell → downloaded-Node handoff remains unproven, as documented. #142742 is already merged separately; this PR does not replace or close it.

Review notes

No persisted state, install records, config schema, database schema, or retention/recovery semantics change. This PR changes runtime admission, read-only diagnostic findings, and their presentation. It does not implement candidate plugin projection or change bundled-alias/external-path installation behavior. The eight audited live database opens were all read-only, with unchanged DB/WAL hashes, as recorded above; private-copy recovery is preserved. No migration or backfill is introduced or required.

The final Doctor rendering repair guards optional hints in both error paths. Its two regression cases are invalid config and snapshot failure with an informational Node capability note and real service repair guidance. On the pre-fix head aedbf857ecb873adafb14b5b594f27adcb6210d6, both failed on the unwanted undefined output (including fix: undefined). After the fix, all 48 focused Doctor tests pass:

node scripts/run-vitest.mjs src/commands/node-runtime-diagnostics.test.ts src/commands/doctor-lint.test.ts src/commands/doctor-lint.state-isolation.test.ts
Before: Tests 2 failed | 6 passed (8)
AssertionError: expected "vi.fn()" to not be called with arguments: [ StringContaining "undefined" ]
After: Test Files 3 passed (3); Tests 48 passed (48)

Independent review of this final rendering delta was scoped-clean through P3. The installed-tarball evidence above remains explicitly pinned to its original artifact heads; the final delta only removes absent hint text.

Final rendering-fix head: c36484bc56de0908198bf599220bf20825b55034. The two-file changed gate and git diff --check pass. The full node scripts/check-changed.mjs passed all typechecks and preceding guards, then hit the already documented ancestor-install declaration boundary during full lint. Exact-head CI run 34410008620 completed successfully on this final head; the repository watcher returned GREEN with zero pending checks, including the full clean-checkout lint and Windows test lanes.

  • Data-model compatibility proof (ClawSweeper revision 10): no migration, backfill, schema, install-record, or persistent-store behavior change. The diagnostic-only admission preserves live DB/WAL bytes and existing private-copy recovery; the eight audited live opens and unchanged hashes above are the compatibility evidence. The review's heuristic classifications of Doctor/runtime diagnostic files do not represent a data-model change. The completed review on c36484bc56de0908198bf599220bf20825b55034 reports no actionable findings and confirms both prior code findings are resolved.

@clawsweeper

clawsweeper Bot commented Sep 9, 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 docs Improvements or additions to documentation cli CLI command changes commands Command implementations size: L maintainer Maintainer-authored PR labels Sep 9, 2026
@steipete
steipete marked this pull request as ready for review September 9, 2026 19:21
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 9, 2026, 6:16 PM ET / 22:16 UTC (Revision 11).

ClawSweeper review

What this changes

The PR keeps read-only diagnostics available on capable unsupported Node runtimes, preserves private-runtime recovery, and adds consistent runtime findings and upgrade instructions.

Merge readiness

⛔ Blocked before merge - 1 item remains

This remains useful work absent from current main. Both prior code findings are resolved, and the source plus installed-package evidence support clearing the generic migration-proof blocker; no actionable defect remains.

Priority: P2
Reviewed head: c36484bc56de0908198bf599220bf20825b55034

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent repair with strong installed-package evidence, resolved prior findings, and no remaining actionable blocker.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): Installed-package traces exercise the production launcher and diagnostic commands on real Linux/arm64 Node builds, demonstrate cached recovery and incapable-runtime refusal, and preserve populated DB/WAL bytes. The final head only guards absent Doctor hints, with focused before/after regression evidence; native Windows installation remains an explicitly documented limitation of the separately merged recovery work.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): Installed-package traces exercise the production launcher and diagnostic commands on real Linux/arm64 Node builds, demonstrate cached recovery and incapable-runtime refusal, and preserve populated DB/WAL bytes. The final head only guards absent Doctor hints, with focused before/after regression evidence; native Windows installation remains an explicitly documented limitation of the separately merged recovery work.
Evidence reviewed 8 items Pinned introduction boundary: Reviewed the merge-base-to-head changes, excluding base-only work. GitHub confirms the final head changes only Doctor hint rendering and its regression tests relative to aedbf85. The supplied stale test merge was not used to infer removals.
Recovery finding resolved: The launcher checks for a compatible cached runtime before granting diagnostic admission. Without one, diagnostics require Node 22 or newer and available native SQLite; incapable runtimes retain recovery or refusal. Tests cover Node 20 with and without a cache.
Live writer boundary preserved: Update checks runtime compatibility before state preparation and run-ledger admission. Plain Doctor selects lint on unsupported Node; Doctor retains artifact-preserving reads, and update-status ledger readers retain their existing read-only owner. No schema, migration, backfill, or persistent-format change is introduced.
Findings None None.
Security None None.

How this fits together

The CLI launcher checks Node before loading OpenClaw commands. Its admission decision determines whether to reuse a private runtime, allow read-only diagnostics, or refuse operations that need a supported runtime.

flowchart TD
  A[CLI invocation] --> B[Node capability check]
  B -->|Supported| C[Normal command execution]
  B -->|Unsupported| D[Private runtime recovery]
  D -->|Compatible runtime found| C
  D -->|No compatible runtime| E[Diagnostic command and capability check]
  E -->|Allowed| F[Read-only findings and warnings]
  E -->|Not allowed| G[Refusal and upgrade guidance]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +200, Tests +655, Docs +40, Other +165. Total +1060 across 30 files.

View PR surface stats
Area Files Added Removed Net
Source 12 237 37 +200
Tests 11 675 20 +655
Docs 1 56 16 +40
Config 0 0 0 0
Generated 0 0 0 0
Other 6 170 5 +165
Total 30 1138 78 +1060

Review metrics

Metric Value Why it matters
Production and regression coverage Production/tooling net +365 lines; tests net +655 lines Production growth supports shared command admission and runtime findings, with regression coverage for recovery ordering, writer refusal, and diagnostic output.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/node-runtime-diagnostics.ts, migration/backfill/repair: src/flows/doctor-core-checks.runtime.ts, unknown-data-model-change: src/commands/doctor-lint.ts, unknown-data-model-change: src/flows/doctor-core-checks.runtime.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Retain one shared diagnostic admission policy, reuse compatible private runtimes first, and preserve supported-runtime requirements at live writer boundaries.

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

Yes, from source: current main rejects diagnostic commands on incompatible Node when no compatible private runtime is available. This review did not execute repository code.

Is this the best way to solve the issue?

Yes. Shared admission, existing private-runtime recovery, and refusal before update state preparation form a coherent repair; no new migration is needed.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs diagnostic and recovery access for unsupported Node installations while preserving normal runtime admission.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): Installed-package traces exercise the production launcher and diagnostic commands on real Linux/arm64 Node builds, demonstrate cached recovery and incapable-runtime refusal, and preserve populated DB/WAL bytes. The final head only guards absent Doctor hints, with focused before/after regression evidence; native Windows installation remains an explicitly documented limitation of the separately merged recovery work.
  • proof: sufficient: Contributor real behavior proof is sufficient. Installed-package traces exercise the production launcher and diagnostic commands on real Linux/arm64 Node builds, demonstrate cached recovery and incapable-runtime refusal, and preserve populated DB/WAL bytes. The final head only guards absent Doctor hints, with focused before/after regression evidence; native Windows installation remains an explicitly documented limitation of the separately merged recovery work.

Evidence

What I checked:

  • Pinned introduction boundary: Reviewed the merge-base-to-head changes, excluding base-only work. GitHub confirms the final head changes only Doctor hint rendering and its regression tests relative to aedbf85. The supplied stale test merge was not used to infer removals. (c36484bc56de)
  • Recovery finding resolved: The launcher checks for a compatible cached runtime before granting diagnostic admission. Without one, diagnostics require Node 22 or newer and available native SQLite; incapable runtimes retain recovery or refusal. Tests cover Node 20 with and without a cache. (openclaw.mjs:55, c36484bc56de)
  • Live writer boundary preserved: Update checks runtime compatibility before state preparation and run-ledger admission. Plain Doctor selects lint on unsupported Node; Doctor retains artifact-preserving reads, and update-status ledger readers retain their existing read-only owner. No schema, migration, backfill, or persistent-format change is introduced. (src/cli/update-cli/update-command-run.ts:256, c36484bc56de)
  • Doctor rendering finding resolved: Both error-rendering paths now conditionally print optional repair hints. The final commit includes invalid-config and snapshot-failure regressions; the body reports both failing before the correction and 48 focused tests passing afterward. (src/commands/doctor-lint.ts:199, c36484bc56de)
  • Complete captured proof inspected: Retrieved the full PR body and verified SHA-256 a07a7834babc15c6ff8c780289b5e76e0d86589a7874e425743c365eb436d478 matches the supplied snapshot. Installed Linux/arm64 tarball traces cover actual Node 20.20.2 recovery through cached Node 26.8.1, no-cache refusal, and Node 22.23.2 diagnostic execution. The earlier three-runtime matrix covers Doctor, status, triage, update refusal, and supported-runtime operation. Eight audited live database opens were read-only, with unchanged DB/WAL hashes. Artifact revisions remain explicitly distinguished from the final rendering-only head. (aedbf857ecb8)
  • Prior compatibility concern addressed: The maintainer explanation at fix(runtime): keep diagnostics and update usable on an unsupported Node #143344 (comment) agrees with the inspected diff and proof: existing private-copy recovery remains intact, and only SQLite SHM read-lock data changed during diagnostics. The historical generic migration request has no remaining introduced data-model change to address. (src/commands/doctor-lint.ts:98, c36484bc56de)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • jason-allen-oneal: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-09T20:06:44.499Z sha f0b9514 :: blocked before merge. :: [P1] Preserve recovery when Node cannot execute diagnostics
  • reviewed 2026-09-09T20:21:06.012Z sha f0b9514 :: blocked before merge. :: [P1] Preserve recovery when Node cannot execute diagnostics
  • reviewed 2026-09-09T20:45:40.683Z sha bc00896e1e24d4b6516c652c95bea610d7b88bca :: blocked before merge. :: none
  • reviewed 2026-09-09T21:10:58.118Z sha a0fda5c :: blocked before merge. :: none
  • reviewed 2026-09-09T21:29:48.416Z sha aedbf85 :: blocked before merge. :: [P3] [P3] Omit absent repair hints in Doctor error output
  • reviewed 2026-09-09T21:42:51.737Z sha aedbf85 :: blocked before merge. :: [P3] [P3] Omit absent repair hints in Doctor error output
  • reviewed 2026-09-09T21:49:33.376Z sha aedbf85 :: blocked before merge. :: [P3] [P3] Omit absent repair hints in Doctor error output
  • reviewed 2026-09-09T22:07:50.641Z sha c36484b :: blocked before merge. :: none

@steipete

steipete commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Data-model compatibility: this PR makes no schema or persistent-store semantics changes and preserves existing private-copy recovery. The installed-tarball evidence in the PR body recorded eight live-database opens on unsupported Node, all read-only, with unchanged database and WAL hashes. Only SQLite SHM read-lock data changed.

@steipete
steipete force-pushed the steipete/upd-node-failure-mode branch from f0b9514 to bc00896 Compare September 9, 2026 20:39
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 9, 2026
@steipete
steipete force-pushed the steipete/upd-node-failure-mode branch from bc00896 to 685b1c0 Compare September 9, 2026 20:58
@steipete

steipete commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

steipete commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit e4a6d50 into main Sep 9, 2026
193 checks passed
@steipete
steipete deleted the steipete/upd-node-failure-mode branch September 9, 2026 22:26
@steipete

steipete commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
…de (openclaw#143344)

* fix(runtime): keep diagnostics and update usable on an unsupported Node

Share CLI admission between the launcher and source guard, retain private-copy
SQLite recovery, and keep live database writers and repair agents refused.
Route plain Doctor to lint and refuse update before its run-ledger admission
when the CLI Node is unsupported. Report CLI/service runtime findings and the
reporting Node version in update-failure reports.

Refs openclaw#140672 openclaw#142742

* docs(install): explain private Node recovery and diagnostic access

* test(runtime): preserve Node recovery coverage with diagnostic admission

* fix(runtime): offer Node recovery once per update invocation

* fix(build): emit Node 22 syntax for recovery diagnostics

* fix(update): check runtime at the state preparation boundary

* fix(doctor): preserve migration order before runtime diagnostics

* fix(runtime): recover before admitting unsupported Node diagnostics

* fix(runtime): preserve capability admission in diagnostic recovery

* test(cli): retain capability checks in startup fixtures

* refactor(runtime): share Node findings across diagnostic commands

* fix(doctor): omit absent repair hints in lint errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations docs Improvements or additions to documentation maintainer Maintainer-authored PR 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. 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