codex - 💡(How to fix) Fix Session disappear. Codex trips over bad JSON history. [2 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.133.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.5

What platform is your computer?

Linux 6.8.0-117-generic x86_64 x86_64 over ssh from Codex App on MacOS

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

No response

Codex doctor report

What issue are you seeing?

Codex App thread disappeared. Session was not listed in codex on the host accessed over SSH either.

Cause: JSON for history was broken, did not validate. Works after removing offending and broken parts of the JSON.

RCA: Codex had issues with encoding JSON files, may write broken JSON it can read. Trips over on its own files.

What steps can reproduce the bug?

Uploaded thread: 019e5d6e-90b4-7032-827e-4aa0df8cdd9a

What is the expected behavior?

Codex and Codex App sessions should not suddenly disappear.

Additional information

Take a deep breath.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Session disappear. Codex trips over bad JSON history. [2 pull requests]