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

Open 💬 1 comment Opened Apr 8, 2026 by 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_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗