openclaw - 💡(How to fix) Fix CLI commands ~14s cold-start regression after 2026.5.12 update [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

All CLI commands are taking ~14 seconds to complete after updating from 2026.5.7 → 2026.5.12 on Linux. The gateway itself is healthy — this is pure CLI-side startup overhead.

Root Cause

All CLI commands are taking ~14 seconds to complete after updating from 2026.5.7 → 2026.5.12 on Linux. The gateway itself is healthy — this is pure CLI-side startup overhead.

Fix Action

Fixed

Code Example

time openclaw health

---

Telegram: configured
Gateway event loop: ok max=35ms p99=25ms util=0.023 cpu=0.022
Agents: main (default)
...

real    0m14.555s
user    0m10.658s
sys     0m1.206s
RAW_BUFFERClick to expand / collapse

Summary

All CLI commands are taking ~14 seconds to complete after updating from 2026.5.7 → 2026.5.12 on Linux. The gateway itself is healthy — this is pure CLI-side startup overhead.

Steps to reproduce

time openclaw health

Output

Telegram: configured
Gateway event loop: ok max=35ms p99=25ms util=0.023 cpu=0.022
Agents: main (default)
...

real    0m14.555s
user    0m10.658s
sys     0m1.206s

~10.6s of user CPU before the command completes. Gateway event loop is fine.

Environment

  • OpenClaw: 2026.5.12 (was 2026.5.7)
  • Platform: Linux 6.17.0-20-generic x86_64
  • Node: v22.22.2
  • Install method: pnpm (npm-global)
  • Gateway mode: local systemd user service, port 18789

Additional context

  • The codex plugin (@openclaw/codex) was installed for the first time during this update.
  • Immediately after the update the gateway also had a severe event-loop spike at startup (eventLoopDelayMaxMs=117037ms, util=0.989) that lasted a few minutes. That has since resolved — the gateway is stable — but CLI cold-start remains at ~14s.
  • openclaw completion --write-state takes >120s (was timing out at the update script's 30s cutoff).
  • Pre-update (2026.5.7), CLI commands were fast. No baseline timing captured unfortunately.

The 10.6s of user CPU on the CLI process suggests heavy module loading at startup, possibly from the new Codex plugin being pulled into the CLI's require graph.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix CLI commands ~14s cold-start regression after 2026.5.12 update [1 pull requests]