Skip to content

chore(deps): refresh dependencies with a seven-day cutoff - #156363

Merged
steipete merged 5 commits into
mainfrom
codex/deps-seven-day-20260923
Sep 23, 2026
Merged

steipete merged 5 commits into
mainfrom
codex/deps-seven-day-20260923

Conversation

@steipete

@steipete steipete commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Refreshes repository dependencies to eligible releases published at least seven days before this update, using a fixed cutoff of 2026-09-16 07:19:28 UTC.

User Impact

Updates 44 direct npm dependencies, pnpm 12.4.2, native build dependencies, and four GitHub Actions. Preserves memory schemas, WhatsApp voice-note waveforms, and published documentation anchors. Also fixes rejected goal actions silently updating error state without rendering the message. Newer main now owns the file-preview normalization repair exposed by dependency CI; this branch retains its implementation and fixture-owned draft cleanup. No operator migration is required.

Mermaid 12's full renderer measures 1555.8 KiB gzip, exceeding the retained 960 KiB deferred-asset limit. Current main reports size-limit excess as a warning in GitHub Actions; the local limit check still fails. This PR does not raise the limit. Startup budgets and the prohibition on startup loading remain unchanged. The tiny distribution removes supported diagram/math features, and a full custom rebundle still exceeds the existing cap.

Why This Change Was Made

Refreshes workspace/release-tool graphs, scoped security overrides, frozen bootstrap hashes, native license inventories, and existing Chrome MCP, Matrix, and Vitest patches. Expired cooldown exceptions are removed; previously approved newer runtime pins are retained rather than downgraded.

Compatibility work includes one CommonJS Arrow identity across the store and packaged LanceDB runtime, an explicitly approved two-line Baileys adapter for audio-decode 3, preserved slugify 3 URL behavior, and correct npm child-pin precedence for object-form overrides. CI repairs keep the qualified Matrix sync boundary, exact YAML integrity checks, current tooling identities, Vitest package ownership, and cold WebSocket URL validation intact. Formatter/linter changes preserve behavior.

TypeScript's classic compiler API remains at 6.0.3; native typechecking already uses 7.0.2, and TS7-built JavaScript plugins already work. Removing the source-plugin compiler's classic API dependency requires a separate loader migration: component prototypes support Jiti/Babel for CommonJS and esbuild for native ESM, but esbuild would need production packaging and full package-condition, interop, SDK-identity, and disposal proof. Node built-in stripping does not preserve the enum/TSX/decorator contract. Published native dependency constraints and Tauri's Windows updater recovery defect retain the documented compatibility pins.

Compatibility and review

No OpenClaw database schema, stored-record layout, configuration key, permission, retention policy, or migration changes are introduced. Arrow’s explicit table schema, vector dimensions, predicates and existing-table opening remain intact; the goal fix only publishes an existing rejected result. ui/package.json is a dependency manifest, not a persistence schema. The complete local diff was reviewed despite the truncated GitHub file inventory used by automated classification. Existing handoff grapheme limits and documentation anchors are explicitly preserved. Buzz’s cold WebSocket validation now matches its existing runtime rejection of empty ws:// values; valid configurations need no migration.

The security-review action changes update dependency pins and generated lock data; approval logic and review enforcement are unchanged. Landing used the native workflow and GitHub’s enforced gates.

Evidence

  • Registry publication timestamps verified for all 234 newly introduced npm versions, with zero cutoff violations. Frozen installation, exact-pin and patch guards pass; all 17 ported patch targets match reviewed hashes. Production npm bulk audit and release-tool lock audits report zero advisories. This is limited advisory coverage, not comprehensive security clearance.
  • Clean Linux full build passed in 7m 4.3s on the previous PR head; seven targeted runtime/patch shards and two real Chromium MCP/packaged-tarball shards passed. All 102 npm package-lock checks pass after reproducing and repairing override shadowing. The Linux changed check identified a root/UI Vite type ownership error, now repaired and covered by UI/scripts typechecks; Full hosted CI passed for final rebased head 204f804e0f6926bbc682560878b8dfb4836a3344, including the iOS build and focused simulator tests. Earlier hosted runs exposed the documented contract and fixture repairs; the last two failures were a Corepack ancestry assumption and a UI navigation-readiness race, both addressed without weaker deadlines or cleanup checks.
  • Arrow: nine original MemoryDB failures repaired; all 18 cases pass. Both original Docker-selected, production-only packaging cases now pass. Real Baileys WAV/Opus waveform/error probes and the new payload regression pass. Slack Socket Mode's actual message/ack, heartbeat, close, and error contracts pass on Node 24 and 26 against local servers; no live Slack claim.
  • Docs: 31 focused tests pass; all 17,259 anchors across 1,321 pages match the previous dependency. Mermaid: 16 browser contracts pass. A2UI: 3 browser scenarios pass. File preview/reload: 35 cases pass in the original browser order after adopting main’s CodeMirror-aware owner (10.42s wall).
  • Matrix/MCP/Codex version boundaries: 167 focused tests pass. YAML/release security: 274 pass, two existing skips. UI framework typechecks and runtime partition proof pass. Android license inventory: 4 tests pass. Prompt/update behavior: 174 tests pass. Fastlane/Vercel gates pass after exact identity updates.
  • Rebased CI fixture repairs: Gateway original three-file order passes 177/177, versus 26 failures before canonical row seeding and scoped database cleanup; Unicode handoff passes 46/46 on both Node and Bun, versus the same two grapheme-count failures before repair. Install-smoke trusted checkout contracts pass 13/13. Standalone packaging/artifact fixtures pass 8 selected cases, and the OCM packaging file passes 15/15 after completing copied import closures. Assertions and timeouts remain unchanged.
  • Final CI repairs: Session Share fixture startup is now owned by main’s canonical repair: our duplicate was removed, and the integrated file passes 13/13 (77.39s wall, including compiler preparation); goal rejection rendering passes 31 unit and five bundled E2E cases, with a deterministic failing original-owner assertion and real settled-screen before/after captures. Both captures verify zero goal RPCs and zero recovery records. Actual CI-style Corepack/pnpm 12.4.2 interruption probes pass all five cases on both macOS and Linux, validating the complete Corepack → native pnpm → shell → shim chain, exact normalized launcher outcomes, detached implementation exit 130, and every cleanup receipt. Home command recovery passes all three cases after awaiting the rendered Agents region before clicking Home. A delayed-Swarm-module probe also reproduced the session-ownership timing failure while its five-second primary refresh timer remained pending. Main independently landed the canonical repair: install the clock before navigation and count the correct roster query. Our duplicate was removed; the integrated file passes all 14 cases and explicitly verifies exactly one post-window roster refresh. These fixture repairs do not change production behavior.
  • Frozen Bundler/Fastlane checks, Cargo locked metadata, SwiftPM resolution, and Jinja compilation pass. No release publication or full native-app run was performed locally. Independent Codex autoreview found no actionable P0–P2 issues in the dependency change and subsequent repair batches.

Changed-test costs (--maxWorkers=1 where applicable): docs Markdown 4.84s wall; real Baileys payload 22.25s on the loaded local host, 1.815s case; npm lock generator 8.85s, extended case 871ms; changed file-panel browser suite 7.97s, added case 218ms; iOS Fastlane 3.929s; OCM fixture 4.37s; install-smoke 5.916s; standalone artifact/package fixtures 26.31s. Final repairs: Session Share 24.66s wall; goal unit 4.56s; goal E2E 19.55s; integrated workflow 5.788s; initial pinned-native pnpm probes 21.43s macOS and 18.02s Linux; complete Corepack five-case probes 48.29s macOS and 33.70s Linux; final strict direct-Node replay 19.09s; Home recovery 8.607s case time and 76.16s wall including a 41.87s UI build; session ownership with the final canonical main fixture 32.47s wall and 1.043s for the affected case. Gateway three-file fixture replay: 647.06s after repair versus 282.40s baseline, with observed unrelated host compiler load during the green run. The unchanged subprocess-heavy release-admission file took 628.431s locally; only its exact YAML fixture pin changed. On the successful final-head CI run, Control UI test steps took 236–258 seconds across three shards; the eight Control UI E2E test steps took 394–551 seconds (whole-shard measurements, not per-case cost). The dist build took 105 seconds; macOS app Swift tests took 621 seconds; iOS build took 1,421 seconds and focused voice-cleanup simulator tests took 404 seconds.

Retained failure evidence

An initial local build refused publication after a test was added during its input snapshot; compilation completed and the later clean Linux build passed. Two local subprocess fixtures hit unchanged startup deadlines under host load above 85; a same-order shutdown replay passed without establishing a fix, and remaining proof moved to clean Linux.

Initial Linux CI observed pnpm’s repeated-interrupt exit status 143 instead of 130. The pinned 12.4.2 launcher escalates its second interrupt to SIGTERM on its immediate shell, while the detached OpenClaw implementation retains the first SIGINT and exits 130 after cleanup. The repaired fixture verifies actual process ancestry and raw launcher receipts separately, preserving exact non-pnpm exit tuples and every implementation/descendant/staging/claim/artifact assertion. Actual Corepack Linux proof passes, including delegates that translate inner SIGTERM into numeric 143; its owned Testbox lease was stopped.

A Telegram /help case timed out in the previous hosted run. Its unchanged full-file replay passed 12/12 in the original order (75.36s wall), with no metadata/network errors. No fix is attributed to that replay.

The final head initially had one successful full CI run and a higher-ID duplicate cancelled by GitHub concurrency before executing any steps. The security publisher selected that cancelled run, leaving its required legacy openclaw/ci-gate status failing despite the successful aggregate check. A recovery rerun was explicitly cancelled by @steipete at 15:34 UTC, again before any steps ran. Recovery attempt 3 completed with three native-process failures: macOS lipo fixture cleanup reported kill EPERM, the real Windows scheduled-task probe exceeded its existing five-second PowerShell deadline, and Windows PowerShell timed out before creating the read-tool fixture. The original macOS nine-file shard passed unchanged on Node 24.20.0 (593/593, 82.53s); 150 strict lipo completions also passed. The exact-candidate Windows replay passed all three affected tests with unchanged assertions and deadlines (82.43s total). These replays do not establish a fix; no safe source repair was found. The failed jobs subsequently passed in CI attempt 4, and the native workflow verified merge commit 7dbfab8c2c7c7480925bb04189cae3b16f1812c9. The investigation did not establish a source fix; assertions, deadlines, cleanup requirements, and gate policy stayed unchanged.

Diagram rendering

Inspected synthetic screenshots use the same Control UI sources and content, changing only the exact Mermaid classic bundle. Served hashes match the published package bytes. Both images were verified to render in this PR.

Before Mermaid 11.17.2

After Mermaid 12.0.0

ClawSweeper’s input scan rejected generated raw Git metadata before producing a review verdict. The bounded scanner-owner fix landed in ClawSweeper PR 1659 at 74df933; it retains complete source scanning and mandatory supplemental native proof. Native landing recorded the completed ClawSweeper review for exact head 204f804e0f6926bbc682560878b8dfb4836a3344, reviewed at 15:53:10 UTC. Earlier review reported no correctness or security findings and sufficient proof.

Goal rejection feedback

The same settled synthetic screen, after clicking Resume without a usable recovery scope. Before, no error was rendered; after, the existing rejection is visible immediately. Both paths send zero goal RPCs and write zero recovery records.

Before: rejected goal action has no visible feedback

After: rejected goal action shows its error

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

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

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 23, 2026 08:40
@steipete
steipete requested a review from a team as a code owner September 23, 2026 08:40
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalouser Channel integration: zalouser app: android App: android app: ios App: ios app: web-ui App: web-ui extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb scripts Repository scripts channel: feishu Channel integration: feishu extensions: acpx extensions: tavily channel: qa-channel Channel integration: qa-channel extensions: qa-lab extensions: memory-wiki extensions: codex labels Sep 23, 2026
@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations agents Agent runtime and tooling channel: buzz labels Sep 23, 2026
@steipete
steipete force-pushed the codex/deps-seven-day-20260923 branch 2 times, most recently from a70811f to c44aed6 Compare September 23, 2026 12:45
@steipete
steipete force-pushed the codex/deps-seven-day-20260923 branch from c44aed6 to e126efd Compare September 23, 2026 13:32
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The raw-diff Git metadata admission repair has landed on ClawSweeper main in openclaw/clawsweeper#1659 (74df933). Please review current head e126efdc70c2b92ed39765c6099368434594b918 with the normal input scan and review gates. The PR body contains current contract proofs, failure dispositions, and inspected screenshots.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 23, 2026, 1:33 PM ET / 17:33 UTC (Revision 4).

ClawSweeper review

What this changes

Refreshes runtime, UI, native-build, and CI dependencies using a seven-day cutoff, preserves affected compatibility contracts, and makes rejected goal actions display their errors.

Merge readiness

⛔ Blocked before merge - 3 items remain

Keep open: current main still uses the older dependency pins, and the proposed update has useful compatibility repairs and convincing behavior evidence. No blocking correctness defect was found.

Priority: P2
Reviewed head: 204f804e0f6926bbc682560878b8dfb4836a3344

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong behavior evidence and focused compatibility repairs support a good patch with no actionable correctness finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The inspected UI captures show corrected goal-error publication and retained diagram rendering; the matching full body supplies real audio, transport, packaged-runtime, and Corepack interruption evidence for the changed dependency boundaries. No OpenClaw stored-data contract changes were identified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The inspected UI captures show corrected goal-error publication and retained diagram rendering; the matching full body supplies real audio, transport, packaged-runtime, and Corepack interruption evidence for the changed dependency boundaries. No OpenClaw stored-data contract changes were identified.
Evidence reviewed 13 items Pinned source and merge ownership: Reviewed introduced changes from 6b3eb02 to 204f804. Raw test-merge records confirm ecf2fc7 followed by the exact PR head as parents; the goal-feedback repair survives that merge.
Still necessary on current main: Fetched main retains pnpm 12.4.0 and Vitest 5.0.0, while the branch selects 12.4.2 and 5.0.1. Main’s early goal-rejection paths also still set the error without requesting a render. No merged replacement was established; release inclusion is not claimed.
Complete captured proof body inspected: Retrieved all 13,575 UTF-16 units and verified SHA-256 0ebef018bce17ce71f98ba8a753426c073d5bc8d894d28679b8e991966b8e12a, matching the supplied snapshot. Evidence includes real Baileys audio probes, Slack transport contracts against local servers, packaged LanceDB cases, Chromium MCP checks, native Corepack interruption probes, browser captures, measured test costs, and explicit failure dispositions.
Findings None None.
Security None None.

How this fits together

Dependency manifests and lockfiles select the libraries used by OpenClaw’s build tooling, Gateway, plugins, and Control UI. Compatibility adapters preserve existing memory, messaging, and rendering behavior as those libraries change.

flowchart LR
  A[Published dependencies] --> B[Pinned manifests and lockfiles]
  B --> C[Compatibility adapters]
  C --> D[Build and package]
  D --> E[Gateway and plugins]
  D --> F[Control UI]
  E --> G[Memory and channel behavior]
  F --> H[Diagrams and goal feedback]
Loading

Before merge

  • Complete next step (P2) - Obtain independent openclaw/openclaw-secops approval for the security-review action manifests.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Source growth Production/tooling net +52 lines; tests/support net +205 lines Excluding generated metadata and dependency patches, growth supports compatibility repairs and their regression coverage.
Deferred renderer size Reported 1555.8 KiB gzip against a 960 KiB limit The documented full-feature renderer tradeoff remains visible even though GitHub reports this limit as advisory.

Stored data model

Persistent data-model change detected: serialized state: ui/package.json, unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Ship the refreshed dependency graph while preserving memory formats, channel payloads, documentation anchors, and visible goal-error feedback.

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

Yes for the included goal-feedback defect: rejecting a goal action without a recovery scope sets an error on current main without requesting a render, and supplied before/after captures show the result. This read-only review did not execute that path.

Is this the best way to solve the issue?

Yes: the repairs reuse existing production owners and preserve their contracts while updating dependencies; no competing plugin API or migration path is introduced.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a supported dependency-maintenance update with bounded compatibility repairs, without evidence of an urgent user-facing regression.
  • 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 (linked_artifact): The inspected UI captures show corrected goal-error publication and retained diagram rendering; the matching full body supplies real audio, transport, packaged-runtime, and Corepack interruption evidence for the changed dependency boundaries. No OpenClaw stored-data contract changes were identified.
  • proof: sufficient: Contributor real behavior proof is sufficient. The inspected UI captures show corrected goal-error publication and retained diagram rendering; the matching full body supplies real audio, transport, packaged-runtime, and Corepack interruption evidence for the changed dependency boundaries. No OpenClaw stored-data contract changes were identified.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: 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 (3 earlier review cycles)
  • reviewed 2026-09-23T13:51:28.860Z sha e126efdc70c2b92ed39765c6099368434594b918 :: blocked before merge. :: none
  • reviewed 2026-09-23T14:24:49.852Z sha a5f07b9789605872d78135aa52cd83b3f9572a72 :: blocked before merge. :: none
  • reviewed 2026-09-23T15:53:10.257Z sha 204f804 :: blocked before merge. :: none

Publish rejected goal actions through the existing renderer lifecycle. Start the Session Share service in integration fixtures, preserve same-job workflow authority, and distinguish pnpm launcher escalation from detached cleanup ownership.
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 23, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

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

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: linux app: web-ui App: web-ui channel: buzz channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams channel: qa-channel Channel integration: qa-channel channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations dependencies-changed PR changes dependency-related files deploy: cloudflare Cloudflare deployment template and docs docs Improvements or additions to documentation extensions: acpx extensions: amazon-bedrock extensions: amazon-bedrock-mantle extensions: anthropic-vertex extensions: browser extensions: canvas extensions: codex extensions: copilot extensions: diffs extensions: firecrawl extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: oc-path extensions: ollama extensions: qa-lab extensions: tavily extensions: tokenjuice Changes to the bundled tokenjuice extension extensions: xai gateway Gateway runtime P2 Normal backlog priority with limited blast radius. plugin: facetime FaceTime plugin plugin: file-transfer plugin: google-meet plugin: imap plugin: migrate-hermes plugin: onnx plugin: teams-meetings Teams Meetings plugin plugin: typesafe plugin: visitor-access plugin: workboard plugin: zoom Zoom plugin 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: 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