Context automatically compacted / [RUINS SESSIONS] - [ CRITICAL BUG]

Open 💬 6 comments Opened Jul 3, 2026 by nikkapet22-bot
💡 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)?

Version 26.623.101652 • Released 3 Jul 2026

What subscription do you have?

PRO

What platform is your computer?

Windows 11

What issue are you seeing?

Codex has already consumed 2 resets and around 50% of my weekly tokens.

At first, I was too late to understand what the real issue was, but now I have a clear picture. I asked Codex to fix some metrics in my app. This is the kind of task that usually takes 5–10 minutes max, but this time it kept running for hours.

The problem is that Codex appears to be stuck in a loop. It runs a few commands, then compacts the context. After compaction, the context is still around 94–98%, so it only has enough room to run a couple more commands before trying to compact again.

This cycle has been repeating for hours: brief work, context compaction, still almost full context, then another compaction attempt. Because of this loop, it wasted a huge amount of my weekly tokens and resets without actually making meaningful progress.

<img width="1100" height="1346" alt="Image" src="https://github.com/user-attachments/assets/8088f6b5-b0d0-4ece-8870-58706cbc4aeb" />

What steps can reproduce the bug?

I have no idea

What is the expected behavior?

I have no idea

Additional information

Nope

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 17 days ago

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

  • #29947
  • #30194

Powered by Codex Action

fedeostrit · 17 days ago

i have de same issue

nikkapet22-bot · 17 days ago

user-ARpTy5d0ZgjgKzFSwRc4h0wB

I would like my resets and usage back if possible; I was keeping them for 5.6 sol
This bug cost me a lot while providing 0 progress

You can verify it

fedeostrit · 17 days ago

I understand that this problem is affecting all users who have the Codex app and are experiencing the same issue.

It is a critical problem; they need to release a fix as soon as possible or roll back the changes, because it is currently impossible to work.

nikkapet22-bot · 14 days ago

Helloooooooooooooooooooooo

This bug ruined my 1 month + session and I had to create a new one without any context.
Why no one talks about it, when can I receive my compensation

QuickkNastyy · 7 days ago

Mine is doing the same shit non stop. Used all of my 5 hour limits twice now.

Literally the first prompt in a new chat and it's compacting....