Codex Desktop on Windows 11: WSL Agent Environment has extreme per-turn latency, including trivial prompts

Open 💬 5 comments Opened Jun 9, 2026 by aanordlund

What version of the Codex App are you using (From “About Codex” dialog)?

26.602.71036 • Released 8 Jun 2026

What subscription do you have?

Plus

What platform is your computer?

W11 (fully updated) + WSL2 (Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64)

What issue are you seeing?

Summary

Codex Desktop on Windows 11 is responsive when not using WSL, and WSL itself is also responsive in normal use. However, when using WSL Agent Environment, Codex becomes extremely slow, including for trivial prompts such as OK.

This is not limited to initial WSL startup. The same issue occurs on the 2nd and later prompts in an already-open thread, where WSL cold start is no longer a credible explanation.

What I observe

  • Windows 11 agent path: fast
  • Normal WSL usage outside Codex: fast
  • Codex Desktop with WSL Agent Environment: extremely slow
  • Even trivial prompts like OK can take minutes
  • This happens repeatedly and is easy to reproduce

Why this seems like a Codex WSL integration bug

The delay does not appear to be caused by model reasoning or repository analysis:

  • The prompt is trivial
  • The same trivial prompt is fast outside WSL agent mode
  • Normal WSL work on this machine does not show comparable latency
  • The issue persists after the first prompt in the thread

This suggests a problem in the Codex Desktop <-> WSL integration path, such as:

  • per-turn context hydration
  • repeated state/history access under .codex
  • locking/contention on Codex state
  • Windows/WSL IPC stalls
  • unnecessary repeated scanning or bookkeeping on each turn

Reproduction

  1. Open Codex Desktop on Windows 11
  2. Start a new thread with WSL Agent Environment
  3. Send a trivial prompt such as OK
  4. Observe very long latency
  5. Send another trivial prompt in the same thread
  6. Observe that latency remains very high

Expected behavior

  • First prompt in a new WSL thread may have some startup cost, but should still be on the order of seconds, not minutes
  • 2nd and later trivial prompts in the same WSL-backed thread should return quickly

Actual behavior

  • New-thread trivial prompts can take minutes
  • Repeated trivial prompts in the same thread can also take minutes

Comparison notes

  • Same machine
  • Same user
  • Same kind of trivial prompt
  • Fast in Windows agent mode
  • Fast in ordinary WSL use outside Codex
  • Slow only in Codex Desktop with WSL Agent Environment

Related public reports

These may be related, though my issue is specifically about severe per-turn latency:

  • #14468
  • #13762
  • #13549
  • #13785

Environment

  • OS: Windows 11
  • Agent environment: WSL
  • Codex Desktop app
  • WSL itself performs normally outside Codex

What steps can reproduce the bug?

Reproduction

  1. Open Codex Desktop on Windows 11
  2. Start a new thread with WSL Agent Environment
  3. Send a trivial prompt such as OK
  4. Observe very long latency
  5. Send another trivial prompt in the same thread
  6. Observe that latency remains very high

What is the expected behavior?

Expected behavior

  • First prompt in a new WSL thread may have some startup cost, but should still be on the order of seconds, not minutes
  • 2nd and later trivial prompts in the same WSL-backed thread should return quickly

Additional information

Related public reports

These may be related, though my issue is specifically about severe per-turn latency:

  • #14468
  • #13762
  • #13549
  • #13785

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗