Compact failed

Open 💬 5 comments Opened Jan 16, 2026 by rohannagpal
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.86

What subscription do you have?

pro

Which model were you using?

gpt-5.2

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

windows terminal

What issue are you seeing?

│ Visit https://chatgpt.com/codex/settings/usage for up-to-date │
│ information on rate limits and credits │
│ │
│ Model: gpt-5.2 (reasoning high, summaries auto) │
│ Directory: ~/nse-fetcher-2 │
│ Approval: on-request │
│ Sandbox: workspace-write │
│ Agents.md: AGENTS.md │
│ Account: (Pro) │
│ Session: 019bc572-77c6-75e2-b06b-7415716cc310 │
│ │
│ Context window: 0% left (947K used / 258K) │
│ Limits: data not available yet

What steps can reproduce the bug?

Uploaded thread: 019bc572-77c6-75e2-b06b-7415716cc310

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

5 Comments

rohannagpal · 7 months ago

Happened a second time. But this time it managed to compact the request. The first time it refused to compact.
019bc613-ed22-7611-8057-f8a9ceb5bcd6

etraut-openai contributor · 7 months ago

Additional context from the uploaded log file: "The system may be miscalculating the required context size, leading to an overflow."

SystemXFiles · 6 months ago

I have a similar problem.

Feedback sent ID: 019c7bb0-e2c7-7871-8ea9-f51bd691fbe1

Iron132 · 6 months ago

ID 019c88c8-af2d-75f0-81b1-0660db6a00c6

Constant compacting error

SystemXFiles · 6 months ago

I got the same error again, but in a different chat: 019c817a-0cf0-7523-9882-f066785ae036