Skip to content

Compaction hangs indefinitely at <16% #14425

@guidedways

Description

@guidedways

What version of Codex CLI is running?

v0.114.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4

What platform is your computer?

macOS

What terminal emulator and version are you using (if applicable)?

iTerm2

What issue are you seeing?

Every time now - when the context is around 15% or less, auto-compaction can hang indefinitely (waited for 30 minutes) - it just says "working" but I'm assuming it's compacting since at that point it usually does.

What steps can reproduce the bug?

Give codex some work that would fill up the entire context and force it to compact, after the first or second time it'll just hang on "working" if the context is around 15% or lower.

I end up quitting codex, re-starting (at that time it doesn't even show me the normal resume with ... message) and then manually /resume the session, then run a manual /compact which finally works).

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontextIssues 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