Auto-compact fails

Resolved 💬 2 comments Opened Feb 13, 2026 by le876 Closed Feb 13, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

### Steps to reproduce

  1. Start a long, multi-turn diagnostic conversation.
  2. Accumulate many context-heavy messages (commands/results/analysis).
  3. When context window is near limit, continue with another query.
  4. Observe hard error asking to start new thread / clear history instead of graceful summarization.

### Expected behavior

  • Before hard cutoff, Codex should trigger automatic context compression (or offer an explicit “compress and continue” option).
  • It should preserve key context (e.g., session goal, environment state, diagnostic findings, IDs, executed commands).
  • Conversation should continue without requiring manual new-thread handoff.

### Actual behavior

  • No auto-compression observed.
  • Session abruptly stops with context window error.
  • User must manually start a new thread or clear history, interrupting troubleshooting flow.

View original on GitHub ↗

2 Comments

etraut-openai contributor · 6 months ago

There are not enough details in the bug report for us to diagnose this, so I'm going to close.

Feel free to open a new bug report, but please fill in all of the fields in the bug report template. Also, for a bug like this, it's really important that we have access to your logs and session details. You can upload those using the /feedback slash command. Then include the thread ID in the bug report so we can reference the logs.

yassirusa · 4 months ago

When will this be worked on. Codex-5.3 and codex-5.3-spark are completely useless and they keep churning tokens without editing any code until they "run out of room"