Loading spinner not showing when starting codex with initial prompt
What version of Codex is running?
v0.61.0
What subscription do you have?
Proi
Which model were you using?
gpt-5.1-codex-max
What platform is your computer?
Darwin 25.1.0 arm64 arm
What issue are you seeing?
Since recent releases the loading animation is broken when starting codex with a direct inline start prompt:
e.g. '• Working (1s • esc to interrupt)' is not shown anymore when starting codex like this: codex 'build an xmas tree'
What steps can reproduce the bug?
To reproduce in Ghostty
codex 'build an xmas tree'
no loading spinner shows:
<img width="936" height="553" alt="Image" src="https://github.com/user-attachments/assets/3b43031e-4a89-4b5b-8777-6f1748669f4f" />
When starting codex directly and prompting manually:codex -> then type the prompt manually
loading spinner shows perfectly
<img width="801" height="537" alt="Image" src="https://github.com/user-attachments/assets/535b2427-b1bd-4220-b988-3d4fd09beee7" />
What is the expected behavior?
The loading animation should also show with an initial prompt: '• Working (1s • esc to interrupt)'
Additional information
_No response_
3 Comments
Hi @2mawi2 thanks a lot for raising a bug. I just tried exactly with your setup (
gpt-5.1-codex-maxwithxhighreasoning) and it seems that on my Mac terminal (I use Ghostty as well with powerlevel10k) I am able to see the spinner:https://github.com/user-attachments/assets/b985efd5-608c-41d7-a43c-c40d1f252388
The only difference between our setup might the terminal setup: are you using oh-my-zsh with some custom theme?
Hi @lionel-oai,
I can consistently reproduce the missing “Working…” spinner only when starting Codex with an inline prompt on multiple Macs in multiple shell types.
I let codex debug my environment and started 2 runs (one with and one without inline prompt) with 'RUST_LOG=codex_core=trace,codex_tui=trace'
Details:
bin/codex), shell zsh, workdir ~. Also repro’d on a second Mac, in bash/
zsh/fish, and in Ghostty and the default macOS Terminal. Also tried to change font type, didn't help.
WorkspaceWrite with network access disabled; no custom inline aliases/
wrappers.
"build an xmas tree" → TaskStarted → user message events. No errors/
warnings. Spinner does not appear.
tree", TaskStarted), but the spinner does appear in the TUI.
bin/ps during inline run; otherwise clean.
So both paths emit TaskStarted without errors, but the inline start
never shows the status line even though the task starts. Also notable:
initial_messages is None even for the inline start, so the TUI never treats
it as an auto-submitted initial prompt.
Can I provide you anything else?
@lionel-oai I found the problem.
I had configured a global MCP server. When starting with a start argument
McpStartupCompletewas unconditionally callingbottom_pane.set_task_running(false). I build a quick PR and in my manual testing this resolved the issue.#8661