Repository navigation
Description
Summary
On Codex Desktop for Windows, two independent, long-running /goal development conversations became stuck in Thinking after their last completed tool call. The backend continued emitting reasoning response items about every 10–20 seconds for approximately 50 minutes, but no new command execution, useful assistant message, or final result appeared. Both required manual interruption and Goal pause. The condition recurred after resuming one Goal, even though the initial resumed shell calls completed normally.
This is based on read-only local Codex rollout JSONL, SQLite thread/turn records, core logs, and Git/test timestamps, not just the Desktop spinner. Private project names, local paths, device/account identifiers, conversation text, and raw encrypted reasoning are intentionally omitted.
Environment
- Codex Desktop (Windows Microsoft Store/MSIX): 26.1002.7124.0 (read from installed
OpenAI.Codexpackage) - Platform: Windows x64 (exact OS build not collected for this report)
- Model:
gpt-6.1-sol, reasoning effort High in both parent conversations - Authentication: ChatGPT sign-in (not a direct API integration)
- Both conversations had persistent
/goalobjectives involving long, multi-phase local development. They were distinct projects with separate workspaces and subagents. - The parent conversations were long-lived with earlier context compactions. No causal claim is made about compaction.
Timeline (2026-10-09, JST / UTC+09:00)
| Conversation | Last completed tool | Continued reasoning-only stream | User interruption / Goal pause |
|---|---|---|---|
| A | 18:08:28 | Until 18:58:32 | Turn interrupted at 18:59:07, Goal paused at 18:59:09 |
| B | 17:19:53 | Until 18:09:18 | Goal paused at 18:09:34, Turn interrupted at 18:09:35 |
In both cases, the last command was recorded as completed (exit code 0). The continuing output was model reasoning items, not a shell command waiting for input.
Reproduction after resuming conversation A:
- Goal resumed and a new turn began at 19:08:38 JST.
- New shell commands completed at 19:08:59 and 19:09:04 (read-only process/status/test-result checks).
- From 19:09:08 through at least 19:34:47, the thread history recorded 92 additional
reasoningitems and no further tool calls or user-facing progress. The turn remainedinProgress. - A user steering message was submitted around 19:26. Core logs show it was accepted as a
Steersubmission for the existing active turn, but no timely response/action followed. - Git and verification artifacts were unchanged during this reasoning-only interval. Previously saved uncommitted work remained intact.
For context, the new turn had a logged total_usage_tokens=708520 relative to an auto_compact_scope_limit=720000 and a model context window of 760000. It had not formally hit the window limit. Proximity to compaction may be relevant, but root cause is not established.
Expected behavior
After successful tool completion, Codex should make progress (invoke the next required tool, provide a status/final answer, or declare a genuine blocker). If model generation cannot advance for an extended interval, the Desktop and Goal runtime should show a clear reason and offer a safe recovery that preserves the existing Git/Session/Effect state rather than consuming user time and potentially quota with continuous reasoning-only output. Steering should be acknowledged or explicitly marked as pending.
Actual behavior
The active turn continues receiving reasoning items indefinitely without practical work or a final answer. Pausing/interruption can stop it, but resuming the same large thread can reproduce the stall. Repeated Stop/Resume did not fix the underlying recurrence.
Evidence and possible useful diagnostic checks
thread_turns.status:interruptedon both affected turns;inProgressduring the resumed stall.thread_items: complete shell activity followed by a long run of reasoning items with no subsequent command execution.- Rollout
event_msg.item_completed/response_item.type=reasoningcontinue streaming while tool, Git, and test activity stop. codex_core::stream_events_utilslogs showreceiving_stream / handle_responses / handle_output_item_donewithitem_type="reasoning".- During the resumed window, the core recognized an active
Steeruser submission and reported the turn stillInProgress. - No explicit rate-limit or model context-window reached error was observed in the inspected section (not proof that limits are unrelated).
Please investigate the post-tool transition between streaming model reasoning and tool/final output, long-Goal continuation after a resume, and whether the runtime needs a progress watchdog or clear diagnostic surface for prolonged reasoning-only streams. It would be useful to distinguish actual ongoing generation from a stale UI and to preserve uncommitted work and external-effect provenance on recovery.
Related reports
- Windows App 26.904.11930: recurrent indefinite Thinking, unresponsive steering, and Stop reports 0s after long waits #50832 (Oct 4: Windows indefinite Thinking and unresponsive steering)
- Goal in Chat Causing Endless Token Burn with Hung Agent in Thinking #27656 (Goal stuck in Thinking with token consumption)
- Codex frequently gets stuck at “Thinking” until manually interrupted #29780 (frequent Windows Thinking stalls even outside Goal mode)
- Codex Desktop 26.519 / CLI 0.133.0: long post-tool thinking gaps and excessive context growth even with memories disabled #24336 (post-tool Thinking gap and context growth)
I can provide private in-product diagnostic feedback identifiers if there is a documented, safe feedback path. I am not publishing private project files, raw rollouts, local paths, credentials, or full thread IDs in a public issue.
Reported at the affected account holder's request, after read-only inspection; no process or repository state was modified to produce this report.
Activity
github-actions commentedon Oct 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
saurabhav88 commentedon Oct 9, 2026
Additional macOS / Ghostty CLI evidence that may be related to this report. This is a different surface and a shorter measured stall, so I am not claiming an identical 50-minute no-tools reproduction.
Environment
originator=codex-tui,cli_version=0.160.0.codex --versionnow reports 0.162.0. The affected parent session was already open. This report does not establish a fresh-parent-session reproduction on 0.162.0.gpt-6.1-sol, effortmedium.never, sandboxdanger-full-access, OpenAI provider./goalobjective in this affected turn.Observed timeline, 2026-10-09 UTC
The task was a bounded local hook-capability pilot. Tool-based tests and a separate review finished, and the agent had a concrete deployment blocker to report. It continued extended deliberation and intermittent metadata lookups instead of wrapping up. The user interrupted after the CLI displayed
Working (34m 35s).Read-only inspection of the parent rollout establishes:
turn_abortedAcross the whole approximately 35-minute turn, the rollout records 86 reasoning response items and 44 completed outer tool calls. The longest measured gap between tool/message response events was 167.325 seconds. There was no final answer before interruption, and no user-facing progress message for the final approximately 10.5 minutes.
Important qualification: the screenshot's 34-minute timer is total turn duration, not 34 minutes of continuous tool inactivity. Useful test work occurred earlier. The problem in this case is prolonged nonproductive continuation after results and the blocker were available, not a demonstrated hung shell or network request. Reasoning-event counts establish streamed activity, not useful progress or a confirmed cause.
After interruption, the assistant acknowledged in its user-visible reply that it had been stuck deliberating without making progress. That is additional behavior evidence, not a diagnosis of the underlying runtime or model fault. The user reports seeing similar stalls repeatedly; only this occurrence is quantified here.
Expected behavior
Once a bounded task has its results and a clear blocker, the agent should provide the result/blocker promptly. Prolonged reasoning-only stretches or repetitive low-value continuation should trigger a useful status, a stopping condition, or a recoverable error rather than remain indistinguishable from productive work. A progress watchdog should account for actual task advancement, not merely incoming reasoning items or CPU activity.
Affected thread:
01a121ab-65b9-7410-87ef-221fd4b174b0.Affected turn:
01a121d4-09f7-71c0-bb05-b414ec6bd2eb.Private prompts, project contents, local paths, account identifiers and raw reasoning were omitted. Root cause is not established. This may be a related model/agent stopping failure rather than the same backend fault as the original Windows report.