Skip to content

[Codex Desktop] Editing and resending a queued message triggers "App-server queued follow-up no longer exists" #44781

Closed

Description

@czwaxm

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

  • Installed Codex Desktop Windows package: 26.903.9818.0, verified locally with Get-AppxPackage.
  • The executable used by the currently running Codex backend reports codex-cli 0.153.4 via --version.

These were collected on September 11, 2026. The Desktop version above is the Windows package version; the version shown in the About Codex dialog was not separately inspected.

What subscription do you have?

ChatGPT Pro 20x, confirmed by the reporter.

What platform is your computer?

Windows, Codex desktop app.

What issue are you seeing?

Editing and resending a queued follow-up message causes the app to display this error:

创建聊天时出错
App-server queued follow-up no longer exists

The Chinese heading means “Error creating chat.”

The reporter can reproduce this through the queued-message editing workflow. Switching to a different conversation thread in the app makes the error disappear.

What steps can reproduce the bug?

  1. Open a conversation in the Codex desktop app and start a task.
  2. While it is running, send another instruction so that the new message is queued.
  3. Choose Edit message on that queued message.
  4. Resubmit the message from the editor.
  5. Observe “创建聊天时出错” / “App-server queued follow-up no longer exists”.
  6. Switch to a different conversation thread in the app; the error disappears.

What is the expected behavior?

Editing and resubmitting a queued message should update/requeue it successfully without a missing-follow-up error. The UI should remain usable without requiring a switch to another conversation thread to clear the error.

Additional information

  • Workaround observed by the reporter: switch to a different conversation thread to clear the visible error. This specifically means navigating between conversation threads, not switching arbitrary app pages.
  • It has not been confirmed whether the edited instruction is ultimately delivered, remains queued, or is lost. Clearing the error is not evidence that message delivery succeeded.
  • These are user-reported reproduction steps; no independent automated reproduction or root-cause investigation was performed for this report.

Related reports found during duplicate search:

Those reports describe different errors or outcomes. No existing report with this exact error and desktop edit/resubmit workflow was found.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Sep 11, 2026
  2. furkancak1r commented on Sep 11, 2026

    @furkancak1r

    Adding another report of the same error in the Codex desktop app. My screenshot shows this exact toast:

    Error creating chat
    App-server queued follow-up no longer exists
    

    Please restore reliable editing and resubmission of queued follow-up messages. I want to keep using this workflow.

    This report confirms the visible error; I have not independently verified the exact edit/resubmit sequence described above or whether the affected message was ultimately delivered.

  3. kevintyj commented on Sep 11, 2026

    @kevintyj
    CleanShot.2026-09-11.at.14.41.35.mp4

    Adding a video reproduction, "deleting" the message does not seem to fix the behavior, confirmed that changing chat threads does solve the issue and also successfully sends the follow up message. Seems that this specific queuing discrepancy happens more often (not confirmed) when the "edited" queued message is kept for a long (still unsure how much) time.

  4. ThePlasticPotato commented on Sep 11, 2026

    @ThePlasticPotato

    had codex investigate/writeup this issue because it occurred to me too, here's the output:

    Adding a Windows desktop occurrence with a timestamped log sequence and a likely cause found by read-only inspection of the installed app.

    Environment: Windows desktop package OpenAI.Codex_26.903.9818.0_x64; backend logs identify version 0.153.4.

    The error occurred while editing/resubmitting a queued follow-up. The screenshot reads:

    Error creating chat
    App-server queued follow-up no longer exists
    

    For the same task, the desktop log shows this sequence on September 11, 2026 (UTC):

    Time Event
    21:30:28.193 thread/queue/add response, no RPC error, 4 ms
    21:30:28.200 thread/queue/list response, 1 ms
    21:30:31.950 thread/queue/delete response, no RPC error, 1 ms
    21:30:31.956 thread/queue/list response, 1 ms
    21:30:34.636 Composer submit fails: App-server queued follow-up no longer exists
    21:30:35.370 thread/queue/list response, 1 ms
    21:30:38.071 Same Composer submit failure

    Other app-server requests continued succeeding afterward, and the current session log had zero request-queue expiration entries at inspection. This occurrence did not require an app-wide backend hang.

    Source-level lead

    Read-only inspection of this installed build's app.asar found:

    • In webview/assets/app-primary-4c40d73a1074.js, queue actions map beginEdit to remove. The edit handler calls beginEdit(messageId) and retains the original message ID in its edit metadata.
    • In webview/assets/app-initial-f094ef01c64d.js, the app-server-backed remove implementation calls thread/queue/delete. When deletion succeeds, it also removes the item from the local queue cache.
    • The enqueue implementation reads the edit metadata's message ID, requires that ID to still exist in the cached queue, and throws the exact missing-follow-up error if it is absent. This check runs before sending either thread/queue/add or thread/queue/update.

    This strongly suggests an incompatibility between removing the queued item on edit and requiring that same item to exist on resubmission. Please check whether submission of an edited, removed item should re-add it with preserved ordering, or whether the edit flow should retain the queued item and update it in place.

    This is based on a user-observed occurrence, local logs, and static inspection, not an automated reproduction. The inspected log lacks the queue-operation response bodies/message IDs, so it does not independently prove which submission was deleted. Permanent message loss has not been established.

  5. dwaiba commented on Sep 12, 2026

    @dwaiba

    This is a stale queued-message reference in the Codex app.
    The installed app code throws this error when the composer tries to update a queued follow-up whose ID is no longer in its queue. It might already have been processed or removed; the error doesn’t establish which.

    The local log --> 2026-09-12T05:24:13.055Z error [electron-message-handler] [Composer] submit failed cwd=/<<path>> errorMessage="App-server queued follow-up no longer exists" errorName=Error errorStack="Error: App-server queued follow-up no longer exists" followUp=local mode=local rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true
    records the attempts .

    To recover without interrupting the task:

    1. Copy the unsent text.
    2. Check whether that message already appeared in the main conversation.
    3. Exit the queued-message editor, navigate away and reopen the conversation.
    4. If it wasn’t submitted, paste it into a fresh composer and send once.
      Repeatedly retrying the same queued item can repeat this error. No app restart or permission change is needed as the first recovery step.
  6. aidawilliam41-ops commented on Sep 12, 2026

    @aidawilliam41-ops

    Additional Windows observation from September 11, 2026, with eventual delivery verified.

    Environment: Codex Desktop Windows package 26.903.9818.0.

    The owner saw the same "Error creating chat / App-server queued follow-up no longer exists" toast. A read-only inspection of the affected task's existing records established this sequence (UTC):

    • 08:59:38: queue/add.
    • 08:59:41.985: queue/delete.
    • 09:00:03.107, 09:00:07.154, 09:00:13.836 and 09:00:24.173: four Composer submit failures with the exact missing-follow-up error.
    • 09:00:52.942: a later queue/add succeeded.
    • 09:00:54.526: turn/steer succeeded.
    • 09:01:20.623: the intended message was present in the same task's persisted conversation.
    • 09:01:34.210: an assistant response was recorded.

    The last two checks establish eventual delivery in this occurrence; merely dismissing the toast would not have established that. They do not show that any of the four failed submissions succeeded, or establish a universal recovery procedure.

    Read-only inspection of this installed renderer also found a guard that throws when the composer's editPosition.messageId is absent from its queue read view, before issuing queue/add or queue/update. That locates the rejection point; why the edit reference outlived its queue entry remains unconfirmed in this occurrence.

    Expected: reconcile or clear a stale queued-message edit reference while retaining the unsent text, and describe the failure as a queued-message edit/submission problem rather than chat creation.

    No private task IDs, message text, paths, screenshots, or raw logs are included. This is existing observation and read-only analysis, not a fresh automated reproduction.

  7. edwardswhiskeyblues-alt commented on Sep 12, 2026

    @edwardswhiskeyblues-alt

    Additional Windows occurrence confirming this regression is still present in the newer Codex Desktop package 26.908.4834.0 on Microsoft Windows NT 10.0.26200.0 x64 (ChatGPT Pro).

    Read-only inspection of the local desktop log shows this sequence on September 12, 2026 (UTC):

    • 07:15:16.625 — thread/queue/add succeeded.
    • 08:20:27.127 — thread/queue/delete succeeded.
    • 08:20:45.104, 08:20:52.196, 08:21:11.498, and 08:22:10.919 — four composer submissions failed with App-server queued follow-up no longer exists.
    • thread/queue/list and other app-server traffic continued succeeding, so this was not a connectivity failure or an app-server/task hang.

    The running task remained active. None of the four stale-editor submission attempts created a duplicate; the intended message was later delivered successfully through a fresh submission path without interrupting the task.

    Two renderer web contents were active and the conversation had undergone compaction. These are possible contributing state transitions, not confirmed causes. The observed failure is consistent with the composer retaining an edit reference after the corresponding queued item was deleted.

    No private task ID, message content, local paths, screenshot, or raw log is included.

  8. liuzhao1225 commented on Sep 12, 2026

    @liuzhao1225

    I hit the same "Error creating chat / App-server queued follow-up no longer exists" error today (September 12). In my case, simply switching to another conversation and then switching back resolved it. I did not need to copy the message or paste it into a fresh composer. Adding this as another report that switching away and back is enough to recover in at least some cases.

  9. liuzhao1225 commented on Sep 12, 2026

    @liuzhao1225

    Following up on my report above with local logs and read-only inspection of the installed macOS client. This also supports the edit/remove/resubmit conflict described earlier in this issue.

    Environment: desktop app version 26.903.61454, build 8378, read from the installed bundle's Info.plist. Today's desktop logs contain 10 occurrences of the exact missing-follow-up error across three project contexts.

    One sequence on September 12, 2026, for the same conversation (all times UTC):

    Time Observed event
    07:25:11.803 thread/queue/add response, errorCode=null
    07:25:17.205 thread/queue/delete response, errorCode=null
    07:25:17.209 and 07:25:18.555 thread/queue/list responses, errorCode=null
    07:25:24.630 and 07:25:26.023 Composer submit fails with App-server queued follow-up no longer exists
    07:25:27.909–07:25:28.450 Conversation view activity switches away and then back
    07:25:30.126 thread/queue/add response, errorCode=null

    In my experience, switching to another conversation and back was sufficient to recover, without copying or pasting the message.

    The installed app.asar contains the following call chain:

    1. In webview/assets/app-primary-e25aaf15dbaf.js, the queue action adapter maps beginEdit directly to remove (beginEdit: e.remove).
    2. The edit handler calls beginEdit(messageId) and retains that original ID in the editor's position metadata.
    3. In webview/assets/app-initial-1b87ae739476.js, the server-backed remove calls thread/queue/delete. When deleted is true, it also removes the item from items and messagesById in the local queue cache.
    4. When the edited message is submitted through the queue path, the enqueue function looks up editPosition.messageId in that cache. If the queue item or its corresponding message is missing, it throws this exact error before issuing thread/queue/add or thread/queue/update.

    This is a concrete flow conflict: editing removes the queued item, while re-enqueuing the edit requires that item to still exist. A fix should make these semantics consistent, preserving the edited text and queue position when re-adding an item removed for editing, and clearing the obsolete edit reference.

    Evidence limits: this is static inspection plus existing logs. The logs do not include queue message IDs or response bodies, so they cannot conclusively correlate an individual deleted item with a failed submission. The successful add after switching is visible; the exact editor state reset caused by navigation was not dynamically traced. This inspection does not establish final delivery of the message to the model.

  10. rssitnt commented on Sep 12, 2026

    @rssitnt

    The cross-platform reports now establish a concrete renderer state-machine conflict rather than an app-server outage:

    1. A queued item exists while a turn is active.
    2. beginEdit(messageId) delegates to queue remove.
    3. The app-server successfully handles thread/queue/delete, and the renderer removes the item from its queue cache.
    4. The composer retains the same editPosition.messageId.
    5. Resubmission requires that deleted ID to exist in the cache and throws App-server queued follow-up no longer exists before any add/update RPC.

    Proposed acceptance contract for the Desktop fix:

    • Normal edit: keep the queued item authoritative while editing and commit with thread/queue/update, preserving its client ID, ordering, text, and attachments.
    • Concurrent disappearance: when thread/queue/changed shows the edited item no longer exists, keep the draft and attachments, clear only the stale edit ID, and submit once through thread/queue/add with a fresh client ID.
    • Do not require switching conversations, restarting the app/app-server, or retrying the stale ID.
    • Report a queued-message edit/submission failure, not a chat-creation failure.

    Suggested regression matrix:

    • Active turn + one queued text item -> Edit -> Submit: one updated queued item, no duplicate, no toast.
    • Active turn + queued item with attachment -> Edit -> Submit: attachment preserved.
    • Item disappears between Edit and Submit -> one fresh queued item, draft preserved, no duplicate.
    • thread/queue/changed arrives while the editor is open -> obsolete edit reference is reconciled without clearing the composer.
    • Navigation is not required for recovery.

    This contract is derived from the Windows and macOS bundle/log evidence already posted above. It intentionally does not recommend patching or re-signing the installed application package.

  11. mistermantas commented on Sep 12, 2026

    @mistermantas

    i just got this issue but i was using queuing all day so im not sure how thats possible!

  12. yun-hanmin commented on Sep 12, 2026

    @yun-hanmin

    I was able to reproduce the same error when trying to edit a prompt message on queue or steer and resend -> same error message popped up: "Error Creating Chat: App-server queued follow-up no longer exists". Using latest Mac codex app, pro 20x subscription.

    Image
  13. 27 remaining items

  14. ninja0404 commented on Sep 16, 2026

    @ninja0404

    Adding a macOS occurrence observed on September 16, 2026, including a persistent submission failure and a user-confirmed navigation workaround.

    Environment

    • Installed Codex desktop bundle: 26.908.70816 (build 9275), verified from the bundle Info.plist.
    • macOS 26.6.2, Apple Silicon (arm64).
    • The version above is the installed bundle version; the running renderer version was not independently verified.

    User-observed workflow and impact

    1. Edit a message that is already in the conversation's follow-up queue.
    2. Submit the edited message / try sending again.
    3. Intermittently, the UI displays:
    提交消息时出错
    App-server queued follow-up no longer exists
    

    The Chinese heading means "Error submitting message".

    Once this happens, repeated attempts to send remain unsuccessful. The user reports that switching to another conversation and then returning to the affected conversation allows sending to succeed again. This is a recovery of the ability to send, not merely dismissal of the error toast.

    The trigger is intermittent; these are the user's observed steps, not a deterministic fresh-session reproduction. The exact distinction between resubmitting the edited draft and sending a subsequent fresh draft has not been independently isolated.

    Local log evidence

    Read-only inspection found the following sequence in today's desktop log (UTC; summarized to omit task IDs, request IDs, local paths, and conversation contents):

    2026-09-16T08:52:02.339Z  thread/queue/delete response, errorCode=null
    2026-09-16T08:52:02.343Z  thread/queue/list response, errorCode=null
    2026-09-16T08:52:06.796Z  [Composer] submit failed: App-server queued follow-up no longer exists
    2026-09-16T08:52:12.231Z  thread/queue/list response, errorCode=null
    

    This log confirms one submission failure following a successful queue deletion/list sequence. The repeated failures and successful recovery after navigating away and back are user-reported, not independently established by this excerpt.

    This is consistent with the stale edit/queue reference diagnosis already discussed here, but the log alone does not establish the internal root cause.

    Expected behavior / regression coverage

    Editing and resubmitting a queued message should succeed. If the original queued item disappears while being edited, the composer should reconcile its state, preserve the unsent draft, and provide a working submission path without requiring conversation navigation. Please cover retrying after the first error and switching away/back, including checks for duplicate or lost follow-ups.

    I saw the September 13 update that a fix was in place for the next release. Please identify the first macOS version/build containing that fix so users can retest; this report does not assume that build 9275 includes it.

  15. dingaiminGIT commented on Sep 16, 2026

    @dingaiminGIT

    Adding a macOS occurrence on the current affected build that appears to cover a different trigger from the explicit queued-message edit workflow.

    Environment

    • Codex Desktop: 26.908.70816 (build 9275)
    • Bundled app-server / CLI: 0.154.0-alpha.6.2
    • Platform: macOS, Apple Silicon
    • Observed: September 16, 2026

    User-observed workflow

    The user did not intentionally choose Edit message. In both occurrences, an active Codex task was still running and the user simply typed and submitted additional information, expecting it to be queued for execution after the current turn.

    The error displayed was:

    Error submitting message
    App-server queued follow-up no longer exists
    

    Redacted log evidence

    The same sequence occurred in two separate conversations/projects:

    09:34:36.761Z  thread/queue/add succeeded
    09:34:39.309Z  thread/queue/delete succeeded
    09:34:43.310Z  Composer submit failed: App-server queued follow-up no longer exists
    09:34:45.677Z  same Composer failure
    09:34:46.187Z  same Composer failure
    

    and:

    09:43:22.146Z  thread/queue/add succeeded
    09:43:24.619Z  thread/queue/delete succeeded
    09:43:31.211Z  Composer submit failed: App-server queued follow-up no longer exists
    09:43:33.229Z  same Composer failure
    

    All queue RPC responses above had errorCode=null. The app-server connection remained active and the original turns continued producing events. The failed submission attempts did not create a new thread/queue/add, thread/queue/update, or turn/start request.

    This supports the existing stale Composer queue-reference diagnosis, but it also suggests that the affected state can be reached through an ordinary follow-up submission without the user knowingly entering the queued-message editor. The automatic thread/queue/delete may leave Composer retaining the deleted queue ID.

    Expected behavior

    When a queued item has disappeared, Composer should reconcile its local edit/submission state, preserve the unsent text, and allow it to be submitted as a new queued follow-up without influencing or interrupting the active turn. The recovery should also avoid duplicate delivery if the original submission was already accepted.

    Since a fix was announced on September 13, could the first desktop version/build containing it be identified, and could maintainers confirm whether it covers this ordinary follow-up path as well as the explicit Edit message path?

    Conversation IDs, request IDs, project paths, and message contents have been omitted.

  16. unkarjedy commented on Sep 16, 2026

    @unkarjedy

    Having the same issue.
    Use this feature daily and sad that it's broken

  17. tmad4000 commented on Sep 16, 2026

    @tmad4000

    Additional confirmed macOS occurrence on the current desktop build, including repeated failures across multiple tasks.

    • ChatGPT desktop / Codex app experience: 26.908.70816 (build 9275)
    • Bundled Codex: codex-cli 0.154.0-alpha.6.2
    • macOS 26.5.2 (25F84), Apple Silicon arm64
    • Read-only inspection found 16 matching Composer submission failures across September 15–16, 2026.
    • The reporter encounters this while ordinarily sending follow-ups during an active task; intentionally choosing Edit on a queued item is not required from the user’s perspective.

    A representative redacted sequence:

    thread/queue/add succeeded
    thread/queue/delete succeeded
    1.761 seconds later: Composer submit failed — App-server queued follow-up no longer exists
    retry failed with the same error
    

    This reinforces the stale Composer queue-reference diagnosis and the need to cover the ordinary follow-up path. If the referenced queue item disappeared, the client should preserve the draft and reconcile/requeue it without loss or duplication.

    Cross-linked World Issue Tracker report: https://worldissuetracker.com/issue/codex-desktop-repeated-app-server-queued-follow-up-no-longer-exists-when-sending-follow-ups

    No conversation contents, local paths, task IDs, request IDs, or raw logs are included.

  18. oi-xyz commented on Sep 17, 2026

    @oi-xyz

    Same issue:

    Error submitting message
    App-server queued follow-up no longer exists
    
  19. mdotk commented on Sep 17, 2026

    @mdotk

    Additional verified macOS occurrence on the current affected build. The failure persists across app restarts and separate desktop sessions.

    Environment

    • ChatGPT desktop / Codex experience: 26.908.70816, build 9275
    • Bundled Codex: codex-cli 0.154.0-alpha.6.2
    • macOS 27.0, Apple Silicon arm64
    • Investigated September 17, 2026

    Scope

    Read-only review of the retained desktop logs found 16 Composer submission failures with the exact message:

    App-server queued follow-up no longer exists
    

    They occurred across two distinct desktop session IDs and two different chats:

    • 9 failures in one chat on September 16 UTC
    • 7 failures in another chat on September 17 UTC

    The reporter encounters this while ordinarily trying to queue follow-up messages. They have restarted and updated the app multiple times, so this is not confined to one corrupted app-server process or one conversation.

    Representative redacted sequence

    2026-09-17T06:52:01.014Z  thread/queue/add succeeded, errorCode=null
    2026-09-17T06:52:05.065Z  thread/queue/delete succeeded, errorCode=null
    2026-09-17T06:52:05.070Z  thread/queue/list succeeded, errorCode=null
    2026-09-17T06:52:13.663Z  Composer submit failed: App-server queued follow-up no longer exists
    2026-09-17T06:52:21.782Z  same Composer failure
    2026-09-17T06:52:32.310Z  same Composer failure
    

    A separate earlier session shows the same add/delete/list-then-failure pattern. The app-server remained responsive and active turns continued producing events.

    Expected behavior

    After a queue item is removed or consumed, Composer should reconcile and clear any stale queue-item reference, preserve the unsent draft, and allow the next follow-up to be queued without requiring navigation or restart. Recovery must also avoid duplicate delivery if the earlier submission was already accepted.

    This confirms the issue on build 9275 after multiple restarts. It does not establish that build 9275 contains the previously announced fix. Identifying the first desktop version/build containing that fix would help affected users retest.

    No conversation contents, project paths, task IDs, request IDs, account details, screenshots, or raw logs are included.

  20. kuklei commented on Sep 17, 2026

    @kuklei

    by moving to another thread and back to the current steering works again

  21. zhengfei303101-cmyk commented on Sep 18, 2026

    @zhengfei303101-cmyk

    One question about the scope of the fix announced above, plus a pointer to a related-but-distinct report.

    #46375 — Sending is permanently blocked once a turn is stuck in inProgress — is a different failure from the queued-follow-up error here, but it shares the same user-visible outcome (the conversation can no longer send) and one piece of state: thread_turns rows that never reach a terminal status.

    It's relevant to this thread specifically because #45430 was closed as a duplicate of this issue, and its reporter noted in the closing comment that thread_turns keeps accumulating rows stuck at status = 'inProgress'. That accumulation was raised here but doesn't appear to be tracked on its own.

    Read-only local reproduction on this machine (Windows, 26.915.3509.0):

    • thread_turns: 2140 completed / 119 interrupted / 36 failed / 2 inProgress
    • For both orphaned turns the app-server log ends with ordinary in-flight stream output and then stops — the process's last log line is the stuck turn's last line. Neither has a Turn error, turn/completed, interrupt received, or shutdown entry, while Turn error: does appear 9 times elsewhere in the same log, so the terminal path is not silent in general.
    • Nothing reconciles those rows on the next start, and the renderer gate ranks latestTurn.status === 'inProgress' above the conversationNeedsResume bypass — so the conversation never sends again, including after a full restart. That gate ordering is byte-identical in 26.915.3509.0.

    The question is only one of scope: does the fix already in place also cover stale inProgress turns being terminalized or reconciled, or should that stay separate in #46375?

    Not asking for anything beyond that — and if this belongs somewhere else, say so and I'll move it. Full evidence is in #46375.

  22. neovirtual commented on Sep 18, 2026

    @neovirtual

    Confirmed in the Codex VS Code extension on Fedora 44: VS Code 1.137.0, extension 26.908.40401 (codex-cli 0.154.0-alpha.6.2). Editing and resubmitting a queued follow-up produced the same error shortly after automatic compaction. The app-server stayed running, and the queued row remained intact in queue_1.sqlite, suggesting the extension’s queue cache became desynchronized from the persistent app-server queue.

  23. davidliuk commented on Sep 19, 2026

    @davidliuk

    Additional macOS evidence that separates the Renderer failure from the bundled app-server capability.

    Environment

    • ChatGPT Desktop / Codex experience: 26.908.70816 (build 9275)
    • Bundled backend: codex-cli 0.154.0-alpha.6.2
    • macOS, Apple Silicon

    Renderer-side sequence

    Read-only inspection of the installed build and redacted request timing shows the affected flow can perform:

    thread/queue/add     succeeds
    thread/queue/delete  succeeds
    thread/queue/list    no longer contains the item
    Composer submit      fails: App-server queued follow-up no longer exists
    

    The inspected Renderer begins editing by removing the server-backed queued item, while retaining the original queued message ID in Composer edit metadata. Resubmission then requires that same ID to remain in the local queue view and throws the reported error before issuing thread/queue/update.

    Bundled app-server capability check

    I also ran a deterministic localhost E2E against the bundled app-server with a temporary CODEX_HOME and no real model/account request:

    1. Keep the first turn in flight.
    2. thread/queue/add a follow-up.
    3. thread/queue/list and retain its server submission ID.
    4. thread/queue/update the same ID with edited content.
    5. thread/queue/list returns the same ID and the edited content.
    6. Release the first turn; the app-server starts the queued turn and the provider fixture receives only the edited content.
    7. The queue is empty after delivery.

    This passed both directly and through a CLIProxyAPI transport. It demonstrates that the bundled app-server supports atomic queued-follow-up updates and that the failing installed path does not reach that API.

    Suggested fix boundary

    The Renderer should keep the queued item while editing and submit through thread/queue/update. If its referenced item has legitimately disappeared, recovery should preserve the draft and reconcile/re-add it with an idempotency guard rather than repeatedly submitting a stale ID.

    Treating every thread/queue/delete as provisional in app-server or a stdio proxy would be unsafe: the same operation is also used for explicit Delete, clear, and send-now, and suppressing it could resurrect user-deleted messages.

    No conversation IDs, queue IDs, message text, account credentials, project paths, or raw logs are included here.

  24. smilevictory commented on Sep 30, 2026

    @smilevictory

    I can reproduce this issue on macOS as well.

    Steps to reproduce:

    1. Start a Codex task.
    2. Send a follow-up message while the task is still running, so the message is queued.
    3. Edit the queued message.
    4. Try to send the edited message again.

    The following error appears:

    "App-server queued follow-up no longer exists"

    After this error, the edited message cannot be submitted.

    Environment:

    • OS: macOS
    • Codex: 26.903.71938

    This happens consistently when editing and resending a queued follow-up message.

  25. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    Verified the active-turn edit and resubmit path with the shipped Windows 26.1111.2228.0 and macOS 26.1111.21308 queue handlers against app-server 0.169.0. The older macOS handler reproduced the reported error. On the newer builds, the edited follow-up returned to its original position and both queued messages reached a local model endpoint once, in order. This test exercised the handlers and server directly. Original Windows trace

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-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions