Manual compacting makes context larger

Open 💬 1 comment Opened Aug 25, 2026 by wanton7
💡 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.818.61809

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I had long chat and it was repeatedly compacting like five times in a row at least. Then decided to manually compact

This was before compacting
Context:
6% left (244,138 used / 258K)

After using /compact
Context:
0% left (258,400 used / 258K)

So compacting actually made context larger.

What steps can reproduce the bug?

Run model Luna 5.6 on Max reasoning. Long enough context and I started getting repeated compacts. Then tried to manually trigger compact and context got larger after.

What is the expected behavior?

Context would actually compact to smaller size.

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 2 days ago

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

  • #39310
  • #40213
  • #40366

Powered by Codex Action