/compact reduced context availability by 70%

Resolved 💬 4 comments Opened Jan 8, 2026 by mstoiber-oai Closed Jan 9, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.80.-alpha.3

What subscription do you have?

Internal

Which model were you using?

gpt-5.2-codex

What platform is your computer?

_No response_

What issue are you seeing?

I had 80% context window left. I ran /compact. Now I had 10% context window left.

What steps can reproduce the bug?

Uploaded thread: 019b9b12-e691-72c3-a588-5640c3f8b9a3

What is the expected behavior?

/compact increases context availability, not reduces it.

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 7 months ago

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

  • #4479

Powered by Codex Action

mstoiber-oai · 7 months ago

fwiw running it again I went back up to 91% context availability, so it was something about that specific compact run

etraut-openai contributor · 7 months ago

Thanks for the bug report. Are you sure you uploaded the correct session? I'm not seeing any compaction in that session data.

mstoiber-oai · 7 months ago

I immediately typed /feedback after the bug 😳 I've hit this again but didn't want to submit a duplicate report; let me close this for now since it somehow uploaded the wrong convo and I'll open another one if it happens again.