🩹🩹 Codex Windows app: project chats disappear after update and after first response
Open 💬 3 comments Opened Jun 10, 2026 by Carlaidus
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
After updating Codex Windows app, project chats disappeared.
New chats created inside projects appear briefly, but after Codex replies they disappear from the project/sidebar.
Affected projects:
- Arik Custom
- AVENTURAS_PIXELADAS
- CRONORAS
- Newly created projects
Steps:
- Update Codex Windows app.
- Open existing projects.
- Project chats are missing.
- Create a new project with a folder.
- Create a new chat inside that project.
- Send a message.
- The chat appears initially.
- After Codex replies, the chat disappears from the project/sidebar.
Tried:
- Restarted app and Windows.
- Reinstalled Codex.
- Cleared local cache.
- Deep reset of local app state.
- Mobile still shows chats.
Codex Windows version:<br>26.608.1337.0
Impact
July 15–28, 2026
- Estimated affected reporting users: 3 (95% range: 3–3).
- Estimated matching feedback: 3; User Ops cases: 0; cancellation surveys: 0.
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Adding a fresh Windows repro after updating to a newer Codex Desktop build. This is sanitized for public GitHub; exact thread id and exact local path are omitted here, but I have them available for private /feedback.
Environment:
OpenAI.Codex_26.623.5175.0_x64__2p2nqsd0c76g0OpenAI.Codex_26.623.3763.0_x64__2p2nqsd0c76g026.623.414150.142.3gpt-5.5,xhighC:\Users\<user>\Code\Unreal\<project>Fresh repro:
Local evidence:
state_5.sqliterow exists for the affected thread.thread_source='user',source='vscode',archived=0,archived_at=NULL.cwduses the Windows verbatim-prefix form:\\?\C:\Users\<user>\Code\Unreal\<project>.C:\Users\<user>\.codex\sessions\...and was about 609 KB.preview=''andfirst_user_message=''in the affected DB row.Direct access works:
codex_app.read_threadby id succeeds.Normal discovery fails:
codex_app.list_threadstop 50 omits the affected thread even though it is one of the newest DB rows.codex_app.list_threadsquery for the exact title returns[].codex_app.list_threadsquery for a title keyword returns[].Local DB pattern on this machine:
131preview:22cwdstarts with\\?\:131Relevant log signals around the affected thread:
thread/readresumed the rollout successfully.thread/name/updatedset the title.incremental request failed, items didn't match.unhandled responses event: response.function_call_arguments.delta/done.This looks related to #25463, #27243, and the closed duplicate #22777. My current hypothesis is that two issues overlap on Windows:
\\?\cwd normalization mismatch.thread/list/ search can drop valid sessions whenpreviewandfirst_user_messageare blank or preview reconstruction fails. Directread_threadstill works, so the thread should probably appear as a title-only row instead of disappearing.Expected behavior: valid, unarchived local user threads with existing rollout files should remain visible in sidebar/list/search even if preview derivation fails.
Is there a supported local repair/reindex command for this state, and is
thread/listbeing changed to tolerate blank preview / preview reconstruction failures?Follow-up after more local diagnosis on the same Windows machine. This is still sanitized; exact local thread ids and exact local username are omitted publicly.
I found two separate failure modes that overlap:
1. Blank previews make threads invisible to the normal visible-thread path
The local
threadstable has partial indexes that only include rows with non-empty preview text:The newest missing chats had:
So those rows were valid and readable, but excluded from the visible-index condition. They were mostly attachment-only / pasted-text-request chats where the title was generated later.
A local test repair that set
preview = titlefor active user rows with blank previews changed 23 rows. After that, the DB had:That appears to address one class of missing thread metadata, though the running app process still had stale list/search state until refresh/restart.
2. Project hierarchy still breaks because live app state rewrites cwd back to
\\?\...The same machine also has the Windows path-normalization issue from #27243. The saved project root is normal:
But affected
threads.cwdrows are rewritten to:I stripped the
\\?\prefix fromthreads.cwdas a local SQLite test. It initially made the DB match the saved project root, but while Codex was still running the app/sync/reconciliation path rewrote many rows back to the prefixed form almost immediately.Current counts after that live rewrite:
A read-only finder for the affected project currently reports:
Pin/unpin behavior
Pinning one hidden thread made it visible/recoverable. After unpinning it, it disappeared again. That suggests pinned threads are shown through a different surface that bypasses or supplements the broken project/list discovery path. Once unpinned, the thread falls back into the broken combination of
cwdmismatch / stale discovery.Why this seems actionable
I think there are two fixes needed:
thread/list/ search / sidebar should not drop valid active rows whenpreviewis blank. It should render a title-only fallback or derive preview from the first readable user item, even for attachment-only prompts.A supported local repair/reindex command would also help users recover existing state without manual SQLite edits.