VS Code UI fails to reopen valid sessions that are resumable via CLI
Open 💬 1 comment Opened May 1, 2026 by VianiLab
What version of the IDE extension are you using?
26.422.71525
What subscription do you have?
plus
Which IDE are you using?
VS Code
What platform is your computer?
Windows 11
What issue are you seeing?
Environment:
- Windows
- VS Code
- Codex extension
- Codex CLI v0.128.0
Issue:
Some sessions saved in .codex/sessions/*.jsonl cannot be reopened from the VS Code Codex panel.
However:
Running codex resume --all from PowerShell allows selecting and correctly resuming the same session in CLI.
Important:
- The .jsonl file exists and is valid
- The session is usable via CLI
- Only the VS Code UI fails to render/reopen it
Impact:
Breaks workflow continuity and forces manual context reconstruction, which is not equivalent and leads to inconsistency and extra token usage.
What steps can reproduce the bug?
The issue is NOT deterministic.
- Some sessions fail to load in the VS Code UI while others load correctly.
- The failing sessions appear random.
- The same session may fail to load at one time, but load correctly later.
- Conversely, sessions that previously worked may later fail.
Example:
- Session A fails to load now, while Session B and C load correctly.
- Later, Session A may load correctly, while Session C fails.
Important:
All affected sessions can always be resumed via codex resume --all in CLI.
What is the expected behavior?
VS Code UI should be able to reopen any valid session that CLI can resume.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗