Skip to content

Compaction failure #20931

@BottyBott

Description

@BottyBott

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)contextIssues related to context management (including compaction)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions