Skip to content

compact does nothing #4868

Closed
Closed

Description

@CodeAlexx

What version of Codex is running?

.45

Which model were you using?

gpt5 codex high

What platform is your computer?

Ubuntu 24.04

What steps can reproduce the bug?

/compact xxxx does not compact, it has same low context and two or three tries later it says "■ Codex ran out of room in the model's context window. Start a new conversation
or clear earlier history before retrying."

/compact alone simply gives me the same message above.

lets just say my mood -- i might need a new keyboard.. im not a happy camper

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. github-actions commented on Oct 7, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  2. added
    contextIssues related to context management (including compaction)
    on Nov 2, 2025
  3. etraut-openai commented on Nov 28, 2025

    @etraut-openai
    Contributor

    We've fixed a bunch of bugs with /compact since this bug was filed, so it's likely no longer relevant. If you're still seeing this with the most recent version of the CLI, please open a new bug report and use the /feedback slash command to upload your session.

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