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 App restarts when session history captures large binary FileChange bodies #46078
What version of the Codex App are you using (From “About Codex” dialog)?
26.908.70816 (build 9275)
What subscription do you have?
Pro x20
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
Opening one Codex Desktop thread repeatedly restarts the UI. Navigating to the thread reports success, but the thread read API fails with: MCP error -32000: Codex app tool request failed.
Local session inspection found one JSONL session at 249,311,394 bytes. It contained 56 FileChange records for temporary .b64 files with raw changes.<path>.content bodies persisted inline.
Total raw Base64 length: 128,174,948 characters
Largest single body: 28,662,741 characters
Additional inline binary payloads: 22 structured-result Base64 fields and 46 screenshot data URLs
This causes the desktop app to hydrate/render enormous binary payloads from task history.
What steps can reproduce the bug?
Run a Codex task that downloads or writes many binary attachments through temporary .b64 files.
Let FileChange history capture each file's raw content inline.
Accumulate a large local session (this case: 249 MB).
Open that task from Codex Desktop history.
Actual: Codex Desktop UI repeatedly restarts; thread read API also fails.
What is the expected behavior?
Binary artifacts should be stored out of line and history should keep only metadata or a deduplicated reference: path, MIME type, size, checksum, and blob/object key. FileChange events, tool outputs, and compacted history should not inline raw binary/Base64. The UI should cap or lazy-load large event bodies.
For recovery, I backed up the original local session and removed only binary/Base64 bodies. Size fell from 249 MB to 98.6 MB. Remaining large content is Gmail read_email text, not binary.
Activity
github-actions commentedon Sep 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action