Skip to content

Codex desktop accepted input stays queued: receipt gating and stale owner snapshots (macOS 26.928.20755) #49456

Open

Description

@tkwilosz3

Status: unresolved in the installed application. This report contains no prompts, customer names, private filesystem paths, account identifiers, credentials, or raw logs.

Environment: macOS, Codex desktop bundle com.openai.codex, version 26.928.20755, build 12246. The configured production updater reports up to date. Restarting the app and computer and installing two prior updates did not resolve the problem.

The operator reports Send and Steer failures across four active chats. Typing and scrolling work normally. Inputs can reach the backend and receive an agent response while still appearing queued or sending above the composer. A previous exact-ID local recovery cleared one stale accepted entry but the problem recurred.

Two independent audits reproduced distinct failures using classes extracted read-only from the installed application. External storage, event, and transport adapters are controlled test seams. No installed application code was changed.

  1. Receipt reconciliation is gated by submission admission. An accepted local entry marked sending with an interruption pause returns before the acceptance lookup. The installed coordinator retains that entry and makes zero acceptance checks. The same accepted entry without the pause clears. This is reproduced against an actual persisted entry and its exact backend client-ID receipt. Client readiness independently blocks this reconciliation.
  2. Stream snapshots can replace newer follower state without the owner and base-revision validation applied to patches. An integrated StreamState and TurnCoordinator replay ends with persisted queue count 0, visible queue count 1, and an accepted user item absent from the follower projection. A delayed prior-owner snapshot changes the follower's recorded owner. The real owner's subsequent empty-queue broadcast is then ignored because its source no longer matches that owner. The control without the delayed snapshot clears the visible queue and preserves the accepted item.

The second replay uses actual production classes and an actual captured queue entry and receipt identity, but its snapshot contents, revisions, and transport ordering are constructed. It is not a captured wire replay of the live incident.

Live logs during the latest successful submission show a focused follower changing from owner A to owner B, followed by a successful turn/start from B with queueWaitMs 0 and durationMs 81, then reverting to A roughly half a second later. The backend records the user receipt. Other relevant logs show repeated follower owner cycling among primary windows and a hidden avatar overlay. Snapshot bodies and revisions are not logged, so this is correlated runtime evidence, not proof of the complete second failure chain in that incident.

Current persisted local and native queues are empty in all four affected chats. Successful recorded submission requests have millisecond-scale queue waits. These checks do not validate the visible window's state and do not establish the cause of every failed click.

Offline correction work is partial. Receipt cleanup before dispatch gates passes the captured case and focused safety checks for storage failure, ownership loss, disposal, fresh-ID edits, and active Send completion after its host response. It does not resolve an active Send whose host response never arrives. A same-owner monotonic revision guard fixes only the older-snapshot subcase; prior-owner snapshots remain a failure. Rejecting every different source would break legitimate ownership transfer. A full correction needs authoritative owner-transfer or generation semantics.

Relevant assets:

  • webview/assets/app-shared-5d8e744d1fa1.js, SHA256 f7edf3bfe729e74f0e375732a956f4d428ce4baea920908ae0ab5e325e4196f6
  • .vite/build/bootstrap-ClH9X4Aa.js, SHA256 d152df26e2ec31fb745335b9684c577d1c592a65611fb45c2be4a37682284944

Please investigate receipt cleanup independently of dispatch eligibility and snapshot authority across owner handoffs. A supported trace should include snapshot source, transfer generation, revision, accepted-client-ID membership, and queue-broadcast source/count for one failing input. Acceptance requires that successful inputs leave the visible pending area, steering remains usable, and stale snapshots cannot undo accepted history or block queue reconciliation.

Activity

  1. added
    bug
    app
    app-server
    on Sep 30, 2026
  2. wangyifan9230 commented on Oct 3, 2026

    @wangyifan9230

    Adding a macOS report with a single-window → multiple-window → single-window comparison.

    Environment: Codex desktop 26.930.31730, build 12947, macOS. Observed October 4, 2026 (UTC+8).

    The strongest finding is the window-count correlation: with only one window open, repeated message submissions and steering worked normally. With a second window open, the problem occurred frequently. Closing the additional window and returning to a single window restored normal operation in this test. I am reporting a high-probability trigger in my setup, not claiming that every multi-window session fails.

    Observed symptoms:

    • Follow-up messages remain above the composer with a spinner; Steer/more options may be missing, and Delete can be unavailable.
    • Some messages have already been processed, but their queue entries remain.
    • Clicking Delete once sometimes only reveals a normal queue row with Steer and other controls. Steer then has no effect; a second Delete removes the entry.
    • Occasionally the first message in an idle chat also gets stuck.
    • Switching to another window on a different macOS desktop and opening the same chat does not resolve the stuck state.

    Local logs from the comparison provide a more specific sequence:

    1. A background window became the chat's owner, while the foreground window became a follower.
    2. The foreground window then logged six consecutive failed attempts to send a queued message:
      Queued follow-up changed before dispatch
    3. After the second window closed, the original window became owner again, and six subsequent turn/steer requests succeeded.

    These counts are request attempts, not six distinct lost messages.

    A read-only review of the installed client code also found that the queued-message Steer path applies a local ownership/admission check before the ordinary follower-to-owner forwarding path. A follower fails that check, which is consistent with the logged failures. The exact reason stale local pending entries are not cleared remains unconfirmed; this does not establish that my incident has the same delayed-snapshot sequence described in the original report.

    Please include multiple-window ownership changes in regression tests for queued-message steering, receipt reconciliation, and queue cleanup. Using one window is the workaround I have verified so far.

    In-app feedback ID: 01a102e6-9e9d-74c2-bca8-183bf17c692d

    Prepared with Codex assistance and posted at my request.

  3. NLorenzoD commented on Oct 4, 2026

    @NLorenzoD

    Additional macOS recurrence reported on behalf of the affected user, with their authorisation, on 4 October 2026.

    Environment: ChatGPT desktop app with the Codex workspace, app version 26.930.31730 (build 12947), verified from the installed app metadata; macOS 27.0.1, Apple Silicon. The affected user says this has happened repeatedly over several days.

    Observed/reported sequence today (screenshots around 17:34–17:45 SAST / UTC+2):

    1. Submit typed questions with screenshot attachments in an existing Codex chat.
    2. Two, then three, pending items remain above the composer with spinning indicators for several minutes.
    3. Enter and Command–Enter do not advance the queue. The user reports they cannot remove the queued items with the queue controls and cannot reliably access the queue.
    4. At least one question and an image eventually reach the agent and receive replies, while the user still sees all three pending entries. Delivery did not clear the displayed queue.
    5. The blockage began before the user started voice to seek help. The user reports that it also persists without voice; voice mode alone does not explain this occurrence.

    Expected: delivered inputs leave the pending area; queued inputs make forward progress; cancellation/removal controls remain usable; previously delivered inputs are not accidentally replayed.

    Impact: normal conversation is blocked, and the user cannot tell which inputs have been submitted or clear the misleading pending entries.

    This corroborates the accepted-input/stale-queue symptom described here on a newer installed app version. It does not independently establish that the earlier receipt-gating or owner-snapshot mechanisms are the cause of this occurrence. No network comparison, controlled restart test, or engineering trace has been performed for this incident. No private transcript, account email, session contents, or unrelated project information is included.

    Please investigate the recurring stale pending entries and non-responsive queue removal controls in the current desktop build.

  4. AmeenP commented on Oct 5, 2026

    @AmeenP

    Still reproducible in macOS desktop 26.930.51102 (build 13100).

    Codex extracted the shipped JavaScript from:

    /Applications/ChatGPT.app/Contents/Resources/app.asar
    → webview/assets/app-shared-9d148924be0b.js
    

    Below, variable names are expanded and unrelated code omitted.

    A snapshot replaces the follower’s selected owner without validating an ownership-transfer generation:

    if (change.type === "snapshot") {
      const state = normalize(change.conversationState, this.params.hostId);
    
      this.setConversationStreamRole(conversationId, {
        role: "follower",
        ownerClientId: sourceClientId,
      });
    
      this.params.threadStore.setConversation(state);
      this.streamRevisionByConversationId.set(conversationId, change.revision);
    }

    The queue handler then ignores broadcasts from any other owner:

    const role = options.getStreamRole(params.conversationId);
    
    if (
      this.disposed ||
      role?.role !== "follower" ||
      role.ownerClientId !== sourceClientId
    ) {
      return;
    }

    Codex reproduced this with the extracted handlers: a delayed prior-owner snapshot changes ownerClientId; the successful sender’s subsequent empty-queue broadcast is discarded, leaving the message displayed as sending. Control: a clear from the selected owner is accepted.

  5. NLorenzoD commented on Oct 8, 2026

    @NLorenzoD

    Recurrence on 8 October 2026: follow-ups remain queued after an apparent turn completion

    This is a follow-up to my earlier report: #49456 (comment). The problem continues to block normal work and needs investigation.

    Environment: macOS ChatGPT/Codex desktop. Installed app version verified today: 26.1002.52244. Screenshots show GPT-6 Astra Light in the first affected chat and GPT-6 Astra Medium in a second chat. No clean-start reproduction or engineering trace was captured for this recurrence.

    Screenshot evidence (SAST, UTC+2; 8 October):

    • 08:25:27: In one chat, the last assistant response says it has stopped and will make no further tool calls unless asked. Two follow-ups remain above the composer with circular pending indicators, including a request for the next step. A voice-start control is visible rather than an active stop control. This establishes an apparent completed/idle presentation, not the actual backend turn state.
    • 08:27:26: The same chat still shows pending entries; a follow-up asking what happens now is queued and has no visible answer.
    • 08:33:12: Four follow-ups are stacked above the composer, including a request to compact the chat and a question about why the messages are hanging. The earlier complaint remains pending across screenshots spanning 7 minutes 45 seconds. No new response is visible.
    • 08:35:16: A separate chat shows Thinking, an active stop control and a queued follow-up. Queuing during an active turn can be expected; this screenshot alone does not establish that the second chat is stalled. It provides additional context for the user's inability to steer ongoing work.

    Impact: I cannot reliably continue a chat, obtain a status answer, or deliver recovery instructions. Repeated attempts accumulate in the pending area and leave me unable to tell whether an input was received, is waiting, or is blocked. This is recurring operational disruption rather than a cosmetic annoyance.

    Expected: When a turn completes, pending inputs should advance and their state should reconcile. During an active turn, eligible steering controls should be promptly usable. If input cannot be dispatched, show the actual reason and a reliable retry/cancel/recovery path without losing or replaying messages.

    Please investigate this recurrence alongside the earlier accepted-input/queue-reconciliation report. The screenshots establish visible symptoms, not receipt-gating, ownership transfer, context exhaustion, model capacity or any other underlying cause. Please provide a supported recovery path and indicate what diagnostic evidence would distinguish these cases. Related symptom report: #51821 (delay before Steer becomes available); a shared root cause is not asserted.

    Prepared with Codex assistance and posted at my explicit request. The four original screenshots were reviewed locally; private email addresses, task contents, project lists and filesystem paths are omitted from this public update. Raw screenshots are not uploaded.

  6. NLorenzoD commented on Oct 8, 2026

    @NLorenzoD

    Additional evidence, 8 October 2026 at 08:39:28 SAST: processed input remains pending and absent from transcript

    Clarification to today's recurrence report: #49456 (comment)

    This occurrence directly demonstrates processed input with stale queue/transcript presentation, rather than only an input waiting to execute. The user submitted a request to find their prior GitHub complaint and post an update. The receiving agent received that exact request and carried it out, publishing the linked comment. However, the user's 08:39:28 screenshot shows the request still in the pending row above the composer with a circular indicator, while the agent's progress messages responding to that request are visible in the conversation. The user prompt itself is absent from the visible transcript between the preceding assistant response and the resulting agent work.

    The screenshot was taken during that work; it does not establish how long the stale state persisted after completion. Successful GitHub publication establishes execution of this particular request independently of the pending indicator.

    The user reports intermittent behaviour: sometimes prompts flow normally, sometimes they are processed but remain pending/missing from the transcript, and sometimes they appear to receive no response. Backend non-delivery of those other attempts is unconfirmed. Please distinguish message admission/delivery, transcript insertion, pending-row cleanup, and genuinely blocked dispatch in investigation and regression tests. The UI currently prevents the user from telling these states apart and makes retrying risky because an apparently stuck request may already have executed.

    Raw screenshot omitted because it contains unrelated private task/sidebar details. No root cause is asserted.

  7. PatrickASimpson commented on Oct 8, 2026

    @PatrickASimpson

    An additional workaround detail verified in my Windows setup for the overlapping queue/Steer symptoms in #51150: having previously opened a thread in another still-open window can be enough, even after that window switches to a different thread. Only showing the thread in one window is not sufficient in my tests.

    Close all Codex Desktop windows and reopen with one window. Then either use only that window, or keep each thread exclusive to a single window until all windows are closed again. This refers to actually opening/visiting the thread in a window.

    Full workaround and diagnostic scope: #51150 (comment)

    This is a suggested workaround based on my testing, not confirmation that this report has the same cause or that it resolves every queue failure. Single-window recovery has also been reported on Windows in #50806 and on macOS in #51251 / #49456.

  8. Titus-von-Koeller commented on Oct 8, 2026

    @Titus-von-Koeller

    Additional observation from Codex desktop 26.930.51102 on Linux/NixOS: messages that the assistant explicitly acknowledges and answers can remain visibly pending above the composer, including after the turn finishes. Follow-up behavior was already set to Steer.

    This resembles the accepted-input/display discrepancy described here and in #49882. I have not inspected receipt IDs, persisted queues or owner snapshots, so this is symptom corroboration—not confirmation of the mechanism reported here.

    The practical problem is that the UI makes an already-delivered instruction look unsent, encouraging unnecessary retries.

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

    appapp-serverbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions