Skip to content

Compaction Errors in Codex app and CLI #17335

Closed

Description

@silverfish-11

What version of the Codex App are you using (From “About Codex” dialog)?

Latest

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

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)

What steps can reproduce the bug?

Uploaded thread: 019d777c-44c8-7e62-8255-2e520dd33928

What is the expected behavior?

context compaction

Additional information

happened across sessions

Activity

  1. added
    bugSomething isn't working
    contextIssues related to context management (including compaction)
    on Apr 10, 2026
  2. removed
    appIssues related to the Codex desktop app
    on Apr 10, 2026
  3. etraut-openai commented on Jun 29, 2026

    @etraut-openai
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions