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
{{ message }}
Repository navigation
Codex VS Code extension crashes on startup after a single conversation exceeds the session size limit. #5902
After pasting a very large CI/CD pipeline log into a Codex chat, the VS Code extension saved a session larger than the context limit. The plugin cashed and it will keep crashing after VSCode reloads.
What steps can reproduce the bug?
Open Codex chat, paste a very large CI/CD pipeline log.
Wait until the response history grows beyond context limit.
Close and reopen VS Code (or reload the window).
What is the expected behavior?
The extension should cap or skip oversized session files so VS Code starts normally.
Additional information
Workaround: manually trim or remove the large session file under ~/.codex/sessions, then quit and relaunch VS Code. A simple “Reload Window” is not enough.
Looks like I'm getting into that, consumed all my limits trying to sort it out.
Reproducible even in cli over the vscode terminal - it simply keeps "thinking" for half an hour, once this happens.
Activity
nos1609 commentedon Nov 4, 2025
Looks like I'm getting into that, consumed all my limits trying to sort it out.
Reproducible even in cli over the vscode terminal - it simply keeps "thinking" for half an hour, once this happens.
etraut-openai commentedon Jan 17, 2026
Closing out old bugs.