[FATAL] Windows Codex APP + Codex CLI subagents freezing when several dozens are running

Open
#37,748 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli, desktop

Research direction

Start by reproducing the described workflow in Codex App and Codex CLI on Windows, using several dozen nested subagents. Trace where subagent progress stops and the terminal or app thread becomes unresponsive; done means the workflow continues and input remains usable after agents finish.

Written by the indexing model from the issue text.

Description

app bug CLI subagent windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

26.803.41515

What subscription do you have?

GPT PRO

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I am running a workflow that needs subagent delegation. Gpt 5.6 sol created several subagents and these subagents created several subagents under them. When the total number of subagents is around several dozens, and some agents has finished their jobs (within 10), the whole codex threads will keep running forever but without process for every single subagents in the thread, all of them will stuck at a particular step of their own.

I try to use Codex CLI too, and the same issue happens, and the terminal thread will be freezed/stuck and cannot click at the input field, nothing is moving.

What steps can reproduce the bug?

"Hi, launch a workflow such that one agent per product such that we can populate the images of these product in our db for the 400 products of brand X that we created today"

What is the expected behavior?

The Codex App and Codex CLI will not be usable after some agents are spawned.

Additional information

Fatal, can't use for productive work.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.