openclaw - 💡(How to fix) Fix [Bug]: @openclaw/codex 2026.5.12 webchat stalls at turn/started, no turn/completed — macOS, ChatGPT OAuth

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…

Root Cause

Auth profile reports chatgptPlanType: "prolite". Not believed to be causal because the A/B test changed only the @openclaw/codex plugin version while auth stayed unchanged. Noting only in case it affects a plugin code path.

Fix Action

Workaround

Pin @openclaw/codex to 2026.5.7:

openclaw plugins install '@openclaw/[email protected]' --force --pin
openclaw gateway restart

Discord channel unaffected throughout — webchat-specific.

Code Example

last=codex_app_server:notification:turn/started

---

openclaw plugins install '@openclaw/[email protected]' --force --pin
openclaw gateway restart
RAW_BUFFERClick to expand / collapse

Environment

OpenClaw2026.5.12 (f066dd2)
@openclaw/codex2026.5.12 (broken) / 2026.5.7 (working)
@openai/codex0.130.0
Node22.22.2
OSmacOS Intel (Darwin 25.4.0)
GatewayLaunchAgent, stdio transport, 127.0.0.1:18789
ChannelWebchat (Control UI)
AuthChatGPT OAuth
Modelvaries / reproduced in webchat with current default

Symptom

Every webchat message stalls. Agent calls tools.message to deliver a reply; the codex app-server emits turn/started but never sends turn/completed back to OpenClaw. Gateway eventually aborts the embedded run at ~620s (reason=active_work_without_progress, recovery=abort_embedded_run). No response is delivered to the user.

Last progress marker seen by gateway:

last=codex_app_server:notification:turn/started

Session never advances beyond this point.

Reproduction (A/B confirmed twice)

  1. Start with @openclaw/codex 2026.5.12 — webchat stalls every time
  2. Downgrade to 2026.5.7 (openclaw plugins install '@openclaw/[email protected]' --force --pin) + gateway restart → webchat responds within ~42s
  3. Re-upgrade to 2026.5.12 + gateway restart → stalls again within 2 min
  4. Downgrade again to 2026.5.7 → working

Single variable: only @openclaw/codex version changed. OpenClaw CLI, @openai/codex binary, auth profile, and transport unchanged throughout.

Relationship to existing issues

Similar class of bug as #82274 (Codex app-server stalls after custom_tool_call_output) and #82343 (turn/completed missing, run hangs to timeout), both closed with fixes landing in 2026.5.16-beta.3. This repro is distinct: macOS + webchat path, stall marker is turn/started (not rawResponseItem/completed), confirmed via plugin version toggle rather than full reinstall.

Note: fixes in 2026.5.16-beta.3 appear related based on release notes, but the beta was not tested. Confirmed only that 2026.5.7 resolves the issue on this config.

Additional observation

Auth profile reports chatgptPlanType: "prolite". Not believed to be causal because the A/B test changed only the @openclaw/codex plugin version while auth stayed unchanged. Noting only in case it affects a plugin code path.

Workaround

Pin @openclaw/codex to 2026.5.7:

openclaw plugins install '@openclaw/[email protected]' --force --pin
openclaw gateway restart

Discord channel unaffected throughout — webchat-specific.

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 [Bug]: @openclaw/codex 2026.5.12 webchat stalls at turn/started, no turn/completed — macOS, ChatGPT OAuth