Skip to content

[Windows App 26.820.7780.0] Composer stays disabled after the first completed turn in a new task #40872

Open

Description

@ashjo42

Environment

  • Codex Desktop package: OpenAI.Codex 26.820.7780.0
  • Bundled app server: codex-cli 0.150.0-alpha.8
  • Platform: Windows x64, OS version 10.0.26200 (build 26200.9168, 25H2)
  • Task target: Local, projectless workspace
  • Shell: PowerShell
  • Model in the captured occurrence: gpt-5.6-sol, reasoning effort xhigh
  • Approximate occurrence time: 2026-08-26 19:29, UTC+08:00

Task IDs, local paths, account details, and prompt contents are omitted for privacy.

Preconditions

  1. The user had deleted all conversations visible in the UI before testing.
  2. Codex Desktop was running normally and could create a new local task.
  3. No approval dialog was open or pending.
  4. The first prompt was short plaintext with no attachment.

Deleting the visible conversations did not make the local Codex state empty. A later read-only inspection still found a substantial local thread index. That is an observation and a possible amplifier, not a confirmed cause.

Minimal reproduction

  1. Open Codex Desktop on Windows.
  2. Create a new local task.
  3. Send a short plaintext first message.
  4. Wait for the assistant response to finish rendering.
  5. Type a short second plaintext message in the composer.
  6. Attempt to send it.

Actual result

The second message remains in the composer and cannot be submitted. The Send button stays disabled/grey even though the first turn has already completed.

For the captured occurrence:

  • the assistant response was fully generated;
  • the rollout transcript ended with an authoritative task_complete event;
  • the task index later reported the task as idle;
  • nevertheless, the visible composer remained locked.

This appears to be a Desktop UI / local state synchronization failure. The available evidence does not establish the underlying root cause.

Expected result

After the first turn reaches its terminal completed/idle state:

  • the composer should become enabled;
  • the second message should produce a new turn/start;
  • if state reconciliation fails, the app should show an actionable error and provide a recovery action instead of leaving the composer disabled indefinitely.

Frequency

The user reports that this occurs on the second message in every new task attempted after deleting all visible conversations.

One occurrence was correlated precisely with local logs and the rollout transcript. The report does not claim a fully automated deterministic reproduction.

Captured timeline and logs

The affected task was created at approximately 19:28:54.

19:29:02  first turn_input submitted
19:29:09  assistant message output completed
19:29:10  post-sampling state:
          full_context_window_limit_reached=false
          token_limit_reached=false
          model_needs_follow_up=false
          has_pending_input=false
          needs_follow_up=false

The rollout was small (16 records, approximately 136 KB) and ended with:

event_msg task_complete

The task index subsequently reported the affected task as idle.

Two transport warnings occurred during startup/turn preparation:

startup websocket prewarm setup failed:
stream disconnected before completion: tls handshake eof

incremental request failed:
websocket reuse properties didn't match

The response still completed after these warnings, so they are included as correlation only and are not claimed as the cause.

At app startup, the local app-server also emitted repeated thread-index reconciliation warnings:

state db list_threads returned stale rollout path
state db discrepancy during list_threads_db: stale_db_path_retained

A read-only local maintenance report found:

active thread rows: 136
active title characters: 3,791,975
active first_user_message characters: 3,792,320
maximum title / first_user_message length: 77,059
titles over configured limit: 114
first_user_message values over configured limit: 113
first_user_message values over 10k characters: 109
metadata repair candidates: 115
active rollout size: 1.781 GB
archived rollout size: 68.178 GB
current log size: 10.6 MB

This metadata/index bloat may increase the likelihood of a renderer or reconciliation failure, but it has not yet been repaired and A/B tested, so it is not a confirmed root cause.

Items already ruled out or localized

  • First-turn model/backend failure: ruled out for the captured occurrence; the assistant reply and task_complete were persisted.
  • Turn still legitimately active: ruled out by task_complete, no pending input/follow-up flags, and the later idle task status.
  • Context/token exhaustion: the captured log explicitly reports both context and token limits as not reached.
  • Approval wait: no approval request was present; the task used a no-approval/full-access profile.
  • Oversized current conversation: the affected new task contained only 16 rollout records and was approximately 136 KB.
  • Large current log database: the active log database was only approximately 10.6 MB.
  • Optional MCP startup failures: unavailable optional MCP servers were omitted for the affected turn and the thread was created with zero dynamic tools. Earlier MCP connection errors therefore do not establish the cause of this composer lock.

Temporary recovery / workarounds

  • Fully quitting and relaunching Codex causes the persisted task to be recognized as idle again.
  • This is only a partial workaround: the user reports that the same second-message failure returns in new tasks.
  • Starting another new task and deleting visible chat history did not resolve the problem.
  • A local thread-metadata repair has been proposed but not yet executed, so it should not be treated as a verified workaround.

Possibly related issues

Sanitized structural logs can be provided if maintainers need additional detail.

Activity

  1. added
    bug
    app
    windows-os
    session
    on Aug 26, 2026
  2. github-actions commented on Aug 26, 2026

    @github-actions
    Contributor
  3. ashjo42 commented on Aug 28, 2026

    @ashjo42
    Author

    Follow-up: clean-profile A/B result and a working recovery path

    I completed a clean-profile recovery after filing this issue. The second-message lock no longer reproduces in the clean profile: the app has since accepted second and later messages in long-running local tasks.

    What changed

    The important step was not merely reinstalling the Windows package. This installation used a custom CODEX_HOME, so an uninstall/reinstall would otherwise reopen the same persisted state.

    The recovery procedure was:

    1. Fully quit Codex.
    2. Back up and rename/isolate the actual custom CODEX_HOME; create a new empty home.
    3. Reinstall and sign in.
    4. Before restoring anything, create a new local task and verify at least two consecutive turns.
    5. Restore only user-facing preferences and portable configuration: AGENTS.md, keybindings, selected settings, user skills, project mappings, and selected memory summaries.
    6. Do not copy back the old state_5.sqlite, thread_history_1.sqlite, queue database, WAL/SHM files, logs, caches, WebView profile, locks, or old MCP/plugin runtime state.
    7. Keep old conversations as backed-up raw rollout JSONL plus readable Markdown. For important unfinished work, create small project-local handoff documents and continue them in fresh tasks instead of restoring the whole old index.

    The live personal-profile restore manifest explicitly excluded all session/index databases and runtime security/policy state. The old profile and raw conversations remain preserved; nothing was deleted.

    Additional evidence

    This gives a useful A/B localization:

    • Old persisted profile: second message consistently remained disabled even though the rollout ended in task_complete and the indexed task later became idle.
    • New empty profile using the same account/workstation: second and later messages work.
    • Restoring portable preferences/skills without restoring the old session databases did not bring the lock back.
    • The old SQLite databases passed PRAGMA quick_check, so this does not look like ordinary SQLite page corruption. It is still consistent with stale cross-file paths, oversized metadata, invalid derived projection offsets, or renderer/app-server reconciliation state.

    I also validated a conservative selective-restore procedure in an isolated sandbox:

    • human top-level threads only;
    • per-rollout limit of 10 MiB;
    • 131 threads selected, including 50 imported from the retained index;
    • 77 oversized threads and 2 missing rollouts skipped;
    • approximately 196 MB of selected rollouts;
    • old WebView state, the old ~1.82 GB history database, queue, logs, caches, subagent threads, and MCP/plugin runtime config excluded;
    • imported rollouts checked against derived history projection byte offsets; stale/out-of-range projections are discarded and rebuilt from the authoritative JSONL rather than modifying the raw conversation.

    That sandbox test is evidence that bounded selective recovery is feasible, but it is not evidence that the 10 MiB threshold is the root-cause boundary.

    Working user-side workaround

    For affected users with a custom CODEX_HOME, the reliable recovery sequence is currently:

    • preserve and isolate the old home;
    • start with an empty home;
    • test two turns before restoring data;
    • restore portable configuration separately;
    • do not restore the old session/index/WebView/cache state as a unit;
    • use exported transcripts or small handoffs for unfinished conversations.

    This is a recovery procedure, not a confirmed root-cause fix, and it should not be treated as an officially supported database migration.

    Possible product-side fixes

    1. Reconcile composer enablement from the authoritative turn terminal state. A persisted task_complete / server idle state should not remain blocked by stale renderer or thread-list state.
    2. If reconciliation fails, show an actionable error and offer a safe “reload/repair local task state” action instead of leaving Send disabled.
    3. Bound/sanitize title and first_user_message metadata during ingestion and avoid eagerly hydrating multi-megabyte metadata into thread-list/UI state.
    4. Treat stale rollout paths and invalid projection offsets as rebuildable derived-state failures. Preserve authoritative rollout JSONL and invalidate/rebuild the derived index entry.
    5. Detect when reinstalling still points at a large pre-existing custom CODEX_HOME, and warn before automatically reopening it.
    6. Provide a supported selective-import path for conversations that keeps raw rollouts but excludes caches, WebView state, queues, and obsolete derived databases.

    The clean-profile A/B makes old persisted local state a much stronger suspect, but it still does not identify one specific table, path, or metadata field as the root cause.

  4. ihsanakel commented on Aug 28, 2026

    @ihsanakel

    Additional regression evidence on current Windows desktop build

    I am seeing the same second-turn/composer lock on the current ChatGPT Desktop build powered by Codex & OWL:

    • Version: 26.825.32147
    • Release date shown by About: Aug 28, 2026
    • Platform: Windows desktop app

    Observed update sequence over roughly the last day is useful for A/B comparison:

    1. An earlier update introduced the problem. Fully quitting and reopening the app temporarily restored sending.
    2. The next update still showed the problem, and restarting the app no longer recovered the composer.
    3. A subsequent update removed the problem completely; multiple turns in the same task worked normally.
    4. After updating again to 26.825.32147, the problem returned. Fully quitting/relaunching no longer fixes it.

    Current reproduction on 26.825.32147:

    1. Open a new Codex task/chat.
    2. Send the first prompt; it executes and completes normally.
    3. Attempt to send the next prompt in the same conversation.
    4. The composer/send control remains stuck/disabled and the second prompt cannot be submitted.
    5. Creating a new chat allows one new prompt to be sent, but the same failure recurs when continuing that chat.

    This behavior was not present in the immediately preceding working update, which makes this look like a regression reintroduced in 26.825.32147 or an interaction between that build and persisted local state.

    No destructive local-state cleanup has been attempted because conversation/session data should be preserved. A normal full app restart is no longer an effective workaround on the current build.

    The rapid sequence broken → still broken → fixed → broken again may help narrow the change range. If maintainers want logs or a specific local diagnostic captured from 26.825.32147, I can provide the exact steps/output requested.

  5. ihsanakel commented on Aug 28, 2026

    @ihsanakel

    Additional regression evidence from current Windows desktop build:

    • App: ChatGPT desktop, “Powered by Codex & OWL”
    • Version: 26.825.32147
    • Release date shown in About: Aug 28, 2026

    Observed behavior matches this issue: the first prompt in a new chat/task sends and completes, but the composer/send control then remains stuck/disabled and a second prompt cannot be submitted. Creating a new chat allows one more prompt, after which the problem repeats.

    The behavior has changed across several rapid desktop updates since Aug 27:

    1. An earlier update introduced the issue; fully quitting/relaunching temporarily restored sending.
    2. A subsequent update still showed the issue and relaunch no longer reliably recovered it.
    3. The next update appeared to resolve the issue completely.
    4. After updating to 26.825.32147, the issue returned, and fully quitting/relaunching no longer fixes it.

    This looks like a regression that was temporarily corrected in an intermediate build and then reintroduced in the current build. No local Codex data, thread database, or project configuration has been deleted or reset, to avoid masking the regression or risking history loss.

    A useful maintainer check may be to compare composer/thread terminal-state reconciliation changes between the intermediate build where the issue disappeared and 26.825.32147.

  6. stephenchurch-prog commented on Aug 29, 2026

    @stephenchurch-prog

    Update — 29 August 2026: persists on 26.825.5331.0 after two further updates

    The same fresh-task failure has recurred on this installation after two further Codex Desktop updates.

    Environment

    • Codex Desktop: OpenAI.Codex 26.825.5331.0
    • Bundled app server: codex-cli 0.151.0-alpha.7.1
    • Windows x64: 10.0.26200 (26200.9168, 25H2)
    • Existing in-app feedback ID: no-active-thread-01a03eb4-7076-7643-b0ba-68bc151b37fa

    Fresh-task reproduction

    1. Open a completely new local task.
    2. Send a short first message; it succeeds and receives a completed reply.
    3. Send a short second message in the same task; it fails before a second turn begins.

    Immediate log correlation

    • The local AppServer connected normally.
    • The first turn started at 2026-08-29T14:02:33.971Z and completed at 14:02:37.328Z.
    • The desktop log continued writing until at least 14:05:22Z.
    • No later turn/started event exists for the failed second message.
    • Current-session associated signals include two No conversation state for conversation ID errors, 85 ResizeObserver loop completed with undelivered notifications errors, and 117 response-routing entries with conversationId=null.
    • Similar renderer and turn-state errors appear in earlier sessions. These are correlation only; I am not claiming any one signal as the root cause.

    This rules out one long conversation as a sufficient explanation and shows the defect persists in a brand-new task on the newer build. Repair, Reset, reinstall and cache-isolation attempts were already exhausted and were not repeated. No task IDs, prompt contents, account details, local paths or raw logs are included here.

    Please investigate repeat-turn composer enablement and conversation/turn-state reconciliation on the current Windows build. Sanitised structural logs can be supplied if maintainers specify what they need.

  7. reggienichols commented on Aug 30, 2026

    @reggienichols

    Still reproducible on ChatGPT/Codex Desktop 26.825.41651, released August 28, 2026, on Windows build 10.0.26200.

    A new local projectless chat completes its first short message normally, but the second message spins indefinitely.

    Feedback ID: 01a0504c-83f0-7902-b751-c25601699bda

  8. johnnygu commented on Sep 7, 2026

    @johnnygu

    Still reproducible on Windows build 26.901.51231

    I am still seeing the same second-turn composer lock after updating Codex Desktop.

    • Platform: Windows
    • Codex Desktop client version in logs: 26.901.51231
    • Previous build on the same machine: 26.901.22334
    • CODEX_HOME: default user profile (C:\Users\<user>\.codex), not a custom path

    Repro:

    1. Open a new Codex task/chat.
    2. Send the first prompt; it runs and produces a response normally.
    3. Type a second prompt in the same conversation.
    4. The send arrow stays disabled/grey and the second prompt cannot be submitted.
    5. Creating a new chat allows another first prompt, but continuing that chat fails again.

    I extracted the relevant app-server logs from logs_2.sqlite. A normal composer-triggered first turn is present (turn_trigger: Some("composer")). During that turn I also saw one recoverable websocket/TLS interruption:

    stream disconnected - retrying sampling request (1/5 ...)
    ... peer closed connection without sending TLS close_notify
    

    Later, when the same thread was torn down, the app-server state reported:

    had_listener=true had_active_turn=false
    Agent loop exited
    

    So the backend/thread state can reach a state where there is no active turn, while the desktop composer still remains disabled for the next user message. In the failing UI state, typing the second prompt does not result in a new composer turn/start reaching the app-server.

    This looks consistent with a renderer/composer ↔ app-server state reconciliation problem rather than the model still actively running. The issue persists across the update from 26.901.22334 to 26.901.51231.

    I have the sanitized logs_2.sqlite extract and can provide more targeted excerpts if maintainers want a specific thread/request timeline.

  9. FVTAL commented on Sep 14, 2026

    @FVTAL

    The UI never clears streamRole=owner because turn/completed hits the wrong conversation id.

  10. ashjo42 commented on Sep 14, 2026

    @ashjo42
    Author

    September 15 update: Windows 26.908 — stuck codex-home requests identified; targeted retry restores submission

    This remains a blocking problem on my workstation. Earlier clean-profile recovery observations in this issue did not establish a durable fix. I now have a captured failure and a controlled recovery on OpenAI.Codex 26.908.4834.0 (desktop log release 26.908.40834, Windows x64).

    Observed state, with text actually present in the composer

    characterCount                  = 3
    hasMessageContent               = true
    submitDisabled                  = false
    isThreadHistoryLoading          = false
    localWorkspaceMaterialization   = loading
    submitBlockReason               = loading-local-config
    isSubmitButtonLoading           = true
    native button.disabled          = true
    

    This particular snapshot was captured while the diagnostic task was running, so the button was labelled Queue. It is evidence of the configuration-preflight blocker, not a claim that this snapshot alone reproduces the original completed-turn scenario. Separately, a resumed older task had completed history with both userMessage and agentMessage items available.

    The shared read-only queries below had no data or error and remained pending/fetching:

    ["vscode", "codex-home", "{\"hostId\":\"local\"}"]
    ["vscode", "codex-home"]

    Configuration-content reads were already successful. No assumption of database corruption was needed.

    Controlled recovery in the same running instance

    At 2026-09-14 18:09:51 UTC, only these two pending queries were cancelled and refetched. Both immediately received a fetch-response with status 200, and changed to success/idle. The loading-local-config blocker then disappeared. The previously waiting draft left the input, and I subsequently submitted a new message successfully through the composer.

    This intervention did not restart the app, modify the installation package/databases/persistent configuration, change paginated history or permissions, or disable browser/computer-use capabilities. The app had been started by the user with a local diagnostic port to inspect its state. This is a session recovery, not yet a verified cold-start or permanent fix.

    Installed-client code path

    In app-initial-d9bed9d614d8.js, aQo → iQo → D8 derives a loading state when codex-home has neither data nor error. In app-primary-17b54400f32a.js, Ygr/Xgr/Zgr propagate this as loading-local-config; button component n2 includes isLoading in the native disabled condition. Thus submitDisabled=false does not mean the actual button is enabled.

    The inspected bridge sS.post() waits for fetch-response or abort, with no client hard timeout in that path. The composer queue yvr can retain a pending submission while configuration is loading and continue it when loading resolves.

    The initiating failure is still unknown: an internal await, startup ordering, response loss, or window/connection lifecycle could be involved. Current startup logs were empty. This does not prove all historical reports here share the same cause, nor does it establish IAB routing as the cause.

    Requested engineering action

    Please triage this to the Windows desktop bridge/configuration owner and confirm whether this specific failure path is already tracked. The minimum durable fix should provide:

    1. Bounded timeout/abort with complete pending-request cleanup; stale-window requests must terminate.
    2. Explicit error and bounded retry for failed read-only preparation, instead of infinite loading.
    3. Composer pending-state cleanup on preflight failure, preserving the draft and offering Retry.
    4. Once-only continuation and protection against duplicate message submission. An uncertain turn/start must be reconciled with server state, not blindly retried like a directory read.

    Please add tests for lost/late configuration responses, cold start, window reload, task switching while waiting, and duplicate-send prevention. A lost response should produce recovery or an actionable error, never a permanently disabled composer.

    This comment contains sanitized structural evidence only; no account identifiers, private task IDs, local workspace paths, draft text, or full logs are attached.

    Official in-app feedback cross-reference: no-active-thread-01a0a129-a8af-7691-9071-543baa5fe8f5 (submitted successfully on 2026-09-14 at 18:24 UTC with the same sanitized findings; no raw logs or conversation attached).

  11. stephenchurch-prog commented on Sep 15, 2026

    @stephenchurch-prog

    15 September 2026 — recurrence on 26.908.9136.0; recovery after path repairs and full Windows restart

    Following up on my 29 August report. On Windows desktop package OpenAI.Codex_26.908.9136.0, I again encountered a grey Send spinner: a new local chat could complete its first message, but its second message would not submit. Existing conversations were also affected. Mobile/remote messages continued to execute on the same Laptop. Earlier in the incident, the desktop window went white; reopening/updating restored the display but did not restore reliable submission.

    Observed evidence

    • Reading the affected new chat through the supported app tool showed only the completed first turn; the failed second message was absent.
    • Desktop logs included Conversation state not found, Received turn/started for unknown conversation, and Received turn/completed for unknown conversation.
    • Separately, node_repl failed to start with path-not-found (OS error 3), and codex_app reported an invalid directory (OS error 267).
    • Configuration referenced a missing old runtime; the cached app-tools connector referenced a previous app installation. These were verified stale paths, not proof of the composer failure's cause.

    Repairs and verification

    1. Backed up the affected configuration files.
    2. Updated the existing node_repl executable, Node/module references, trusted-runtime path and notification executable reference to the installed runtime. Verified destination paths and TOML parsing/readback.
    3. Corrected the cached app-tools connector working directory and Node path to the installed versions, preserving existing enabled/approval settings.
    4. An isolated node_repl MCP initialization test succeeded with exit code 0. Supported direct app tools subsequently worked.
    5. App relaunch, a fresh chat and supported conversation navigation still did not restore reliable desktop follow-up submission.
    6. After a full Windows restart, two consecutive messages in the original conversation submitted successfully from Laptop, followed by this request to report the incident.

    Current status: sending is working in this session. This is a recovery observation, not a confirmed permanent fix. We did not test a Windows restart before the path repairs, so we cannot separate the effect of rebooting from the repairs. No session database/history reset, clean-profile migration or reinstall was performed in this repair sequence.

    Please investigate both stale installed-runtime references after updates and conversation/composer state reconciliation. They may be separate faults. This comment contains sanitized diagnostic findings only; no private workspace paths, account details, raw logs or conversation contents are attached.

  12. PilotFlying commented on Sep 19, 2026

    @PilotFlying

    Based on @ashjo42's analysis here and @rwhepburn's selective restore in #40968, I had Claude build a PowerShell script to automate the recovery (please review, use at your own risk).

    See: #40968 (comment)

  13. marcinszymczak96-source commented on Sep 19, 2026

    @marcinszymczak96-source

    Reproduction on Windows Desktop 26.915.31945

    I am reproducing the same Local Work composer lock on a newer Windows desktop build.

    Environment

    App version: 26.915.31945
    Windows 11 Pro
    Windows version: 10.0.26200
    Build: 26200
    Architecture: x64
    Agent environment: Windows native
    WSL: not installed

    Affected Local Work session

    Session ID: 01a0ba59-4852-70c3-ad4f-7817505bc4c8

    Reproduction:

    Create a new Local Work task.
    Send the first prompt.
    The task executes and completes normally.
    After completion, the composer does not return to a sendable/idle state.
    A follow-up message in the same thread cannot be submitted.
    Creating another new Local Work task again allows one initial prompt, after which the same problem repeats.

    Restarting the desktop application does not resolve the issue.

    The affected rollout terminates normally:

    2026-09-19T16:00:21.160Z response_item message final_answer
    2026-09-19T16:00:21.171Z token_usage_record
    2026-09-19T16:00:21.172Z event_msg token_count
    2026-09-19T16:00:21.187Z event_msg task_complete
    2026-09-19T16:00:27.208Z event_msg thread_settings_applied

    thread_settings_applied is the final record in the transcript. There are no additional events after it.

    The task therefore appears to complete normally, but the Windows Desktop Local Work UI/composer remains in a non-interactive state after the authoritative task_complete.

    I have attached a sanitized structural transcript excerpt. I am not attaching the raw rollout because it contains private workspace/business information.

    Regarding sandbox logs: .codex.sandbox exists on this machine, but there is no sandbox log corresponding to the September 19 reproduction. The most recent sandbox log is from September 17, so I have not attached it because it does not correspond to the affected session.
    Line Timestamp Type PayloadType Status Phase


    268 2026-09-19T15:58:01.964Z event_msg item_completed
    269 2026-09-19T15:58:01.966Z response_item reasoning
    270 2026-09-19T15:58:03.291Z event_msg item_completed
    271 2026-09-19T15:58:03.293Z response_item reasoning
    272 2026-09-19T16:00:21.158Z event_msg item_completed
    273 2026-09-19T16:00:21.160Z response_item message final_answer
    274 2026-09-19T16:00:21.171Z token_usage_record
    275 2026-09-19T16:00:21.172Z event_msg token_count
    276 2026-09-19T16:00:21.187Z event_msg task_complete
    277 2026-09-19T16:00:27.208Z event_msg thread_settings_applied

  14. KotMatrosk1n commented on Sep 19, 2026

    @KotMatrosk1n

    September 19: independent confirmation of stuck local configuration reads on Windows 26.915.31945

    This installation reproduces the codex-home failure described in the September 15 investigation. Targeted cancellation/refetch restored sending in an existing local task. Native logs provide a further localization: the original requests reached the desktop handler after the app-server initialization handshake had succeeded.

    Environment

    • Desktop application version: 26.915.31945, build 9922.
    • Windows package version: OpenAI.Codex 26.915.4065.0. This differs from the application version.
    • App-server: codex-cli 0.155.0-alpha.9.2.
    • Windows x64: 10.0.26200.9457, 25H2; Windows-native agent.
    • Existing local project task.

    Failure captured before recovery

    The user reported being unable to continue existing tasks and repeatedly creating new tasks. A read-only renderer capture at 20:40:11 UTC showed:

    hasMessageContent              true
    isThreadHistoryLoading         false
    isResponseInProgress           false
    isResumePending                false
    submitDisabled                 false
    isInteractionBlocked           false
    localWorkspaceMaterialization  loading
    submitBlockReason              loading-local-config
    isSubmitButtonLoading          true
    

    Both local query forms remained pending/fetching, without data or error:

    ["vscode", "codex-home"]
    ["vscode", "codex-home", "{\"hostId\":\"local\"}"]

    The collector traversed React fibers, including alternates. It can therefore record multiple/stale composer prop sets; these are structural diagnostic observations, not a direct measurement of the native button's disabled property. The query states, subsequent native request logs, and successful user submissions provide independent corroboration.

    Observed recovery timeline — 2026-09-19, UTC

    The app was restarted with a local diagnostic connection so a helper could retry only the stalled reads. The failure was still present after that restart, before intervention.

    Time Observation
    21:00:07.579 Native log: app-server initialization handshake succeeded.
    21:00:09.958 / .971 Native electron-fetch-handler logged the original codex-home requests, with omitted and explicit local host respectively.
    21:00:11.627 Renderer: both queries pending/fetching; loading-local-config.
    21:00:26.851 Native handler logged both replacement requests. The helper had waited at least 15 seconds, then cancelled/refetched each exact query once.
    21:00:29.410 Both queries success/idle, data present, no error; one retry each, zero helper failures. A stale/loading composer prop set was still present in this sample.
    21:00:42.106 Captured composer had message content, no loading flag, and no configuration-block reason.
    21:00:44.053 Native log: successful turn/start response, errorCode=null.
    21:01:46.305 Another successful turn/start response in the same app session.
    21:09:50.379 A further successful turn/start response; query recovery attempts remained two total.

    The user confirmed that sending worked, and subsequent messages in this existing task succeeded. Query recovery was visible within the next approximately 2.54-second sample interval; this is not an exact request-latency measurement.

    Temporary workaround used

    A local helper observed only the two query keys listed above. Once a query remained pending/fetching without data or error for at least 15 seconds, it called cancelQueries({queryKey, exact: true}, {silent: true}), followed by refetchQueries({queryKey, exact: true, type: 'all'}, {throwOnError: true}) on the existing query client. In this occurrence, one retry per query was enough.

    The helper limited retries to two per query object and eight per window, with a maximum monitoring duration of 12 hours or until the diagnostic connection closed. It did not click Send or call/retry turn/start. The app was reopened with a loopback diagnostic port using an independent, one-use Windows Task Scheduler launcher; a helper launched as a child of Codex had previously disappeared before relaunch. This launcher issue was separate from the composer blocker.

    This is a diagnostic session workaround, not a permanent installed patch or an officially supported recovery command. Ending monitoring does not undo already recovered query data, but a normal app restart may reintroduce the bug. Once configuration becomes available, the app may continue a submission the user already attempted, so repeating Send while it is pending is unnecessary.

    Installed code and isolated test

    The inspected renderer/main bundles were verified byte-for-byte against the installed package.

    • In app-initial-6c4523b43a11.js, Hv → Lon → Rv.post/sendRequest supplies the local query/bridge path. The codex-home query configuration includes a five-second stale time; that is not a request timeout.
    • For vscode://codex/ requests, Rv.sendRequest creates a pending-map entry and waits for a matching fetch-response or an abort signal. No hard timeout is scheduled in that branch.
    • In main-LM8MUIFp.js, readCodexHomePaths logs entry into the native handler. handleVsCodeFetchRequest awaits the handler, then sends the response through the chunked-message sender. The available log does not record the original handler's completion or the renderer's receipt of its response.
    • An offline harness executed the extracted renderer bridge with a simulated message transport. Withholding a response left its promise/map entry pending and scheduled no timeout. Abort removed the entry and emitted cancel-fetch; a late reply to that cancelled request was ignored. A fresh request with a valid reply resolved once, including when the reply was duplicated. This verifies the bridge's behavior under a simulated missing response, not why the original response went missing.

    Scope and limitations

    The evidence localizes this occurrence to configuration preparation. It does not establish the same cause for every disabled-composer report.

    The requests reached the native handler after a successful handshake, but we cannot yet distinguish a later internal await from response delivery/lifecycle loss. We did not capture HTTP-like response statuses for these retries and do not claim a captured status 200.

    The successful intervention did not reset databases, rewrite transcripts, change permissions, disable plugins, or modify the installed app. Earlier unsuccessful profile-recovery attempts on this machine are a confounder; this is not a clean-profile A/B test. No fresh restart without the workaround has been tested since recovery, so this remains a session workaround.

    Suggested maintainer instrumentation and regression coverage

    1. Correlate sanitized request IDs at renderer dispatch, native handler entry/exit, response enqueue/delivery, and renderer resolution; include window/connection generation.
    2. Give read-only configuration preparation a bounded deadline and clean pending entries on timeout, abort, or window retirement.
    3. Preserve the draft and offer an actionable retry instead of leaving the composer waiting indefinitely.
    4. Test missing/late responses, startup, reload/task switching, and once-only continuation of a waiting submission. Do not blindly retry an uncertain turn/start.

    This comment contains sanitized structural evidence only. No account identifiers, private task IDs, machine/user names, local filesystem paths, prompt contents, credentials, or raw logs are included. A sanitized structural evidence extract and offline test harness are available if maintainers need them.

  15. ashjo42 commented on Sep 23, 2026

    @ashjo42
    Author

    September 24: downloadable recovery scripts for the confirmed local-config blocker

    This issue was reported on August 26 and is still open on September 24. It continues to block the basic ability to send messages on my Windows machine, including Codex 26.917.8451.0. Users should not have to diagnose the renderer and maintain their own recovery helper just to use Send.

    I am sharing the working local workaround so other affected users have something concrete to try while this is unresolved:

    This is an unofficial, user-maintained workaround, not an OpenAI-supported fix. It targets the particular loading-local-config failure described in my earlier evidence, not every cause of a disabled composer.

    What it does

    The helper handles only these two exact read-only query keys, and only while the main composer is blocked by loading-local-config:

    ["vscode", "codex-home"]
    ["vscode", "codex-home", "{\"hostId\":\"local\"}"]

    After approximately 15 seconds of an unfinished read with no data, it cancels the old request through the existing AbortSignal path before refetching. Automatic retries are limited to two; exhaustion preserves the draft and exposes a Retry button. It does not click Send, retry turn/start, manufacture successful config data, reset databases/history, switch accounts, or modify the installed app. A submission already waiting inside Codex may continue when real configuration becomes available.

    The first helper used an exact-version allowlist, which made compatible small app updates disable the workaround. That design has now been replaced with automatic structural interface checks plus an isolated runtime cancellation test. Build numbers and minified identifier changes alone do not require another allowlist entry. Actual interface incompatibility produces an explicit failure instead of claiming the helper is attached.

    How to use it

    Download and extract the entire ZIP into one folder. Requirements: Windows OpenAI.Codex package, PowerShell 7, and Node.js (tested with 25.2.1; required capabilities are checked). Save your draft and quit Codex yourself if it is already running normally, then run this from the extracted folder:

    pwsh -NoProfile -ExecutionPolicy Bypass -File .\start-codex-diagnostic.ps1

    Open the original task/composer. The launcher uses the existing installation/profile, enables a loopback-only debugging endpoint on 9228, checks the installed cancellation interface and current query library, then attaches. The README includes status, failure handling, stopping, and optional Node-path instructions. The debug port permits local control of the app; do not expose it. Fully quitting Codex and reopening normally removes that diagnostic session. Normal app launches do not automatically load the helper.

    What was verified

    On 26.917.8451.0, both real stuck reads recovered after one retry each, the config blocker disappeared, and I confirmed that I could send a message again. Recovery retained the same running app, account and conversation history. Repeating the recovery entry reused the existing helper. That version was not added to an allowlist.

    The published package passes 43 automated tests and the installed-interface check; the portable launchers passed read-only preflight on this machine. This is still one affected machine, not a cross-machine guarantee. No private conversations, credentials, runtime logs, machine-specific paths or extracted application source are included in the download. The interface baseline contains structural fingerprints, not application source snippets.

    Requested product action

    Please assign/confirm an owner for this failure path and provide a triage status. The product needs a bounded timeout with complete request cleanup, an actionable configuration error/Retry, draft preservation, and protection against duplicate submission. Please cover lost/late replies, startup, window reload and task switching in regression tests.

    The original initiating fault is still unknown; this workaround does not establish that every report in this issue shares one cause. A usable local workaround is not a reason to close the underlying blocking bug.

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

    appbugsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions