Skip to content

chore: update dependencies and migrate major contracts - #112963

Merged
steipete merged 17 commits into
mainfrom
steipete/fervent-lovelace-14355a
Jul 24, 2026
Merged

steipete merged 17 commits into
mainfrom
steipete/fervent-lovelace-14355a

Conversation

@steipete

@steipete steipete commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The conservative dependency refresh in #112453 deliberately held several major versions because they required runtime contract migrations rather than manifest-only bumps. This follow-through completes those supported upgrades without regressing process ownership, structured logging, Slack proxy connectivity, Codex protocol compatibility, or supported tooling platforms.

Why This Change Was Made

This PR carries the major upgrades through their owning runtime boundaries:

  • migrates Execa 10 child-process event/state access to nodeChildProcess while keeping Execa responsible for termination escalation;
  • updates tslog to the latest compatible v4 release, 4.11.0; tslog 5 is held because its fields-first JSON format cannot preserve OpenClaw's positional JSONL parser contract;
  • migrates Slack Bolt 5, Web API 8, and types 3, sharing one structural Undici dispatcher across Web API fetch and Socket Mode, handling native Response values, and preserving reconnect/native-data fallback behavior;
  • updates the managed Codex harness to @openai/codex 0.145.0 and regenerates the selected app-server schemas from the exact rust-v0.145.0 source tag;
  • updates ACP, pi-tui, Vite, oxfmt, OpenGrep, actionlint, pre-commit tools, Buildx, OCM, and MinGit pins;
  • regenerates the canonical pnpm graph, all 82 npm shrinkwraps, and the Plugin SDK API hash manifest.

The update still holds versions where the newer release violates an active contract or supported platform: tslog 5 changes the stable JSONL record shape; TypeScript 7 lacks compiler APIs used by repository tooling; tsdown 0.22.12 generated invalid Plugin SDK declarations; jscpd 5 lacks binaries for supported Windows ARM64 and musl hosts. The existing LanceDB, Arrow, audio-decode, and Matrix holds from #112453 remain unchanged.

AI-assisted: implementation, dependency-contract inspection, and validation used Claude Code plus the repository's Codex-backed AutoReview helper.

User Impact

Users receive the current supported major dependency set without losing Slack proxy support, process cancellation semantics, structured-log compatibility, Codex harness compatibility, or supported ARM/musl tooling paths. There is no new configuration surface and no intended product behavior change beyond upstream fixes.

Evidence

  • Exact-head CI on 3d2c3bb91b0e2c9e37c9bf710639be45da418c1d: https://github.com/openclaw/openclaw/actions/runs/30064583058
    • CI gate green;
    • all four QA Smoke profiles green;
    • all compact Node shards, UI, Windows, ARM, build-artifact, lint, type, dependency/deadcode, shrinkwrap, Plugin SDK API, architecture, prompt-snapshot, and docs checks green;
    • Dependency Guard, Security Sensitive Guard, OpenGrep, and all selected CodeQL high-risk boundaries green.
  • Blacksmith Testbox tbx_01ky80jyce0drbmj4qva0k8vqt on Node 24.18.0 / pnpm 11.15.1:
    • fresh install passed supply-chain policy verification;
    • all 82 npm shrinkwraps regenerated and independently rechecked as current;
    • Plugin SDK API manifest regenerated and checked;
    • Codex protocol generated from rust-v0.145.0 and matched OpenClaw bridge assumptions.
  • Clean frozen-install runtime acceptance on local-container cbx_4722cdd9345e (Node 24 / pnpm 11.15.1):
    • managed Codex app-server initialized successfully and reported version 0.145.0;
    • Slack auth.test succeeded through a local HTTP CONNECT proxy;
    • Slack Socket Mode completed its WebSocket hello handshake through the same proxy, with CONNECT targets slack.com and wss-primary.slack.com;
    • the probe posted no Slack message and shut the connection down immediately after the handshake.
  • ACPX dependency convergence proof:
    • @agentclientprotocol/codex-acp 1.1.7 resolves the same Codex 0.145.0 line as the managed harness;
    • all 203 ACPX tests passed in a clean container;
    • the final lockfile contains no Codex 0.144.6 package.
  • Focused migration proof:
    • 777 tests passed, 1 skipped across Execa/process, grep/find, Gateway open-path, Slack, Codex, OpenGrep, and plugin dependency contracts;
    • 31 logging and Plugin SDK surface tests passed;
    • 29 package-manager and generated-artifact tests passed.
  • Registry metadata/integrity verified for each upgraded direct package.
  • Final full-branch AutoReview and each follow-up fix review reported no accepted/actionable findings.

@steipete
steipete marked this pull request as ready for review July 23, 2026 07:39
@steipete
steipete requested a review from a team as a code owner July 23, 2026 07:39
@github-actions

github-actions Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/acpx/npm-shrinkwrap.json
  • extensions/acpx/package.json
  • extensions/codex/npm-shrinkwrap.json
  • extensions/codex/package.json
  • extensions/qa-lab/package.json
  • extensions/slack/npm-shrinkwrap.json
  • extensions/slack/package.json
  • npm-shrinkwrap.json
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • ui/package.json

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Jul 23, 2026
@github-actions

github-actions Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: 3d2c3bb91b0e2c9e37c9bf710639be45da418c1d
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nostr Channel integration: nostr channel: signal Channel integration: signal 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: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: diagnostics-otel Extension: diagnostics-otel extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb security Security documentation labels Jul 23, 2026
@steipete
steipete force-pushed the steipete/fervent-lovelace-14355a branch from f0cc96d to 4e6955c Compare July 23, 2026 21:19
@openclaw-barnacle openclaw-barnacle Bot removed channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line labels Jul 23, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready verification for 3d2c3bb91b0e2c9e37c9bf710639be45da418c1d:

  • Exact-head CI is green: https://github.com/openclaw/openclaw/actions/runs/30064583058
    • CI gate, all four QA profiles, all Node shards, UI, Windows, ARM, build artifacts, lint, production/test types, deadcode/dependencies, all 82 shrinkwrap checks, Plugin SDK API/surface, architecture, prompt snapshots, docs, Dependency Guard, Security Sensitive Guard, OpenGrep, and selected CodeQL high-risk boundaries passed.
  • Latest-head clean frozen-install runtime acceptance passed in local-container cbx_def1d94db755 on Node 24 / pnpm 11.15.1:
    • managed_codex_clean_install=true
    • managed_codex_app_server_initialized=true
    • managed_codex_version=0.145.0
    • slack_auth_ok=true
    • slack_socket_hello_observed=true
    • slack_proxy_connect_hosts=slack.com,wss-primary.slack.com
    • slack_message_posted=false
  • The Slack probe used the test app, a local HTTP CONNECT proxy, and the same package-owned Undici dispatcher for Web API and Socket Mode. It disconnected immediately after the hello frame and posted nothing.
  • Exact Codex protocol generation/check passed from the upstream rust-v0.145.0 tag. Registry names, versions, and integrity values were verified for the upgraded direct packages. Workflow executable updates remain SHA-pinned; Buildx adds architecture-specific SHA-256 verification.
  • ACPX was updated to @agentclientprotocol/codex-acp 1.1.7, whose inspected upstream manifest uses Codex ^0.145.0; the final graph contains no Codex 0.144.6 package and all 203 ACPX tests pass.
  • tslog is intentionally held at latest compatible v4 (4.11.0) because v5 changes the stable JSONL record shape and has no full v4 compatibility mode.
  • Final full-branch Codex AutoReview reported no accepted/actionable findings.

Owner decision: as dependency/security owner for this maintainer branch, I approve the combined migration rather than splitting it. The package and executable provenance is verified, the highest-risk Slack/Codex boundaries now have latest-head clean-install runtime proof, the exact-head cross-platform/security gates are green, and the remaining version holds are explicit compatibility decisions rather than incomplete upgrades.

@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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: web-ui App: web-ui channel: slack Channel integration: slack dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation extensions: acpx extensions: codex extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR scripts Repository scripts security Security documentation size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant