Skip to content

[Bug]: Terminal Running Codex in Durable Session Looses Connection and Requires Restart #2985

@iamcobolt

Description

@iamcobolt

Current Behavior

When running an interactive process (specifically gpt-5.3-codex), the terminal UI stops updating during interactive prompts (e.g., tool-use confirmations or user questions). The "Working" counter freezes, and the input field becomes unresponsive ("dead"). A manual disconnect and reconnect is required to force the display to catch up and reveal the pending interactive prompt.

Steps to Reproduce

Connect to a remote host via a Durable Session.

Image

Run a command that requires a tool-use confirmation or mid-process user input (e.g., Summarize recent commits via Codex).

Observe the "Working" counter in the terminal block.

The Bug: The counter stops incrementing, and the input field no longer accepts keystrokes.

Image

Manually select "Disconnect" and then "Reconnect" from the connection menu.

Image

Hit the reconnect button

Image

Observe that the display "snaps" to the current state, showing the interactive question that was previously hidden.

Actual Behavior:

  • The UI fails to stream or refresh when the remote process transitions to an interactive input state.
  • The "Working" timer freezes (e.g., stuck at 11m 43s despite the process continuing).
  • Input is "dead" until a manual session cycle (Disconnect/Reconnect) is performed, at which point the terminal buffer updates to the correct state.

Expected Behavior

The terminal should remain responsive and immediately display interactive prompts or tool-use confirmations without requiring a manual session refresh.

Steps To Reproduce

Connect to a remote host via a Durable Session.

Image

Run a command that requires a tool-use confirmation or mid-process user input (e.g., Summarize recent commits via Codex).

Observe the "Working" counter in the terminal block.

The Bug: The counter stops incrementing, and the input field no longer accepts keystrokes.

Image

Manually select "Disconnect" and then "Reconnect" from the connection menu.

Image

Hit the reconnect button

Image

Observe that the display "snaps" to the current state, showing the interactive question that was previously hidden.

Wave Version

v0.14.1 (202603032325)

Platform

macOS

OS Version/Distribution

No response

Architecture

arm64

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions