Skip to content

Windows Codex Desktop: thread state corruption causes wrong prompts, queue timeouts, and scheduled-task heartbeat failures #39191

Open

Description

@guicz

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

ChatGPT Powered by Codex & OWL Version 26.814.41407 Released 17 de ago. de 2026

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex Desktop on Windows has become extremely slow and intermittently unusable.

Existing threads frequently take a very long time to load or never finish loading. When a thread does load, the UI can show prompts or conversation content that belongs to another thread.

This makes thread isolation unreliable and creates a serious risk of continuing work in the wrong context.

Creating a new chat also frequently fails with one of these errors:

Error creating chat
App server request expired while queued
Error creating chat
Timeout

Scheduled tasks are also not running at their configured times. Attempting to start one can produce:

Could not start scheduled task

Heartbeat thread not found.

These symptoms are occurring together across multiple threads. They may indicate stale or corrupted mappings between thread IDs, renderer state, the app-server request queue, and scheduled-task heartbeat references. This is only a hypothesis, not a confirmed root cause.

The operational impact is severe:

Existing work cannot be accessed reliably.
Thread content cannot be trusted to belong to the selected thread.
New chats frequently cannot be created.
Scheduled tasks no longer execute reliably.
Normal Codex usage is repeatedly interrupted by timeouts.

What steps can reproduce the bug?

The issue is intermittent but currently happens frequently:

Open Codex Desktop on Windows.
Use or create multiple threads across normal work sessions.
Switch between existing threads from the thread list.
Observe that some threads remain loading indefinitely or take an unusually long time to open.
Open a thread and observe that the displayed prompts or content may belong to a different thread.
Try to create a new chat and submit a prompt.
Observe either App server request expired while queued or Timeout.
Wait for an existing scheduled task to run, or attempt to start it manually.
Observe that the task does not execute or fails with Heartbeat thread not found.

Observed repeatedly on August 18, 2026.

What is the expected behavior?

  • Existing threads should load within a reasonable time.
  • Each thread must display only its own prompts and conversation content.
  • Creating a new chat should not expire while waiting in the app-server queue.
  • Scheduled tasks should execute at their configured times.
  • If a heartbeat thread reference becomes stale or missing, Codex should recover or recreate it automatically.
  • A failure in one thread must not corrupt or contaminate the UI state of another thread.
  • Temporary app-server failures should return a recoverable error without leaving the application in a permanently inconsistent state.

Additional information

Related reports were found, but none appears to cover this complete combination of symptoms:

#38832: Task/thread search and listing intermittently hang
#37401: Windows app-server queue saturation and request expiration
#23644: Stale conversation state causing timeouts
#35030: Scheduled runs hanging on thread operations
#12627: Prompt history shared between threads

This report differs because the same affected installation is experiencing thread-loading failures, cross-thread content appearing in the UI, new-chat queue timeouts, and missing heartbeat threads for scheduled tasks.

I can provide sanitized application logs, diagnostic feedback IDs, and timestamps privately if needed. Raw logs should not be posted publicly because they may contain prompt content, thread identifiers, local paths, and project information.

Activity

  1. added
    appIssues related to the Codex desktop app
    on Aug 18, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    app-serverIssues involving app server protocol or interfaces
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    on Aug 18, 2026
  3. villafane48 commented on Aug 22, 2026

    @villafane48

    I am reproducing what appears to be the same issue on Windows with Codex Desktop 26.818.41509 (released Aug 21, 2026).

    Existing threads remain visible in the sidebar, but selecting them renders a blank conversation body.

    After a clean Windows reboot and fresh login, the logs show:

    • account_login_completed ... success=true
    • RPC session was shut down by disposing the main stub
    • ipc-connection-reset
    • response_orphaned
    • No promise for request ID

    Later, thread/read and thread/list return successfully with errorCode=null, but the conversation UI remains blank.

    In an earlier session I also reproduced:

    • inFlightRequestCount=6
    • queue-expired
    • App server request expired while queued

    I submitted an in-app diagnostic report with the current session logs.

    Feedback ID:
    01a0057e-037e-79d3-bb6b-bcf2a74bcc69

    The issue persists after a full Windows reboot and fresh login.

  4. larsenk commented on Aug 31, 2026

    @larsenk

    Same issue here. Two different chats throw the same error and can't be used any more.

  5. Zjuhui commented on Oct 12, 2026

    @Zjuhui

    I’m seeing a similar conversation-display mismatch in the ChatGPT desktop app while using Codex. After switching tasks, the conversation area can show messages belonging to a different task. My observed sequence involves switching between Projects and Recent.

    Environment

    • OS: Windows

    Observed sequence

    1. I had three separate tasks, A, B, and C, associated with three different projects and paths.
    2. Tasks A and B were created through Projects, and both were still running.
    3. I opened task C from Recent.
    4. When I switched back to task B, the conversation area displayed task C’s messages instead of task B’s.
    5. Even after task C finished, returning to task B continued to show task C’s conversation while task B was still running.

    Recovery

    Restarting the desktop app restores the correct conversation display. Opening Codex in another page/window also lets me view the correct conversation.

    The mismatch persists in the affected view even after task C finishes.

    Observed impact

    The existing tasks appeared to continue running normally in the background. However, the conversation displayed did not match the task I selected, making it difficult to monitor task B’s actual progress.

    The symptom I can corroborate is the incorrect conversation content after switching tasks. I have not established whether input routing or backend task execution is also affected.

    Expected behavior

    Selecting task B should display task B’s own conversation and progress, regardless of whether the previously viewed task was opened through Projects or Recent.

    I’m sharing this navigation sequence and recovery behavior in case they help narrow down the conversation-display issue. I haven’t confirmed whether it has the same underlying cause as the other symptoms reported here.

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

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesautomationsbugSomething isn't workingperformancesessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions