-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Compaction failure #20931
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)Issues involving networking or endpoint connectivity problems (disconnections)contextIssues related to context management (including compaction)Issues related to context management (including compaction)
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)Issues involving networking or endpoint connectivity problems (disconnections)contextIssues related to context management (including compaction)Issues related to context management (including compaction)
Type
Fields
Give feedbackNo fields configured for issues without a type.
What version of Codex CLI is running?
0.128.0
What subscription do you have?
PRO
Which model were you using?
5.5 xhigh
What platform is your computer?
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
VSCode
What issue are you seeing?
■ Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)
Compaction almost never works, leaves session hung and ends current conversations. When I keep telling it to proceed in order to restart compaction, sometimes it just resets with no context at all.
What steps can reproduce the bug?
Have codex compact the context.
What is the expected behavior?
Expected behavior is context compaction and session continuation
Additional information
No response