Repository navigation
Windows: local conversation archive fails with os error 2 after resume #39468
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop release 26.814.41407 (updated 2026-08-18; release observed in desktop log)
What subscription do you have?
ChatGPT Plus (currently using credits)
What platform is your computer?
Windows 10 Home 22H2, OS build 19045.7663, x64
What issue are you seeing?
Summary
After the 2026-08-18 update, Codex Desktop on Windows cannot archive local conversations. Older and current local project threads are visible and readable, but Archive fails and the thread remains active.
Error
failed to archive session: thread-store internal error:
failed to archive thread:
The system cannot find the file specified. (os error 2)
The desktop log reports method=thread/archive with error code -32603.
The referenced rollout JSONL file exists on disk, and the local archived_sessions directory also exists. No session files, database rows, or logs were modified during diagnosis.
What steps can reproduce the bug?
- Start Codex Desktop on Windows.
- Open or resume an existing local project conversation.
- Use the conversation menu and choose Archive.
- The app reports the archive failure shown above; the thread stays visible and unarchived.
- Restart Codex Desktop and retry. The same error occurs for several older and current local threads.
What is the expected behavior?
The conversation should be marked as archived, its rollout file should be moved to the local archived-session store, and it should disappear from the active thread list.
Additional information
This appears to match open Windows reports:
- Windows:
thread/archivefails with "os error 2" afterthread/resumestores a\\?\(verbatim) rollout_path — same file queued twice #39239 - [Windows] Archiving fails with os error 2 when rollout paths use the \\?\ prefix; external path normalization is ineffective #39209
- [Windows] Cannot archive conversations when rollout paths use the \\?\ prefix #39150
- [Windows] Local thread archiving fails with thread-store os error 2 #39130
Those reports describe a likely duplicate-path handling issue: one rollout file may be represented both as a normal Windows path and as an extended-length path after resume. The archive operation may queue the same physical file twice; the second move then fails with os error 2, and the first move is rolled back.
Could you confirm whether a fix is planned and provide a safe way to archive existing affected local conversations without manual database edits?
Activity
github-actions commentedon Aug 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
thread/archivefails with "os error 2" afterthread/resumestores a\\?\(verbatim) rollout_path — same file queued twice #39239Powered by Codex Action