Repeated automatic context compaction after every prompt/task.
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.417.41555 (1858)
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
i am still haveing the contest issue now for over 9 hrs ????
how can this be - after every prompt triggers the autmatic contest window - i lost 16% of my weekly to this
Use this in the feedback box:
Repeated automatic context compaction after every prompt/task.
Codex is repeatedly hitting the context limit after nearly every single prompt or autonomous task. Even with normal usage, it runs for only about 15–20 seconds before it starts automatically compacting context again.
This has been happening continuously for around 9-10 hours in the same session and makes Codex extremely difficult to use. It seems to happen after almost every task, not just occasionally.
Please check whether this is a bug or an issue with my current session/account. I’ve included the current Codex session logs.
Keep Bug selected and leave Include current Codex session logs checked.
codex://threads/019da2e1-6ab2-7830-a27f-5403a9caa33b
019da2e1-6ab2-7830-a27f-5403a9caa33b
/Users/omarat-turkmani/Documents/Ringly
What steps can reproduce the bug?
Uploaded thread: 2bffb833-a020-45af-aeaa-35ab0ac3f752
Codex is repeatedly hitting the context limit after nearly every single prompt or autonomous task. Even with normal usage, it runs for only about 15–20 seconds before it starts automatically compacting context again.
What is the expected behavior?
if starts compacting after 1 task
Additional information
I would like a compensation for this - I lost 16-17% of my weekly usage and 9 hours fof work Kina wasted, thx
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I encountered what appears to be the same issue in the Codex desktop app on macOS 26.5.2 (Darwin 25F84).
During one long-running turn, the UI emitted “Context automatically compacted” repeatedly (roughly ten consecutive times) without meaningful new user input between compactions. A normal single auto-compaction would be expected because the thread is long; the abnormal behavior is that compaction immediately triggers again and appears to loop within the same turn.
Observed behavior:
Expected behavior:
Environment:
I have a screenshot showing the repeated events. I can provide the screenshot or private diagnostics if an OpenAI maintainer requests a safe upload channel.