openai / openai/codex

Codex desktop: tasks stuck on Thinking / stream disconnects across projects

Open
#39,859 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug connectivity
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

I’m experiencing persistent Codex desktop failures on macOS in ChatGPT/Codex desktop version 26.818.21641 (build 6849).

Since 20 August 2026, both existing and newly created Codex tasks have repeatedly stalled on “Thinking.” This happens across unrelated local projects, so it does not appear to be caused by one repository, one task’s context, or a single large conversation.

Observed scope over 20–21 August:

  • 23 top-level turns were manually interrupted.
  • 14 of those ran for at least one minute across 10 separate tasks.
  • 7 ran longer than five minutes.
  • The 14 long interrupted turns consumed 2 hours 22 minutes of elapsed time.
  • Including one confirmed terminal stream failure, total time lost was approximately 2 hours 30 minutes.
  • The problem reproduces in fresh chats, not only long-running chats.

Local storage checks found no evidence of missing or corrupted conversations: session files and local database integrity checks were healthy. The issue appears to be request-streaming/reconnection or desktop client handling rather than deleted chats.

Token impact:

  • Three of the long interrupted turns recorded approximately 237,236 total local model-request tokens combined.
  • This includes 236,402 input tokens and 834 output tokens.
  • 225,024 cached-input tokens are included within the input total and are not additional tokens.
  • The confirmed stream-failure turn recorded no token usage before it failed.

I have already fully quit and restarted the desktop app many times. Please investigate persistent Codex desktop request streaming/reconnection failures for this app build and account, especially cases where a turn remains in “Thinking” without any assistant or tool event ever beginning.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the stalled “Thinking” and confirmed terminal stream failure on macOS with Codex desktop version 26.818.21641 (build 6849), using both fresh chats and multiple local projects. Investigate request-streaming and reconnection handling rather than local session storage. Done means turns either begin producing assistant or tool events or fail with a clear recoverable error instead of remaining stuck.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.