Frequent "Context compacting" despite the low reported usage in UI
Resolved 💬 3 comments Opened Jul 29, 2026 by dj-rxt Closed Aug 4, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.721.81911
What subscription do you have?
Enterprise workspace
What platform is your computer?
Darwin 25.5.0 x86_64 i386
What issue are you seeing?
UI does frequent "Context automatically compacting" despite the low reported usage in UI (context meter at ~20 - 40%)
Feedback ID
019fa8f5-7896-7df0-a727-e9cfd49aea5b
<img width="805" height="874" alt="Image" src="https://github.com/user-attachments/assets/06c2c04c-35d2-43af-b6d0-afc2c9bb2cea" />
What steps can reproduce the bug?
I am unsure. It just happens on one of my chats which gets loaded with some context.
What is the expected behavior?
It should not compact often, especially when reported usage is less than half ?
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Reported issues have a similar theme of frequent compaction.
However, meter reporting low usage seems like a separate thing.
Closing this issue as it turned out to be a false positive.
Our admins had changed some settings across enterprise without informing the users.
These are the settings in question :
model_context_window = 128000
model_auto_compact_token_limit = 48000
model_auto_compact_token_limit_scope = "total"
Reverting those changes fixed the issue I was seeing.