Skip to content

Compact hangs and fails #13815

Closed as duplicate
Closed as duplicate

Description

@puremachinery

Session has around 12% space left, keeps attempting to run compaction but hangs and returns this error: "■ Error running remote compact task: stream disconnected before completion: error sending request for url
(https://chatgpt.com/backend-api/codex/responses/compact)"

I've tried from the Codex macOS app Version 26.305.950 (863), as well as from codex-cli 0.107.0 and 0.111.0.

Everything else network-wise is working fine, so it doesn't appear to be a network connectivity issue.

Activity

  1. github-actions commented on Mar 7, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  2. Grallen commented on Mar 14, 2026

    @Grallen

    This may only happen when you use gpt-5.4 instead of a codex model like gpt-5.3-codex. I was able to switch models, compact, and then switch back.

  3. Grallen commented on Mar 16, 2026

    @Grallen

    This it probably related to the too short timeout fix I just submitted #14860

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions