Repository navigation
chore: update mature dependencies without breaking compatibility - #188576
Conversation
Refresh compatible dependency and tool releases published by 2026-10-23T15:45:38Z. Preserve existing freshness exceptions and patched contracts; defer incompatible SDK and bundler migrations. Co-authored-by: steipete <[email protected]>
Accept eight additional mature updates with source-label and approval lifecycle repairs, verified existing-contract patch forwardports, refreshed native artifacts, and targeted security transitives. Preserve dependency-age and isolation policies. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: a4dba18f-2922-4233-8711-a7cb0346b59e
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
This comment has been minimized.
This comment has been minimized.
|
Codex review: blocked before merge. What this changesThis PR updates dependencies across OpenClaw and adapts existing build, packaging, and Muse approval handling to their newer contracts. Example: Building updater compatibility bridges with tsdown 0.23.2.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this useful maintainer-authored dependency refresh has two concrete compatibility defects that block merge. Priority: P2 Before merge
Findings
Provenance
Agent review detailsHow this fits togetherDependency manifests and lockfiles feed package installation and builds; build adapters preserve updater bridges, packaged browser artifacts, and plugin runtime contracts. flowchart TD
A[Dependency manifests] --> B[Locked upstream packages]
B --> C[Build and source ownership adapters]
C --> D[Published OpenClaw package]
D --> E[Gateway and plugins]
B --> F[Native applications]
Technical reviewBest possible solution: Retain the qualified npm pin and update the shared picker fixture while preserving the existing patch and updater owners. Do we have a high-confidence way to reproduce the issue? Published dependency contents and current consumers establish both failure paths, corroborated by current-head npm-lock and model-picker CI failures; no local execution was performed. Is this the best way to solve the issue? The shared label reader and narrow Muse adaptation fit existing owners, but dependency qualification must also cover npm's bundled-package validator and picker measurement fixtures. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a79f20dd19c3. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfacePR surface statistics unavailable: the file list is incomplete. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 30, 2026, 2:08 PM ET / 18:08 UTC. |
Defer incompatible npm, oxlint, and coupled Tauri plugin releases without changing dependency policy. Refresh canonical TypeBox predicates and align model-picker test geometry with the maintained virtualizer contract. Co-authored-by: steipete <[email protected]>
Merge main while retaining qualified dependency pins and generated consumers. Preserve both CUA artifact admission and Linux registration regression coverage.
Defer virtual-core 3.19.7 after its client-box measurement change breaks sixteen existing Logs unit cases. Restore the matching picker fixture and regenerate the pnpm lockfile; all 88 focused UI cases and six browser scenarios pass with the retained 3.19.2 pin. Follow main history for the sole CUA merge conflict: keep Linux registration coverage and remove the intentionally retired static artifact assertion. Restore the existing 154-line test allocation without raising a limit.
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…nclaw#188576) * chore: update mature dependencies across ecosystems Refresh compatible dependency and tool releases published by 2026-10-23T15:45:38Z. Preserve existing freshness exceptions and patched contracts; defer incompatible SDK and bundler migrations. Co-authored-by: steipete <[email protected]> * fix: qualify compatible dependency upgrades at their owners Accept eight additional mature updates with source-label and approval lifecycle repairs, verified existing-contract patch forwardports, refreshed native artifacts, and targeted security transitives. Preserve dependency-age and isolation policies. Co-authored-by: steipete <[email protected]> * chore: update mature dependencies without breaking compatibility Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: a4dba18f-2922-4233-8711-a7cb0346b59e * fix(deps): retain qualified pins and refresh generated consumers Defer incompatible npm, oxlint, and coupled Tauri plugin releases without changing dependency policy. Refresh canonical TypeBox predicates and align model-picker test geometry with the maintained virtualizer contract. Co-authored-by: steipete <[email protected]> * test(cua): isolate artifact admission assertion * fix(deps): retain qualified virtualizer and main test resolution Defer virtual-core 3.19.7 after its client-box measurement change breaks sixteen existing Logs unit cases. Restore the matching picker fixture and regenerate the pnpm lockfile; all 88 focused UI cases and six browser scenarios pass with the retained 3.19.2 pin. Follow main history for the sole CUA merge conflict: keep Linux registration coverage and remove the intentionally retired static artifact assertion. Restore the existing 154-line test allocation without raising a limit. --------- Co-authored-by: steipete <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
Port only the body-parser lockfile update from #188576. Co-authored-by: RomneyDa <[email protected]>
#188576 moved tsdown to 0.23.2 and rolldown to 1.2.15. The reviewed `dangerous-exec` finding in @openclaw/openshell-sandbox dist/.setup/worker-cli-<hash>.mjs now bundles to different bytes, so the security scan rejects every current build, including main's own package. The only differences from the reviewed bytes are the imported chunk hash (config-BFHm9T4X -> config-xMr6yx5f) and `//#region` markers becoming `// path` comments; the reviewed spawn(worker.nodeCommand, ...) logic at line 127 is byte-identical. Record the new content hash.
…ler (#192489) #188576 moved tsdown to 0.23.2 and rolldown to 1.2.15. The reviewed `dangerous-exec` finding in @openclaw/openshell-sandbox dist/.setup/worker-cli-<hash>.mjs now bundles to different bytes, so the security scan rejects every current build, including main's own package. The only differences from the reviewed bytes are the imported chunk hash (config-BFHm9T4X -> config-xMr6yx5f) and `//#region` markers becoming `// path` comments; the reviewed spawn(worker.nodeCommand, ...) logic at line 127 is byte-identical. Record the new content hash.
What Problem This Solves
OpenClaw misses maintained dependency releases because several eligible upgrades fail existing build, approval, or native-artifact contracts.
User Impact
Refresh compatible provider, browser, discovery, native, mail/media, and tooling dependencies without silently changing approval, desktop-permission, or telemetry behavior. No configuration migration is required. Native platform CI and the deliberate holds below remain explicit; this is not a vulnerability-free-graph claim.
Why This Change Was Made
Fixed audit: 2026-10-30T15:45:38Z. Inclusive publication cutoff: 2026-10-23T15:45:38Z, including introduced transitives. Preserve inherited newer pins, existing exceptions, and supported contracts; no unapproved identity/edge downgrade.
The refresh covers direct npm, Cargo, Ruby, Swift, and tooling dependencies plus two targeted security transitives. Five candidate updates were deferred during CI repair (details below). Already-open Dependabot Action updates are not duplicated.
Eight updates needed deeper qualification: tsdown 0.23.2, Muse 1.4.12, CUA 0.37, Chrome MCP 1.12, Lobster 2026.10.1, Crabline 0.1.31, body-parser 2.4, and ctutils 0.4.4.
Highlighted upstream changes
These are upstream claims unless consumer proof below demonstrates an OpenClaw effect; updating an SDK does not expose every new upstream feature automatically.
Evidence
The following qualification was supplied by the dependency-updater loop before current-main reconciliation; the merge-head proof is recorded separately below.
pnpm build, updater bridges, bundled assets, SDK declarations, Control UI, core/extension typechecks, targeted lint/format/budget checks: passed.Known gaps and deliberate holds
Requested and guided by @steipete.
Work sessions
Worked on by
Maintainer reconciliation
Merged main
4e0c02b8fec276c628f2bfac67169b44d7dda2deinto the PR without rebasing or force-pushing. Merge commit:b5f8583e022f7803bca62cb8730e9c9de661cbeb. First published merge candidate:64d05f8a8ed2ce94e71d1cd8a39806ee52bd64e7. Subsequent CI repair is recorded below.The sole textual conflict was
extensions/cua-computer/src/driver-artifacts-resolution.test.ts. The resolution retains main's Linux registration/no-diagnostic-report coverage. Follow-up source history inspection showed main intentionally retired the old static artifact assertion in79f0434c4379; the final resolution follows main and removes that obsolete assertion. The bumped admitted native-artifact record remains in production metadata. No product behavior or permission decision was required. Package and lockfile changes merged cleanly;pnpm install --lockfile-onlyand the canonical gateway validator generator confirmed the merged outputs without manual lockfile/generated-code edits.The loop's reviewed repair is retained. Deferred updates: npm 12.2.1 (retain 12.2.0), oxlint 1.89.0 (retain 1.88.0), tauri-plugin-deep-link 2.6.2 (retain 2.6.1), and tauri-plugin-single-instance 2.5.4 (retain 2.5.3). The maintainer additionally defers
@tanstack/virtual-core3.19.7, retaining 3.19.2: the changed viewport measurement contract breaks 16 existing Logs unit cases. See the single-bump counterfactual below.Supply-chain policy is unchanged: no new override or release-age exception. The only newly introduced npm identities are
@acemir/cssomvia LinkeDOM,@pierre/highlightsvia Pierre Diffs, andmarked-cjk-friendlyvia pi-tui; all belong to intended bumps. The frozen install's supply-chain verification passed for 1,749 entries. Existing patch contracts remain registered under the bumped versions.Local proof on the first published merge candidate (reused where inputs remain unchanged):
pnpm install --lockfile-onlyandpnpm install --frozen-lockfile: passed.pnpm deps:npm-lock:check:changed --base origin/main --jobs 2: passed, 110 package scopes.pnpm tsgoandpnpm tsgo:ui: passed.pnpm gateway:validators:gen: passed, no further generated changes.node scripts/run-vitest.mjs packages/gateway-protocol/src extensions/cua-computer/src/driver-artifacts-resolution.test.ts extensions/muse/harness.test.ts --maxWorkers=1: 746 protocol tests passed (37.50s), 51 CUA/Muse tests passed and four Linux-only cases skipped on macOS (101.40s including initial worker compilation).node scripts/run-vitest.mjs --config ui/vitest.config.ts ... --maxWorkers=1: eight files, 68 tests passed (11.50s).pnpm build: passed in 6m 54.3s, including plugin packaging, declarations, and Control UI. NoINEFFECTIVE_DYNAMIC_IMPORTdiagnostic.git diff --check: passed.4e0c02b8fec2, including the complete candidate and conflict resolution: P0–P2 scoped-clean, two completed passes, no accepted/actionable findings. This reviews repository evidence, not upstream artifact contents. The reconciliation adds no production machinery.Cargo is unavailable on this maintainer host; the existing Cargo lockfile merged unchanged, and no hand-edited regeneration is claimed. Native application build coverage remains with exact-head platform CI.
Inherited local lint failures
CI-engine core lint was run with
OPENCLAW_LINT_TOOL=oxlint node --import ./scripts/tsx.mjs scripts/run-oxlint-shards.mts --only=core --split-core --threads=2. It completed with 12eslint(max-lines)errors and no other errors. These files, the lint configuration, wrapper, and oxlint 1.88.0 pin are unchanged from merged main4e0c02b8fec2.An isolated checkout of that main revision reproduces all 12 identical error signatures using the same oxlint binary and main configuration through the supported focused syntax-rule mode (
node scripts/run-oxlint.mjs --openclaw-focused-config --config .oxlintrc.json <the 12 failed files> --threads=2). This isolates the static line-count rule from the bumped type-aware peer. A normal type-aware baseline replay also reproduced the first five identified failures. The baseline uses the prepared task toolchain, not a separate frozen-main dependency installation. No limits or assertions were relaxed.src/agents/sessions/session-manager.ts: 705 / 700src/agents/sessions/session-manager-core.ts: 701 / 700src/infra/sqlite-database-admission-record.ts: 701 / 700src/gateway/worker-environments/workspace-quiescence-scripts.ts: 715 / 700src/shared/text/text-projection.ts: 703 / 700src/system-agent/setup-inference-activate.test.ts: 1012 / 1000ui/src/components/solid/menu-runtime.ts: 704 / 700ui/src/pages/chat/chat-pane-lifecycle.ts: 702 / 700ui/src/pages/new-session/draft-place-state.ts: 707 / 700ui/src/pages/chat/components/chat-sidebar-region.runtime.tsx: 703 / 700ui/src/app/bootstrap.ts: 701 / 700ui/src/pages/activity/activity-page.test.ts: 1229 / 1000Extension CI-engine lint also completed using
OPENCLAW_LINT_TOOL=oxlint node --import ./scripts/tsx.mjs scripts/run-oxlint-shards.mts --only=extensions --threads=2. Its only errors are three inheritedeslint(max-lines)violations. All three files match main byte-for-byte, and a focused static-rule replay of the exact main blobs under the unchanged main configuration reproduced identical signatures:extensions/anthropic/cli.runtime.ts: 710 / 700.extensions/tlon/src/monitor/index.test.ts: 1,028 / 1,000.extensions/oc-path/src/cli.test.ts: 1,004 / 1,000.These 15 local static-lint failures remain failed evidence. They are unrelated to the dependency refresh; no rule, source limit, or assertion was weakened. All requested local commands completed. These local failures are retained honestly; exact-head CI results are recorded below.
CI repair after the main merge
Initial exact-head CI run 41131309941, attempt 1, completed failed. No job was rerun. The 16 failures in
logs-page.test.tsxandview.test.tsxreproduce locally with virtual-core 3.19.7. Its viewport observer now reads client dimensions; the existing Logs fixture supplies offset dimensions. Current main with its own frozen install passes the same 20 cases.Retaining only virtual-core 3.19.2, with every other dependency bump unchanged, makes those cases pass. The corresponding model-picker geometry-fixture adaptation is also removed. The combined Logs and model-picker consumer replay passes 10 files / 88 tests. No production UI compatibility shim or test assertion relaxation was added. Browser replay of the initial dependency tree already passed all six composer/provider-picker and Logs scrolling scenarios, so this is a failed qualification hold, not a claim of a reproduced browser regression.
Removing the obsolete CUA assertion and restoring the helper removes 30 lines relative to the first published candidate. Net test growth is the existing justified 154-line allocation;
pnpm check:test-lines-ratchet --base 4e0c02b8fec276c628f2bfac67169b44d7dda2de --no-merge-basepasses with four lines of slack. No ceiling or allocation was raised. The pnpm lockfile was regenerated withpnpm install --lockfile-only; the frozen install and UI typecheck passed again.The retained virtual-core tree also passes all six real Chromium/WebKit composition and scrolling scenarios (104.54s including a fresh production UI bundle),
pnpm tsgo:ui, formatting, andgit diff --check.Current main
4d2a9f8bb4c47da0daae7fd820cab33fa450ef7bindependently has 1,042 test lines above its effective ceiling (6,313,400 / 6,312,358); its self-base ratchet reports net delta zero. Any corresponding debt in a newer CI merge tree remains inherited evidence, not a reason to raise this PR's allocation. The replacement exact-head CI result and failure attribution are recorded below.Repair head:
b75a0934ac266583ea4147423b170f835b20ddbd. Fresh Codex autoreview of the four-file repair is P0–P2 scoped-clean, no accepted/actionable findings; the pin, importer, package identity/integrity, and snapshot agree and no transitive package or release-age policy was added. The initial full candidate review remains the review of the rest of the refresh.Completed replacement CI
Exact head
b75a0934ac266583ea4147423b170f835b20ddbd, CI 41135782996, attempt 1, completed with 182 terminal jobs: six failed root jobs and the failed aggregate. No job was rerun. The actual CI checkout is merge118c02c01601c11a224cdce1a80b087bec3baea6, with ordered parents main00bfbf1f7ca54b0da62a10cc0d33323f3559dc02and the exact PR head. The retained Git object and independently reconstructed merge tree agree.security-fastpassed.checks-fast-baseline-ratchetschecks-node-changed-19errorbut getsok; cloud P6 cannot stageundici. Both exact signatures reproduce against frozen main4d2a9f8bb4c47da0daae7fd820cab33fa450ef7bwith its own install and built runtime.checks-node-changed-20android-access-native (16384, google_apis_ps16k)checks-ui-e2e (4/7)00bfbf1f7ca54b0da62a10cc0d33323f3559dc02, with its own frozen install, reproduces the same mobile WebKit refresh failure under the recorded 822-file include list and native shard 4/6 (despite matrix label 4/7). The selected 136 files match CI exactly. Full result: 1 failed / 492 passed, 603.61s. The failing state is identical: top 22,468; height 89,316; viewport 378; rows 485–501 of 2,000; 16 reads; no page errors. Chromium mobile and WebKit desktop pass. No source, assertion, or timeout changes.checks-node-changed-compact-large-18AgentDatabaseRegistryChangedError. Frozen main passes all 18 cases in that file; replay of the exact CI group of 15 files on main is in progress. This failure remains unqualified.The previous Signal timeout passes both the final PR file replay (5 cases) and the frozen-main original group (46 cases); restart passes both frozen-main scenarios. The replacement CI does not fail either check. The final npm-lock recheck also passes all 110 scopes. No passing replay is represented as a fix to the earlier failed run.
All six failed root jobs have concrete baseline or infrastructure attribution. Native preparation and the protected inherited-failure landing completed: squash
70134e42285b4214579faba8ac10ed7098550643is verified onorigin/main. RoboClaw remains the primary author. The native completion audit retains failed CI and the inherited local lint evidence. No CI job was rerun, no baseline was raised, and no assertion was relaxed. A queued Blacksmith Testbox was stopped rather than waiting or switching providers; local Linux Docker is used for the remaining platform comparison.The exact-main workspace control used Node 24.22.1 to launch the repository-pinned Bun runtime, the owning gateway-server config, and
--maxWorkers=2; onlysrc/gateway/server.sessions.create.workspace-policy.test.tsran. Its fresh compilation and full 18-case file completed failed in 181.15s, with the same registry invalidation cause as CI. The Linux exact-main comparison also completed the original 15-file group: 1 failed / 175 passed, no skips, in 365.77s. Its dirty-checkout case has the same registry cause at line 669. With 4 CPUs and 16 GiB, peak memory was 9,971,552,256 bytes and no memory-limit or OOM events occurred. The earlier 6 GiB attempt failed fixture shutdown before reaching the target and remains inconclusive setup evidence. No CI rerun was requested.Fresh standalone
pnpm ui:buildcomparisons also pass on the final PR and frozen main. Both emit the same 12INEFFECTIVE_DYNAMIC_IMPORTwarning signatures. These are retained inherited warnings; the earlier full-build log and the new standalone UI-build logs are distinct proof commands. The emitted bundles differ in minified bindings and import hashes, so this comparison does not exclude the Vite bump as a cause of the remaining browser failure.The final Linux UI comparison used Node 24.22.1, the CI four-worker cap and 16 GiB memory limit, and both CI exclusions. Peak memory was 6,853,545,984 bytes with no memory-limit/OOM events and no unhandled errors. Its source remained clean and container was removed. An earlier attempt using the matrix label 4/7 was stopped after discovering the actual command used 4/6; that attempt is excluded from packing evidence. The later native selection preflight verifies 136 expected / 136 selected, with no missing or extra files. The prepared Linux PR comparison was unnecessary after the positive exact-main reproduction and ran no tests. No further bump is dropped.