Skip to content

[Windows Desktop] Scheduled stop on active goal creates thousands of empty turns and hides transcript history #45026

Open

Description

@ElierHG

What version of the Codex App are you using?

  • Codex Desktop AppX: 26.908.4834.0 (x64)
  • Bundled/available Codex CLI: 0.154.0

What subscription do you have?

Paid ChatGPT account. The incident crossed an account usage-limit boundary.

What platform is your computer?

  • Windows 11 Pro x64
  • OS build 26200
  • Local Codex project/thread

What issue are you seeing?

A long-running goal worked normally until a one-time scheduled stop message was delivered to the same thread around the time the account reached its usage limit. The goal remained active after the stop message, and Codex generated thousands of synthetic goal-continuation turns, most with empty final_answer messages. The Desktop transcript then stopped rendering the real conversation history and showed a mostly blank viewport.

The stored history was not deleted. The app-server can still page through it, but the newest pages contain empty turns, and the Desktop UI does not progress to usable older messages.

This appears to combine three failure modes:

  1. A scheduled stop message can race with an active goal without actually pausing the goal.
  2. Goal continuation can enter a tight loop that emits empty completed turns, including across a usage-limit event.
  3. Transcript pagination/rendering does not skip empty turns or continue fetching until visible messages are available.

Observed sequence

All timestamps below are UTC.

  1. The long-running goal had operated normally for several days and was paused on 2026-09-05T18:30:25Z.
  2. The same goal was reactivated on 2026-09-12T01:56:50Z.
  3. A one-time thread heartbeat was scheduled for 2026-09-12T02:30:00Z (10:30 PM America/New_York). Its prompt told the task to stop new experiments, finish only necessary recovery, save a checkpoint, and stop. It also warned that the goal might need the app's Pause control.
  4. The scheduled stop message appeared in the thread. The goal itself remained active.
  5. The first empty assistant final_answer was recorded at 2026-09-12T02:32:23.137Z, shortly after the scheduled stop.
  6. Usage-limit failures were recorded at 2026-09-12T06:52:49.074Z and 2026-09-12T06:53:25.866Z.
  7. Empty completed turns continued until 2026-09-12T12:13:10.784Z.
  8. The goal was finally changed from active to paused at 2026-09-12T12:13:09.042Z.
  9. Opening the thread in Desktop showed the scheduled message near the bottom and a large blank transcript area. Older messages could not be reached normally.

Quantified local evidence

Sanitized counts from the local rollout JSONL:

  • Rollout size: 248,019,503 bytes (236.53 MiB)
  • turn_context records: 4,295
  • Internal goal-continuation prompts: 4,268
  • Assistant final_answer messages: 4,273
  • Empty assistant final_answer messages: 3,769
  • Non-empty assistant final_answer messages: 504
  • Empty turns were often created every 2–5 seconds.

A read-only thread/turns/list check returned:

  • the thread itself as idle after the goal was paused;
  • hasMore: true, proving older pages still exist;
  • newest pages containing completed turns with items: [] or assistant messages whose text is empty.

The visible failure is therefore not message deletion. It is a goal/state runaway that produced a pathological history, followed by a Desktop pagination/rendering failure over that history.

I am intentionally omitting the full thread ID, local project paths, raw transcript, and tool output because they contain private operational details. I can provide a redacted event sample or the full session through a maintainer-approved private channel.

Steps to reproduce

  1. Start a long-running goal in a local Codex Desktop thread.
  2. Let it run long enough to approach an account usage limit.
  3. While the goal is active, add a one-time thread heartbeat whose message instructs the task to stop at a specified time but does not mark the unfinished goal complete or blocked.
  4. Let the scheduled stop message arrive while the goal runner is active.
  5. Allow the account usage limit to be reached before the goal is explicitly paused in the UI.
  6. Inspect the rollout JSONL for repeated internal goal-continuation prompts and empty assistant final_answer records.
  7. Reopen the thread and try to scroll through all messages.

Expected behavior

  • Reaching a usage limit should transition the goal once into a non-running state without repeated continuation attempts.
  • A scheduled stop instruction delivered to an active goal should not leave the goal runner generating synthetic continuation turns indefinitely.
  • A completed model turn should not be persisted as an empty final_answer unless it has meaningful visible content or error state.
  • Desktop history loading should skip empty synthetic turns and keep paging until visible messages are found.
  • The complete stored conversation should remain reachable even when a thread contains many turns.

Actual behavior

  • The goal stayed active after the stop message.
  • Thousands of automatic continuation turns were created.
  • Most assistant finals were empty.
  • The rollout grew to 236.53 MiB.
  • Desktop rendered a mostly blank transcript and did not expose the older stored messages.

Related issues

This report adds the scheduled-stop interaction, a current Windows reproduction, exact lifecycle timestamps, and verified empty-turn counts.

Activity

  1. added
    bug
    app
    windows-os
    session
    rate-limits
    on Sep 12, 2026
  2. github-actions commented on Sep 12, 2026

    @github-actions
    Contributor
  3. etraut-openai commented on Sep 12, 2026

    @etraut-openai
    Contributor

    Thanks for the detailed report. Could you run /feedback from the affected task, include the session diagnostics, and share the session ID here? That will allow us to investigate further.

  4. YYYYYangjijjia commented on Sep 15, 2026

    @YYYYYangjijjia

    I encountered what appears to be the same issue today (Sep 15, 2026) in Codex Desktop on Windows.

    I had an active long-running Goal. I sent a follow-up instruction asking Codex to stop/pause after completing the current round because I wanted to continue the task in a fresh thread.

    The instruction was entered through voice transcription, and I later noticed that the word “goal” may have been transcribed as “go”. However, I do not think this was primarily a semantic misunderstanding. Codex clearly understood my intended pause: it repeatedly stated that it was “honoring the pause request”, “performing no new operations”, and that “this window will remain stopped”.

    Despite correctly understanding the pause intent at the model level, the Goal did not actually stop. Automatic continuation turns continued to be generated. After several repeated text responses saying that it would remain paused, the thread transitioned into a high-frequency stream of completely blank assistant turns.

    The blank turns continued unattended for several hours, approximately from 18:41 until around 22:14 local time.

    During approximately the same period, my Pro 20X weekly Codex allowance dropped from about 53% remaining to about 13% remaining, while the thread was performing no useful work and eventually producing only blank turns.

    This suggests that semantic pause recognition succeeded, but the Goal lifecycle/control path failed afterward — for example, the pause state may not have been invoked/applied/persisted correctly, or the automatic continuation scheduler may have continued firing despite the intended pause.

    I submitted in-product diagnostics from the affected Codex Desktop thread using /feedback.

    Feedback ID: 01a06dcf-2ae5-7852-a0fb-ebc762ce13e4

    I am attaching screenshots showing:

    the original pause instruction;
    Image

    Codex repeatedly acknowledging the pause request;
    Image

    the transition into blank assistant turns;
    Image

    blank turns continuing several hours later.
    Image

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

    appautomationsbugrate-limitssessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions