Skip to content

Codex fails at interactive TUI & gets stuck in a broken state #17060

Open

Description

@soxhi8

What version of Codex CLI is running?

v0.118.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.19.10-1-cachyos x86_64 unknown

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

fish

What issue are you seeing?

Codex tried initialising a project from a provided implementation plan, including installing Next.js and Payload via bunx. Installing Payload will spawn a TUI for selecting a database backend. Codex will hang at this step, time out and try again, instead of selecting something. At some point it gives up and tries to proceed with other steps. Accumulating errors will lead to it randomly bootstrapping the project from source files, instead of installing the packages.
Later in the process it tried building from this mess over and over again, which always hung.
Burned through most of my tokens and did not deliver anything useable.

What steps can reproduce the bug?

Uploaded thread: 019d6a44-0a88-79e1-8063-1cac8c44af4d

What is the expected behavior?

Not failing at basic install steps.

Additional information

No response

Activity

  1. added
    bug
    on Apr 8, 2026
  2. changed the title [-]Codex fails at interactive TUI interfaces & gets stuck in a broken state[/-] [+]Codex fails at interactive TUI & gets stuck in a broken state[/+] on Apr 8, 2026
  3. added
    CLI
    tool-calls
    TUI
    on Apr 8, 2026
  4. removed
    TUI
    CLI
    on Apr 8, 2026
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

    bugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions