-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Session logs data loss #16897
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working
Description
What version of Codex CLI is running?
0.166.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.3-codex
What platform is your computer?
Linux 6.19.10 x86_64 unknown
What terminal emulator and version are you using (if applicable)?
Alacritty
What issue are you seeing?
Sometimes, when I close the CLI and try to resume a previous session, I find that it hasn't saved some sections of the log. In the latest instance, 2 days of messages are gone. It's like the session logs didn't flush at exit.
What steps can reproduce the bug?
Doesn't happen always but this is not a SIGKILL issue. Natural exit where the CLI shows me the resume prompt and token usage stats also suffers this issue.
What is the expected behavior?
Session data should be flushed to the session logs every message to avoid data loss.
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.