Windows desktop app repeatedly restarts during active tool calls
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
Summary
The Windows Codex desktop app repeatedly closed and automatically restarted while active tool calls were running. The active work resumed after restart, but internal missing-tool-output errors continued.
Environment
- OS: Windows
- Codex package version: 26.810.7004.0
- Time zone: UTC+7
Observed behavior
- AppX container was destroyed at 23:43:10 and relaunched at 23:43:12.
- AppX container was destroyed again at 23:50:11 and relaunched at 23:50:17.
- Before the first restart, the response WebSocket disconnected five times with
websocket closed by server before response.completed, then fell back to HTTP. - Logs repeatedly reported
Custom tool call output is missing for call id. - Other nearby messages included
could not find callback for Integer(17)and an attestation-generation timeout. - After restart, the active task resumed, but the missing-tool-output errors continued.
Expected behavior
A failed stream or tool callback should recover without restarting the desktop app, and restored sessions should not keep retrying with missing tool-call state.
Additional notes
Windows Application Error / Windows Error Reporting did not record a conventional application crash at these times. No project files or full logs are attached.
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
No source files, tests, or specific entry points are identified. Start by reproducing the Windows restart during active tool calls and inspect the WebSocket disconnect, missing-tool-output, and session-restoration logs. Done means failed streams or callbacks recover without restarting the app and restored sessions no longer retry with missing tool-call state.
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
- 45/100