All conversations show "Oops, an error occurred" after Codex Desktop update
What version of the Codex App are you using (From “About Codex” dialog)?
26.513.3673.0
What subscription do you have?
chatGPT pro
What platform is your computer?
"$([Environment]::OSVersion | ForEach-Object VersionString) $((if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" }))"
What issue are you seeing?
After updating Codex Desktop on Windows, all existing conversations fail to open and show:
"Oops, an error occurred"
The app UI suggests checking for updates or retrying, but retrying does not fix it.
A feedback report was uploaded from the Codex app with this correlation ID:
019e30cd-2df5-7532-a313-d6f26cd79992
Versions:
- Codex Desktop: 26.513.3673.0
- codex-cli: 0.130.0-alpha.5
- Platform: Windows x64
Relevant local logs:
- Received turn/started for unknown conversation
- thread/goal/get failed: goals feature is disabled
I tried restarting Codex and reinstalling the app, but the issue persists.
What steps can reproduce the bug?
Feedback ID: 019e30cd-2df5-7532-a313-d6f26cd79992
Maybe on chat with supabase extension connected
<img width="877" height="515" alt="Image" src="https://github.com/user-attachments/assets/68f74134-3195-4212-b2ca-de3523336fcf" />
What is the expected behavior?
_No response_
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Yup same issue here.
Codex Desktop (windows 11) 26.513.31313
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.Same issue on Windows 11.
Codex
26.513.31313
<img width="431" height="279" alt="Image" src="https://github.com/user-attachments/assets/e03aab65-e204-4668-a810-6fa3cc1b3ee2" />
Same here on Windows 11
Environment
OpenAI.Codex_26.513.3673.0_x64__2p2nqsd0c76g0codex@26.513.313130.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.
<img width="308" height="223" alt="Image" src="https://github.com/user-attachments/assets/4fe30b57-d730-4112-9785-5d4c4978d43c" />
<img width="553" height="115" alt="Image" src="https://github.com/user-attachments/assets/9f094536-50dd-434b-a960-fd51d3c747f9" />
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>
@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!
Still can't work with the modified .jsonl I get this error:
Context automatically compactedError 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" } }
We've issued a hotfix to address this. Please update to the latest version.