failing to compress
Resolved 💬 2 comments Opened Jun 7, 2026 by XxSbyH Closed Jun 29, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.602.40742
What subscription do you have?
pro
What platform is your computer?
win10 x64
What issue are you seeing?
Error running remote compact task: stream disconnected before completion: error sending request for url
(https://xxxxx/v1/responses/compact)。
It keeps failing to compress over and over, unless I switch to a smaller model like gpt-4mini.
What steps can reproduce the bug?
This happens during a long task. It tries to auto-compress the context multiple times but keeps failing. It's happening on both desktop and CLI
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use
/feedbackand open a new bug report.