codex - 💡(How to fix) Fix Codex App: main-thread subagent list regressed - missing agents and broken expand/collapse control [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18252Fetched 2026-04-17 08:30:49
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×5subscribed ×1
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.415.20818

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

In the main thread, the subagent list UI is sometimes inconsistent.

I have seen at least three failure modes:

  1. After multiple subagents are spawned, the expanded list omits one of the agents that was actually created.
  2. Sometimes the expand/collapse arrow is missing entirely.
  3. Sometimes the arrow is visible, but after clicking it once, the list expands and then immediately collapses again. After that, the control appears stuck and is no longer interactable.

This looks like a UI/state-sync regression rather than an agent execution problem.

This is a regression. I can confirm the app behaved correctly a few versions ago, and this issue only started appearing in more recent versions.

The expanded dropdown list is incomplete: <img width="598" height="290" alt="Image" src="https://github.com/user-attachments/assets/6066c387-93f6-489e-9eed-4dd2a5429900" />

<img width="495" height="344" alt="Image" src="https://github.com/user-attachments/assets/f1d8bdbf-fae0-421d-8278-7694b30a453f" />

After switching away and back, the dropdown toggle disappeared completely, leaving no way to expand the list: <img width="787" height="56" alt="Image" src="https://github.com/user-attachments/assets/a4764d43-86ae-4828-9213-62fd8257ee5f" />

What steps can reproduce the bug?

  1. Open Codex App on Windows.
  2. In a main thread, trigger work that spawns multiple subagents.
  3. Try to expand the subagent section.
  4. Observe one of the following intermittent failures:
    • one created agent is missing from the expanded list
    • the expand/collapse arrow is missing
    • clicking the arrow expands the list briefly, then it immediately collapses and becomes non-interactive
  5. After switching to another thread, working there for a while, and then returning to the original main thread, the subagent dropdown sometimes disappears entirely, leaving no expand arrow to click or interact with.

What is the expected behavior?

The main thread should always show the full list of spawned subagents. If the subagent section is expandable, the expand/collapse control should remain visible, stable, and interactable. Clicking the control should not immediately revert the expanded state unless the user collapses it.

Additional information

No response

extent analysis

TL;DR

The issue can be mitigated by investigating and fixing the UI/state-sync logic related to the subagent list expansion and collapse functionality.

Guidance

  • Review the code changes introduced in recent versions to identify potential regressions in the UI/state-sync logic.
  • Verify that the subagent list data is correctly updated and reflected in the UI when the list is expanded or collapsed.
  • Investigate the possibility of a race condition or asynchronous update issue that may cause the list to collapse immediately after expansion.
  • Check the UI component's lifecycle and event handling to ensure that the expand/collapse control remains visible and interactable after switching between threads.

Example

No specific code snippet can be provided without more information about the Codex App's codebase.

Notes

The issue seems to be related to a regression in the UI/state-sync logic, and fixing it may require a thorough review of the recent code changes. The provided images and steps to reproduce the bug can help in identifying the root cause.

Recommendation

Apply a workaround by implementing additional logging or debugging statements to track the subagent list data and UI state changes, which can help in identifying the root cause of the issue. This can provide more insight into the problem and guide the development of a permanent fix.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex App: main-thread subagent list regressed - missing agents and broken expand/collapse control [1 participants]