Skip to content

CLI: network drop during Thinking/Working shows no immediate disconnect indicator #12595

Open

Description

@ClarkOhlenbusch

What version of Codex CLI is running?

codex-cli 0.104.0

What subscription do you have?

Team

Which model were you using?

codex 5.3 xhigh (seen while the agent is in Thinking/Working)

What platform is your computer?

Darwin 25.1.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Apple Terminal (TERM_PROGRAM=Apple_Terminal, TERM=xterm-256color)

What issue are you seeing?

If internet connectivity drops while an active turn is still Thinking/Working, there is no immediate on-screen indication that the connection was lost. The UI keeps showing Thinking/Working as if the turn were progressing normally. This continues indefinitely.

What steps can reproduce the bug?

  1. Start Codex CLI and submit a prompt that keeps the turn active for several seconds.
  2. While the status row shows Thinking/Working, disable internet connectivity (for example, turn Wi-Fi off).
  3. Wait a bit (optionally re-enable connectivity).
  4. Observe that the status can continue to show Thinking/Working without an immediate disconnect/reconnect indication.

What is the expected behavior?

When stream/transport connectivity is lost mid-turn, the CLI should promptly show an explicit status (for example Reconnecting... or Connection lost) instead of only showing Thinking/Working.

Additional information

Activity

  1. added
    bug
    CLI
    on Feb 23, 2026
  2. terryjyu commented on Feb 24, 2026

    @terryjyu

    Also experienced this multiple times after network disconnection. codex-cli 0.104.0 in linux

  3. added
    agent
    and removed
    CLI
    on Mar 30, 2026
  4. added
    connectivity
    and removed
    agent
    on Apr 11, 2026
  5. fortunexbt commented on Apr 15, 2026

    @fortunexbt

    @ClarkOhlenbusch this is the fake-progress failure operators hate — transport dies mid-turn, the CLI keeps showing Thinking or Working as if the run were alive, and there is zero indication the connection dropped. The operator assumes work is progressing while the session is already dead.

    That is the worst class of runtime lie because it defeats every health-check pattern an operator could build on top.

    Are you more blocked by detecting transport loss immediately so the run can be recovered, or by controls that pause the session and surface what actually happened before the operator wastes time waiting on a dead turn?

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

    bugconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions