Windows Codex App: Frequent hanging on 'Automatically compacting context' every 1-2 minutes + indefinite freeze

Resolved 💬 2 comments Opened Mar 12, 2026 by shanayatunk Closed Jul 2, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

26.306.966.0

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Same issue here on Windows desktop app (Codex version: [your version from About menu], Plus subscription).

  • "Automatically compacting context" triggers extremely often — every 1-2 minutes or after small/medium requests, even when context usage is low initially.
  • It frequently hangs indefinitely (5–30+ minutes, spinner stuck, app unresponsive — have to kill via Task Manager).
  • Using GPT-5.4 with High.
  • Happens on large-ish codebases/projects.
  • Workarounds like switching to CLI for compaction then restarting app help temporarily, but it's disruptive.

This started/recently worsened around March 11–12. Please prioritize — it's making long sessions unusable.

Steps to repro: Start thread → add some code/files → make a few planning/refinement requests → compaction triggers often and hangs.

<img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/e5538256-7855-4441-8951-e7473de4809c" />

What steps can reproduce the bug?

Probably a longer chat

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗