You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I face it very often. It is annoying. I have to open codex cli and let it compact the thread, then I need to restart codex app, because otherwise it does not see the updated thread, and then finally I can continue in in the codex app. 🥲
I also notice, that compacting in codex app takes MUCH longer than in codx cli. I use gpt-5.4 xhigh.
Turn 3: 18:36:30.021Z -> 18:38:06.605Z, runtime 1m 36.6s, 1 actual compaction before I interrupted it
So the broader stretch was about 3h 45m 41s with 149 actual compactions total.
If counting both compacted + context_compacted log records, that is 298 compact-related entries.
Other evidence from the same thread:
Earlier app-side error on 2026-03-08: Failed to apply patches ... [Immer] minified error nr: 18
The thread had become extremely large locally by the time this happened: ~109k rollout events and ~2.71B tokens in local thread accounting
Around 17:47Z there was also a burst of repeated task_complete -> task_started cycles before the next real user message
This did not feel like a single slow task. It felt like the app got trapped in repeated compaction and reread behavior on a very large thread.
Activity
github-actions commentedon Mar 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
RiddleMeThis3 commentedon Mar 11, 2026
Following up to say that lowering to high fixed it.
geokal commentedon Mar 11, 2026
me too!!
teneko commentedon Mar 11, 2026
I face it very often. It is annoying. I have to open codex cli and let it compact the thread, then I need to restart codex app, because otherwise it does not see the updated thread, and then finally I can continue in in the codex app. 🥲
I also notice, that compacting in codex app takes MUCH longer than in codx cli. I use gpt-5.4 xhigh.
MovGP0 commentedon Mar 12, 2026
Context compaction works in the Codex CLI for me, but always have the problem with the Codex GUI on Windows.
twentyOne2x commentedon Mar 12, 2026
Adding a concrete desktop-app example here because this looks like the same failure mode, but with stronger thread-level evidence.
Environment:
019cb41c-0825-7f03-82ca-470891d7a6e8What happened:
Concrete timings from local rollout/log inspection on 2026-03-12:
So the broader stretch was about 3h 45m 41s with 149 actual compactions total.
If counting both
compacted+context_compactedlog records, that is 298 compact-related entries.Other evidence from the same thread:
Failed to apply patches ... [Immer] minified error nr: 18task_complete -> task_startedcycles before the next real user messageThis did not feel like a single slow task. It felt like the app got trapped in repeated compaction and reread behavior on a very large thread.
InfiniteLife commentedon May 26, 2026
Still happens - Windows here