Repository navigation
Description
Reproduction and versions
On Windows x64, recurring incidents leave the desktop UI responsive while clicking Send in any chat has no effect and text remains in the composer. Restarting restores sending temporarily. Incidents have often been noticed while answering a question or submitting a message.
At the time of this investigation, the installed/running Desktop was 26.1013.4894.0 and its actual signed native app-server reports codex-cli 0.163.0-alpha.10.2. The confirmed queue failure below is from an earlier process generation. Recurrence in this current generation has not yet been captured; unchanged scheduler code alone is not proof of recurrence with the current native binary.
Confirmed failure boundary
A saved incident at 2026-10-18 00:57:53 +08:00 records thread/queue/add rejected with -32001, App server request queue is full, with inFlightRequestCount=8 and queuedInteractiveRequestCount=64. Composer submission failed 17 ms later. The retained incident window contains 189 queue-full rejections and 77 queued-expiry rejections.
Four plugin/installed frontend timeouts match the same request IDs and queue-expiry events. They establish downstream failures, not the initial slot holders. The earliest retained expiry has four requests in flight; arrival/admission records do not identify those requests. Attachment queries began being rejected after congestion and are not established as the initial trigger. Previously completed long requests must not be attributed as holders.
A separate older generation returned account/read with workspace routing discovery timed out after approximately 15 seconds. That native routing path bypasses the ordinary client scheduler. Its configuration/cache/semaphore/network phases have not been measured, so we cannot equate the two failures or attribute them solely to VPN settings.
Existing diagnostic limitations
The audited current client scheduler exposes aggregate counts and some arrival/rejection/forwarding events, but not the needed per-request admission, ensureReady/dispatchBarrier wait and release history. The builtin performance trace records Chromium/CPU profiling; increasing log level cannot create missing lifecycle events.
The actual public CLI advertises doctor --json as a local redacted health report, without a current-Desktop attachment or client-slot dump option. One bounded run produced no stdout/stderr within 30 seconds; only its new diagnostic process was ended. Existing Desktop/native process generations and configuration/authentication file hashes remained unchanged.
Version-matched public source explains that doctor buffers JSON until build_report completes, runs parallel health checks and has no universal 30-second deadline for direct SQLite integrity checks. Thus that cutoff neither identifies a stuck phase nor proves the same Send fault. Human progress labels do not export Electron scheduler occupancy. The source tag is a version match, not binary-equivalence proof.
The actual public app-server daemon help has no status command. Its version command advertises version metadata, without a current Desktop PID/connection selector or request lifecycle dump. We have not conflated the SSH-managed daemon with the Desktop's stdio app-server.
No ASAR, signature, fuse, private IPC or runtime was patched. No diagnostic build or third-party binary was installed. Related report #37401 describes plugin-framework isolation, but it does not establish that cause on this machine. A successful plugin inventory cannot rule out a framework defect.
Separate local mitigation
We found and corrected a separate deadline-placement defect in a locally maintained Windows MCP lazy wrapper. Its timeout previously covered response waiting only, leaving write-lock acquisition and stdin drain unbounded. A simulated backpressure case failed on the original, and the corrected whole-transaction deadline passed nine isolated cases and the same nine cases against the installed source. No existing process was restarted; hot activation is unverified. This is a local wrapper correction, not proof of the cause or repair of the Desktop-wide Send failure. The initial Desktop scheduler slot holders remain unidentified.
Request
Please provide a supported current-process capture procedure or an official signed Windows diagnostic build that records metadata only for:
- process generation, connection, request ID and method;
- enqueue/admission and ensureReady/dispatchBarrier wait boundaries;
- scheduler markSent separately from actual transport write;
- response, cancellation, expiry and clear/release, with durations;
- internal phases of the native workspace-routing discovery deadline.
We need the initial occupied requests and their wait/release history to identify the defect. A general health report or another restart does not supply that evidence. Please specify compatible versions, supported activation and a safe procedure. Raw logs and credentials are intentionally not attached.
Activity
github-actions commentedon Oct 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
willfeldman commentedon Oct 18, 2026
Reviewed both linked issues - #54969 looks particularly relevant as my macOS logs also show “App server request queue is full,” “App server request expired while queued,” and plugin/installed timeouts. The failures span several request types, so plugin loading may be a downstream symptom.
There are some differences: my queue-full burst shows 128 background requests queued with two in flight, whereas #54969 describes interactive queue saturation. I also don’t see the distinctive two-minute tools/list timeout from #54789 in my log.
Restarting, signing out/in, and reinstalling haven’t resolved this. I’m keeping this open as a potentially related macOS case, since a shared root cause hasn’t been confirmed. Happy to provide targeted, sanitized diagnostics.
cicada0133 commentedon Oct 18, 2026
Additional incident on Windows x64, installed Desktop package 26.1013.4894.0. The UI remained usable, but responses/operations stalled; the user restarted the app to recover on 2026-10-18 at approximately15:46MSK.
Sanitized observations from the preceding Desktop process:
inFlightRequestCount=8,queuedCriticalRequestCount=11,queuedInteractiveRequestCount=25and queued background work. A hooks/list request expired after30000ms still waiting in the client queue.This is separate from a verified large-history problem: one image-heavy session previously prepared a149.82MiB compressed /responses request and received HTTP408 after901seconds. Native supported history compaction subsequently reduced that session's requests to approximately0.45–0.47MiB, with recent successful HTTP200 status intervals of2–3seconds. The later global queue stall still recurred, so compaction is not a verified repair for this scheduler incident.
The VPN core had been started about six minutes before the Codex restart; it was not restarted by the diagnostic agent. Its exact current route could not be attested from the unelevated process, and network/MCP failures also exist in the timeline. We are not claiming that network conditions cannot trigger the retained queue state, or that every earlier incident has the same cause.
No ASAR/signature/private-IPC/remote experiment patch, global plugin disable, cache/auth deletion or automatic application restart was performed. Only read-only log/source inspection and one separately human-authorized history-compaction test were used. No raw logs, conversations, payloads, tokens or credential-bearing headers are attached.
Please provide a supported current-process diagnostic that records the identities/methods of admitted requests, ensureReady/dispatchBarrier wait boundaries, actual transport write and eventual release/cancellation. The aggregate counters establish the stalled boundary but do not identify the original stuck slot holders or a safe supported recovery without restarting the app.
ClarusIubar commentedon Oct 20, 2026
Additional Windows x64 incident on October 20, 2026.
Environment: Desktop 26.1013.4894.0, bundled codex-cli/app-server 0.163.0-alpha.10.2.
Multiple chats stalled and message submission displayed “App server request queue is full”. After a computer reboot, successful commands were observed in two tasks around 07:59–08:01 UTC. Queue expiry was recorded again at 09:55 UTC, followed by queue-full errors at 10:09 UTC.
The following log values were checked against the original files and independently recounted. All timestamps are UTC.
The counts represent rejected request attempts, not distinct user actions. The earlier successful task commands were recorded by a separate diagnostic check, not established by the queue-log recount.
The initial blocked requests and root cause remain unidentified. The logs do not establish that the same eight request identities remained occupied or that this incident has the same underlying cause as the original report. This is an additional case with matching versions and queue-full symptoms across multiple chats and request methods.
No raw logs, local paths, repository details, conversation IDs or credentials are attached.
andrea-kingautomation commentedon Oct 20, 2026
Live recurrence on the newer build, October 21 UTC
The installed 26.1016 build has now reproduced the failure. A fixed 07:50:00–08:17:02.868 UTC native-log window contains four SSH-reset closures, 70 queue-full rejections and six queue-expired rejections. The first queue-full event is 08:06:25.898, with 4 in flight and 64 queued interactive requests.
Generation 6 closes at 08:06:08.867 with 0 client / 8 internal pending; SSH reset/255 follows at .870. Generation 7 connects at 08:06:31.598 with 67 / 1, then closes at 08:07:05.176 with 72 / 17; reset/255 follows at .189. Generation 8 connects at 08:07:30.227 with 69 / 1. Another reset in this window occurs with 0 client / 0 internal pending, so retained client occupancy is not necessary for every transport failure.
Two native read-thread tool starts bracket the generation-7 close. Their start markers do not include target-thread arguments or terminal outcomes. They do not prove that either read caused the disconnect, nor that stopping a caller wait canceled its underlying request or released capacity. The newer package is therefore not accepted as a permanent repair. Exact historical slot ownership and transport fault location remain open.
Earlier source qualification and evidence follow.
Current-build qualification: 26.1016, October 21 UTC
The Windows installation now reports package 26.1016.6573.0, internal 26.1016.51333 / build 21161 / prod, with the native updater reporting up to date. I did not initiate the application update or restart. Read-only qualification of this new installed bundle still reproduces the account-read fanout and sent-request retention described below.
The current renderer module
app-initial-2b6b8063022d.jshas SHA-2566cb0ab2a8d03a47f95c4df668aa8e5a3004e42614a7d596cb239442344f1a497; native modulesrc-CsH31EEu.jshas SHA-2566a266611954c6f0c72aca09bb13c0c793959a69e8d6330778a7cdef21835a1db. The exact current hook again produces one initial shared read and 96 additional reads per auth-status broadcast for 96 synthetic consumers, including an unchanged repeated status. Per-hook cleanup still evicts shared pending state. Sent requests still lose their admission deadline, account/read is still not coalesced, and sent account/read abandonment retains an outcome-unknown slot.Thirty-six offline cases pass: 23 characterize exact packaged source and 13 exercise separately authored candidate models. The native mark-sent, drop-unsent and slot-completion method bodies are byte-identical to the retained old native extraction. Old renderer comparison relies on its preserved exact-source harness/results because the previous ASAR is no longer installed. No installed code was patched.
A fixed current-build log window, 06:57:25.159–07:23:15.247 UTC, has a connected remote generation without another queue-full marker. It does not establish prevention or complete reconnect acceptance. Changes elsewhere in this release remain possible, but these reproduced paths are still present. A supported versioned repair and generation-qualified request diagnostics remain needed.
The earlier-build evidence follows.
Additional Windows Remote SSH evidence from Desktop package 26.1013.4894.0, internal 26.1013.40934 / build 20770 / build commit af80d4d7c7e0e5dc58b4a67945df0188de153061. Remote CLI reports 0.159.3. Native updater reports this Desktop installation up to date. No app bundle, runtime, credentials, integrations or live server was modified.
This separates a confirmed reconnect fanout/capacity problem from an unresolved delayed-response cause. It does not establish that the initial four requests leak or that large history caused this incident.
Correlated sequence, 2026-10-20 UTC
client_loop: send disconnect: Connection reset. Next reconnect begins with 0 client / 0 internal pending.account/readrequests in 50 ms, each observing 4 in flight and 64 interactive queued. Connected state publishes at 12:22:44.189 with 70 client / 1 internal pending.response_routedtimestamp minusdurationMsare config/read (38.241 -> 45.446), model/list (38.419 -> 44.189), and two account/read (38.551/38.552 -> 45.447/45.448). All times in minute 12:22. The installed routing code confirms this duration measures time from startedAtMs. All four complete; none is initially a history request. Native INFO routing events lack hostId, so this is a timing-based reconstruction consistent with the remote queue counts, rather than direct per-host dispatch proof.failureReason=pong_timeout, distinct from the preceding explicit SSH reset. Sixty client requests then fail remote_unavailable, including 49 account/read. Pending client state clears across close.Across the retained day's main-process logs: 1,499 queue rejections, including 988 queue-full account/read. These counts are rejection events, not a count of unique operators or logical operations. Interleaved local-host successes are not proof that the remote path recovered.
Installed-code regression evidence
An isolated deterministic Node VM harness evaluates the exact installed scheduler and client queue regions, with fake time, inert transport callbacks and stub tracing. It reads the installed-source extraction at runtime and does not vendor or modify the implementation. All 13 test cases pass:
11-13. An in-memory experiment coalescing only identical account/read calls with refreshToken explicitly false reduces fanout, preserves different params/refresh-enabled calls/opt-out, but still cannot recover a withheld leader reply. It is not an incident fix.
Harness SHA-256: 6b9e93f2b133f7fa89754ad9271ca0a7d413ccf9ba5363eb5b68b71df837e035. Installed source module SHA-256: 28a0918f01c50b0eb17676e894998ad7182f119d978adf0467ccaac3583f259c. These tests characterize current behavior; they do not establish remote cancellation, wire delivery or live resilience.
The SSH settings row's Restart connection handler in this build explicitly sets killCodexProcess:true. The distinct Reconnect path omits it. We did not use the restart action against active remote work. Please distinguish these paths in supported diagnostic/recovery instructions.
Remaining diagnostic/fix boundary
We still need generation/host-qualified metadata for admission, ensureReady and dispatchBarrier waits, markSent versus actual write, server response enqueue versus flushed bytes, client frame receive/parse/route, and release/cancellation/unknown outcome. The metadata should identify the six enduring holders and which side stopped making progress. A fresh fast independent RPC does not settle the old stream.
Relevant server improvements such as #51499 (blocking-worker rollout parsing) and #50380 (disconnect during required MCP startup) merit controlled evaluation, but their existence does not prove this incident's cause. No three-cycle live acceptance or permanent cure is claimed. A supported signed Desktop diagnostic build or versioned lifecycle repair remains needed; ordinary effectful requests must retain outcome-unknown reconciliation rather than being blindly replayed.
Follow-up: reproducible renderer source for the account-read amplification
An independent read-only source review now identifies a concrete fanout mechanism in this same signed build. Renderer module
app-initial-5851df3f6cb1.jshas SHA-256c70d95da34ba7e5962a559dbf68d0102d10b4b47b877f5d9933629bb5a1f3a10. UTF-8 offsets identify auth hook UIn at 3236405, shared subscription KIn at 3238714, pending-read helper qIn at 3239403, and the native account wrapper at 2880911.A second isolated harness evaluates the exact packaged hook and memoization helpers with synthetic React/effect and subscription stubs. Five current-code characterizations pass: 96 chosen fixture consumers initially share one read; one broadcast creates 96 additional reads; another unchanged broadcast repeats the fanout; simply replacing the direct call with qIn still creates 96 reads because each listener invalidates first; and unmounting one consumer evicts a read still shared by another. The fixture count is not a historical measurement. A separate independent exact-KIn check confirms 96 attachments share one native subscription, one event invokes 96 callbacks, and only the last detach disposes that subscription.
The smallest proposed native correction reuses the existing qIn/KIn ownership: invalidate the pending account/auth memo once at the shared event boundary, send every consumer through shared pending-read memoization, and move cleanup to shared subscription disposal rather than individual hook unmount. Preserve per-hook stale/client/disposal guards and existing native refresh parameters. Existing qIn already has an identity-guarded finally; it shares pending operations rather than caching settled results. Do not suppress an event merely because authMethod is unchanged, since the principal may change without changing that method.
Ten additional tests of a separately authored coordinator model cover single-flight after shared invalidation, stale-result suppression after a second event/reconnect, old completion unable to evict a newer pending leader, client and parameter separation, explicit recovery after rejection without automatic replay, and refresh-enabled calls retaining their parameters and independence. Total in this second harness: 15 passing cases, clearly split into five exact-source characterizations and ten model cases. Harness SHA-256
61159e96c553e8b385c10df763c429ca02a9a40728d40b8da98d91088954a877.This is a scoped patch proposal and testable reproduction for the amplification defect, not a compiled or installed renderer patch. It still cannot release a withheld dispatched request or explain why native replies stopped. In inspected public 0.159.3 source, ordinary successful account reads return responses without emitting another account/updated; connection initialization has an explicit update path. Thus this supports finite fanout per broadcast, not a proven read-to-update feedback loop. No production auth/config branch was inspected or changed, and no live reconnect acceptance is claimed.
October 21 follow-up: separate transport resets from internal auth-refresh retirement
Further observations on the same Desktop build distinguish two failure profiles; neither establishes a permanent fix. All times below are UTC on October 21, 2026.
refresh_authenticated_connection_state_failedwithTimed out waiting for MCP response to getAuthStatus, 30.016 seconds after its initialize handshake marker. At 06:23:18.043,close_not_observed_forcing_disconnectforces retirement, with 75 client / 3 internal requests still pending. This wording belongs to the app-server request path; it does not identify an external MCP integration, credential failure or initialization storm. The logs do not emit the failing internal request ID, sent-at time or explicit deadline, so the elapsed span is not a measured execution deadline.The latest qualified log interval also contains 82 queue-full rejections across three reconnect bursts, including 60 account/read. This remains consistent with the separately reproduced account-read amplification, while the empty-pending reset shows it cannot explain every disconnect.
The paired passive capture ended before the next terminal disconnect. Its Windows/VPS sequence correlation remains under review and does not yet locate the transport fault. The older enduring slot holders are not newly identified, and no three-cycle acceptance or durable cure is claimed. Please provide generation-qualified internal auth-refresh send/deadline/response/release diagnostics and a supported work-preserving recovery path, alongside the shared-account-read correction already proposed above. Raw captures, payloads, endpoints, process/thread IDs, private paths and credentials are intentionally omitted.