External Publication
Visit Post

Compacting error - problem with Codex App

OpenAI Developer Community April 30, 2026
Source
I also have been hitting this for months and months, it keeps breaking my workflow too. 20% context remaining usually and /compact just kill the session. ■ Error running remote compact task: stream disconnected before completion: error sending request for url … backend-api/codex/responses/compact) ■ Error running remote compact task: stream disconnected before completion: error sending request for url … backend-api/codex/responses/compact) It’s really breaking my workflow. Each time I have to start a new session and tell the model to read the tail of the previous convo history in the .codex folder and resume. I can barely get any session that compacts more than 2 or 3 times. It’s more frequent recently. I use multiple providers, and some of them can run uninterrupted for 5 hours. This is a real issue that needs solving. Perhaps allow setting the auto compact threshold like at 40%, at least the session will keep working instead of permanently breaking every 15-30 minutes.

Discussion in the ATmosphere

Loading comments...