Compaction hangs indefinitely at <16%
Open 💬 5 comments Opened Mar 12, 2026 by 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_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗