You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the Codex App are you using (From “About Codex” dialog)?
26.422.30944 (2080)
What subscription do you have?
Pro x5
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
Context is not being compacted, restarting does not help.
Context compression does not work either automatically or manually via the command. After that, the chat becomes completely unusable because of this issue.
Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)
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 /feedback and open a new bug report.
Activity
github-actions commentedon Apr 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
6639835 commentedon Apr 25, 2026
Same.... No idea why they don't fix it.
deksden commentedon Apr 25, 2026
Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.
build 2080
deksden commentedon Apr 25, 2026
Reverting to prev message did not work: session completely broken! Its very frustrating problem, please fix ASAP
6639835 commentedon Apr 25, 2026
I suggest using gpt5.2
presidenzo commentedon May 7, 2026
Also seeing this on Codex Desktop for macOS.
Thread ID:
019e0390-d329-74c3-b8ab-13a32d339c9bCodex App:
26.429.61741 (2429)Error:
This is still happening today (2026-05-07).
mahdikayvan commentedon May 8, 2026
@misari21 Hey — your context compaction issue looked very close to the reliability problem I’m working on.
I’m building AgaveCore and letting a few early CLI-heavy users try it free while I tighten it.
It helps when a coding agent drifts, loses important progress, or gives you an output you do not fully trust.
The loop is simple:
remember-progressorremember-thisto keep what mattersconsult-brainwhen the task needs grounded directionAs useful journals, decisions, and failures build up, it should help the agent make sharper decisions with less drift over time.
If this sounds relevant, reply here and I’ll send the exact steps. Email and Telegram are also on my profile.
Cheers,
Mads.
etraut-openai commentedon Jun 29, 2026
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.