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
All conversations show "Oops, an error occurred" after Codex Desktop update #23032
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
I’m seeing what appears to be the same Codex Desktop Windows session-resume issue after updating to 26.513.3673.0.
Environment:
Windows x64
Codex Desktop: 26.513.3673.0
Issue started immediately after the Codex Desktop update/restart
Symptoms:
Recent Codex chats fail to open with “Oops, an error has occurred.”
Some older chats still load.
The affected chats may appear in search/sidebar, but opening them fails.
Killing Codex processes and reopening does not reliably fix it.
Moving/resetting .codex-global-state.json changed the sidebar/project list but did not fix the underlying thread resume issue.
More specific error:
Failed to resume chat
cannot resume running thread <REDACTED_THREAD_ID> with stale path:
requested \\?\C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonl
active C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonl
I also saw the reverse form earlier:
requested C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonl
active \\?\C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonl
This looks like a Windows path normalization issue where Codex treats \\?\C:\... and C:\... as different active session paths even though they refer to the same file.
Local files where the affected thread ID appeared:
.codex-global-state.json
.codex-global-state.json.bak
session_index.jsonl
state_5.sqlite
state_5.sqlite-wal
logs_2.sqlite
logs_2.sqlite-wal
I did not delete .codex\sessions. The repo itself appears fine; git commits and working tree are intact. The failure appears isolated to Codex Desktop session/thread resume state.
Issue
After installing the latest Codex App version, opening some previous threads shows the generic error screen:
Oops, an error has occurred
The thread does not render.
Root Cause Observed
The renderer crashes while parsing historical saved assistant messages that contain Codex git directives with Windows-style cwd paths, for example:
Representative log error with personal/repo details redacted:
error boundary ... name=LocalConversationPage
errorMessage="invalid syntax at line 1 col 5:
1 cwd=\"C:\\Users\\<user>\\Documents\\<repo>\" branch=\"codex/example-branch\"
^"
Component stack starts around:
at Br (app://-/assets/markdown-D32gobzN.js:8:5425)
at ... local-conversation-thread-*.js
at ... local-conversation-page-*.js
Steps To Reproduce
On Windows, open Codex App 26.513.3673.0.
Open a previous local thread whose saved final answer includes ::git-create-branch, ::git-stage, or ::git-commit directives with a Windows cwd path containing backslashes.
The thread fails to render and shows the generic “Oops” error screen.
Expected
Threads should render even if historical assistant messages contain app directives. Invalid or legacy directives should be ignored, escaped, or rendered as text.
Actual
The markdown/directive parser throws, the React error boundary is hit, and the entire thread page fails to open.
Local Workaround
Escaping the historical directives in the saved JSONL thread files prevents the crash:
This confirms the trigger is directive parsing, not repo state or project code.
Notes
This appears to be a regression in the new renderer/parser, because these were previously saved by Codex itself as valid final-response metadata.
thank you @luisnucg, this fixed my .jsonl file so codex could read it again! it worked for now so i can continue to work thanks to you. untill the real fix comes out. thanks a lot man!
<update: it doesn't completely work, just codex is able to read it but can't actually compact it>
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon May 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jatmn commentedon May 16, 2026
Yup same issue here.
Codex Desktop (windows 11) 26.513.31313
mbf2188-rgb commentedon May 16, 2026
I’m seeing what appears to be the same Codex Desktop Windows session-resume issue after updating to 26.513.3673.0.
Environment:
Symptoms:
.codex-global-state.jsonchanged the sidebar/project list but did not fix the underlying thread resume issue.More specific error:
Failed to resume chat
cannot resume running thread <REDACTED_THREAD_ID> with stale path:
requested
\\?\C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonlactive
C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonlI also saw the reverse form earlier:
requested
C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonlactive
\\?\C:\Users\<REDACTED_USER>\.codex\sessions\<DATE_PATH>\rollout-<REDACTED>.jsonlThis looks like a Windows path normalization issue where Codex treats
\\?\C:\...andC:\...as different active session paths even though they refer to the same file.Local files where the affected thread ID appeared:
.codex-global-state.json.codex-global-state.json.baksession_index.jsonlstate_5.sqlitestate_5.sqlite-wallogs_2.sqlitelogs_2.sqlite-walI did not delete
.codex\sessions. The repo itself appears fine; git commits and working tree are intact. The failure appears isolated to Codex Desktop session/thread resume state.hinaoing commentedon May 16, 2026
Same issue on Windows 11.
Codex
26.513.31313
luisnucg commentedon May 16, 2026
Same here on Windows 11
Environment
OpenAI.Codex_26.513.3673.0_x64__2p2nqsd0c76g0[email protected]0.131.0-alpha.942.0.1Issue
After installing the latest Codex App version, opening some previous threads shows the generic error screen:
Oops, an error has occurredThe thread does not render.
Root Cause Observed
The renderer crashes while parsing historical saved assistant messages that contain Codex git directives with Windows-style
cwdpaths, for example:Representative log error with personal/repo details redacted:
Component stack starts around:
Steps To Reproduce
26.513.3673.0.::git-create-branch,::git-stage, or::git-commitdirectives with a Windowscwdpath containing backslashes.Expected
Threads should render even if historical assistant messages contain app directives. Invalid or legacy directives should be ignored, escaped, or rendered as text.
Actual
The markdown/directive parser throws, the React error boundary is hit, and the entire thread page fails to open.
Local Workaround
Escaping the historical directives in the saved JSONL thread files prevents the crash:
This confirms the trigger is directive parsing, not repo state or project code.
Notes
This appears to be a regression in the new renderer/parser, because these were previously saved by Codex itself as valid final-response metadata.
jppolk commentedon May 16, 2026
thank you @luisnucg, this fixed my .jsonl file so codex could read it again! it worked for now so i can continue to work thanks to you. untill the real fix comes out. thanks a lot man!
<update: it doesn't completely work, just codex is able to read it but can't actually compact it>
luisnucg commentedon May 16, 2026
@jppolk Glad it helped, still it is just a bandaid, the bug will continue showing up until an update that fixes the root cause is shipped!
jppolk commentedon May 16, 2026
Still can't work with the modified .jsonl I get this error:
Context automatically compacted Error running remote compact task: { "error": { "message": "Your input exceeds the context window of this model. Please adjust your input and try again.", "type": "invalid_request_error", "param": "input", "code": "context_length_exceeded" } }etraut-openai commentedon May 16, 2026
We've issued a hotfix to address this. Please update to the latest version.