Compact hangs and fails
Resolved 💬 3 comments Opened Mar 7, 2026 by puremachinery Closed Mar 7, 2026
Session has around 12% space left, keeps attempting to run compaction but hangs and returns this error: "■ Error running remote compact task: stream disconnected before completion: error sending request for url
(https://chatgpt.com/backend-api/codex/responses/compact)"
I've tried from the Codex macOS app Version 26.305.950 (863), as well as from codex-cli 0.107.0 and 0.111.0.
Everything else network-wise is working fine, so it doesn't appear to be a network connectivity issue.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗