Skip to content

[Windows 26.928][Remote SSH] Messages remain queued while backend thread is idle; fresh threads also cannot send #50044

Open

Description

@mower07

What version of the Codex App are you using?

Windows Store package OpenAI.Codex 26.928.3736.0; desktop client log reports 26.928.31416.

What subscription do you have?

Not collected for this diagnostic report.

What platform is your computer?

Windows, Microsoft Store installation. Exact OS build was not collected. SSH uses app-server proxy connected to persistent remote daemons.

What issue are you seeing?

Observed October 1, 2026: sending a follow-up in an existing SSH conversation remains pending above the composer indefinitely, although the backend reports the thread is idle and its last turn completed. The persisted local follow-up does not produce a remote turn/start. Forking and creating a fresh conversation do not restore sending. Some other requests still reach the backend, including successful fork creation.

What steps can reproduce the bug?

Observed sequence with an existing profile (not a minimal clean-profile reproduction):

  1. Open an existing SSH conversation whose last turn completed.
  2. Submit a follow-up: the message stays above the composer with a pending indicator.
  3. Remove the queued message and send again: same result.
  4. Fork the conversation or create a fresh conversation: sending also stalls.

What is the expected behavior?

The message starts a remote turn or displays an actionable error. An idle backend should not leave the UI indefinitely waiting to send.

Additional information

Read-only diagnostic evidence:

  • WebSocket JSON-RPC initialization and thread/read succeeded against the existing remote control socket.
  • Original thread status was idle; last turn was completed, with agentMessage items present. Fork status was notLoaded.
  • The message was absent from the server queue during the initial check.
  • Reconnecting only this desktop SSH proxy completed thread/resume, but sending still stalled; the user confirmed.
  • A new conversation also failed before desktop recovery.
  • Log field markedStreaming=true is hardcoded in maybe_resume_success; it was not treated as evidence of an active turn.

Recovery and validation:

  • Restarted only the desktop process tree, reactivated the Windows package in loopback diagnostic mode, then reloaded the main renderer after the blank startup screen.
  • The persisted follow-up left the queue and the backend recorded task_started at 14:13:50 UTC. A new greeting test received a visible answer at approximately 14:15 UTC. The original conversation visibly resumed work.
  • The remote daemon process remained unchanged, and all four SSH connections returned.
  • The whole recovery sequence was validated; the independent contribution of restart versus renderer reload was not isolated.
  • No server restart, profile reset, database edit, or binary patch was performed. Root cause remains unresolved.

Related reports, without claiming identical root causes: #48466 covers the cold-start loading symptom encountered during recovery; #36189 covers confirmed hydration/request-queue saturation, which was not established in this incident.

No raw logs/screenshots attached. Prompts, project paths, host addresses, thread identifiers, and runtime state are omitted.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Oct 1, 2026
  2. mower07 commented on Oct 2, 2026

    @mower07
    Author

    Follow-up, October 2, 2026: reproduced a similar send failure in LOCAL desktop conversations on Windows Store package 26.928.3736.0 (bundled app-server 0.159.2).

    Two existing conversations had completed their previous turns, but new messages remained queued without a new task_started. A harmless new local conversation also stalled before turn/start. Restarting desktop and immediately reloading its renderer did not initially restore sending.

    Read-only RPC through the actual desktop renderer later completed model/list, plugin/installed, config/read and configRequirements/read successfully. After another reload of the main app://-/index.html renderer and about 25 seconds of initialization, the model selector appeared, both original queued messages automatically started, and the harmless local test received its expected response. The originals were not resent.

    The recovery sequence included a desktop restart, an internal app-server restart and renderer reloads. We have verified the outcome of the whole sequence, not isolated the causal effect of the final reload or waiting. A temporary Git scan exclusion did not resolve the failure and was fully reverted. No profile reset, history deletion, authentication reset or binary modification was performed.

    This recurring failure makes both startup and sending unreliable. Please investigate desktop initialization and queued-message dispatch, expose an actionable error instead of an indefinite spinner, and provide a supported recovery action that preserves queued messages. Local and SSH symptoms are reported together as observations, without claiming that their root cause is identical.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions