-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Windows — models.authStatus cold latency 10-24s per CLI session (2026.5.18 + Codex 0.131.0) #84203
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.regressionBehavior that previously worked and now failsBehavior that previously worked and now failsstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.bugSomething isn't workingSomething isn't workingclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.regressionBehavior that previously worked and now failsBehavior that previously worked and now failsstaleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
After upgrading to 2026.5.18, every cold CLI session takes 27-45s for a trivial response due to models.authStatus latency of 10-24s; previously much faster.
Steps to reproduce
Expected behavior
Cold CLI session responds in under 10s, as observed in earlier versions.
Actual behavior
Every cold CLI session takes 27-45s. Logs show models.authStatus taking 10-24s without cache, and ~300ms with cached=true. The 60s cache TTL expires between separate CLI invocations, so every new session starts cold.
OpenClaw version
2026.5.18 (50a2481)
Operating system
Windows 11
Install method
npm global
Model
openai/gpt-5.5
Provider / routing chain
openclaw -> @openclaw/codex plugin -> codex app-server (stdio spawn) -> OpenAI
Additional provider/model setup details
Gateway runs as Windows Scheduled Task on loopback (127.0.0.1:18789).
Plugin: @openclaw/codex with codexDynamicToolsLoading=direct.
Auth: OAuth via ChatGPT/Codex browser login.
codex app-server daemon not supported on Windows, so no persistent process available.
Logs, screenshots, and evidence
Impact and severity
Affected: All Windows users using openclaw agent CLI with Codex plugin.
Severity: High (blocks practical use — 45s for a trivial response).
Frequency: Always, every cold CLI session.
Consequence: Agent unusable for interactive workflows; each conversation requires waiting 27-45s before first response.
Additional information
Last known good version: NOT_ENOUGH_INFO (issue noticed after upgrading to 2026.5.18).
codex app-server daemon workaround not available on Windows.
Switching codexDynamicToolsLoading from "searchable" to "direct" reduced latency from ~78s to ~45s, but cold path remains slow.
Node.js version: 24.14.1. Codex CLI: 0.131.0.