[Windows] Old subagents remain stuck as running after restarting Codex App
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Unknown
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Microsoft Windows 10 Home 22H2, build 19045, x64
What issue are you seeing?
The Subagents panel shows 16 old subagents as still running.
These subagents have been displayed as running for 4 to 8 days. I completely closed and restarted the Codex App, but they are still listed as running.
The current live agent tree contains only the main agent. The old subagents no longer exist in the live agent tree, so they cannot be interrupted or stopped. The user interface also provides no option to stop, remove, or delete these stale entries.
Please provide a way to clear orphaned subagent records and correct their displayed status.
What steps can reproduce the bug?
- Open a task that previously used multiple subagents.
- Open the Subagents panel.
- Observe that old subagents are still shown as running.
- Completely close the Codex App.
- Restart the Codex App.
- Open the Subagents panel again.
- The same old subagents are still shown as running, with no option to stop or delete them.
What is the expected behavior?
Subagents that have already stopped or no longer exist should be marked as completed and removed from the running list.
The Subagents panel should also provide an option to stop or remove stale subagent records.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the stale entries through the Subagents panel on Windows, then inspect how subagent records and their running status survive a complete app restart. Done means orphaned subagents no longer remain in the running list and users have a way to stop, remove, or otherwise clear stale records.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100