Skip to content

[Windows Codex Desktop 26.1002.7124.0] /goal runs stream reasoning for ~50 min with no tools or answer; repeats after pause/resume #52529

Open

Description

@masanori64

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.Codex package)
  • 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 /goal objectives 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:

  1. Goal resumed and a new turn began at 19:08:38 JST.
  2. New shell commands completed at 19:08:59 and 19:09:04 (read-only process/status/test-result checks).
  3. From 19:09:08 through at least 19:34:47, the thread history recorded 92 additional reasoning items and no further tool calls or user-facing progress. The turn remained inProgress.
  4. A user steering message was submitted around 19:26. Core logs show it was accepted as a Steer submission for the existing active turn, but no timely response/action followed.
  5. 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: interrupted on both affected turns; inProgress during 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=reasoning continue streaming while tool, Git, and test activity stop.
  • codex_core::stream_events_utils logs show receiving_stream / handle_responses / handle_output_item_done with item_type="reasoning".
  • During the resumed window, the core recognized an active Steer user submission and reported the turn still InProgress.
  • 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

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

  1. added
    bug
    app
    windows-os
    model-behavior
    on Oct 9, 2026
  2. github-actions commented on Oct 9, 2026

    @github-actions
    Contributor
  3. saurabhav88 commented on Oct 9, 2026

    @saurabhav88

    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

    • macOS 27.2, build 26B5101f, Apple Silicon arm64.
    • Ghostty 1.3.1.
    • Affected rollout metadata: originator=codex-tui, cli_version=0.160.0.
    • codex --version now 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.
    • Model recorded for the affected turn: gpt-6.1-sol, effort medium.
    • Approval policy never, sandbox danger-full-access, OpenAI provider.
    • No /goal objective 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:

    Time Observed event
    18:01:46.761 Affected turn starts
    18:26:16.491 Last user-facing progress message in that turn
    18:32:21.283 Completed tool output containing the finished independent-review verdict
    18:33:15.048 Completed diagnostic tool output
    18:33:39.680 through 18:35:58.020 Further reasoning response items, with no intervening tool or user-facing message
    18:36:02.473 Another completed metadata lookup
    18:36:25.971 Further reasoning item
    18:36:50.443 User interruption / turn_aborted

    Across 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugmodel-behaviorwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions