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
Windows Desktop 26.917: local WSL projects disappear from sidebar while app-server project/list retains them #47764
After an update, all local Codex projects disappeared from the desktop Projects sidebar. ChatGPT projects and historical Codex tasks still appear. The workspace directories still exist.
Evidence
The desktop project listing returns 18 ChatGPT projects and 0 local Codex projects.
The current desktop global state has local-projects: {} and marks projectsMigrated: true.
A pre-update state backup contains local project records.
The WSL app-server project/list still returns 11 project records, including the missing local projects, with valid existing roots.
The desktop sidebar API rejects a known WSL project ID with No project found for projectId.
I did not overwrite the current state, create duplicate projects, or restart the desktop app during this investigation.
Expected behavior
The desktop sidebar should enumerate the existing WSL app-server projects, or recover the mapping when its local cache is empty.
Request
Please investigate the desktop/Core project enumeration and migration path for Windows + WSL, and provide a supported way to rebuild the sidebar project index from existing app-server records without losing current tasks.
No raw logs, account data, project names, or private paths are attached.
The automated duplicate detector identified #47827 and #47764. These appear related, but I am leaving this report open for triage because this case reproduces on macOS, and the diagnostics differ in a potentially useful way.
#47827 appears to be the closest match: its projects and project_roots records also remain intact after the projects disappear from the sidebar.
In my macOS case, however, I have additionally verified that:
The desktop global state still contains local Codex project IDs.
sidebar-project-list-expanded-v1 is true.
The desktop application actively enumerates the missing project directories with source=sidebar_workspace_groups.
That scan successfully completes with worker-complete dirCount=59 ... originCount=48.
Despite this, no local Projects section is rendered.
This may therefore be the same underlying cross-platform bug, but I am leaving the macOS report available so maintainers can determine whether it should be consolidated with #47827 or tracked separately.
Additional Linux case related to this report. The public draft below is redacted; no raw logs, chat transcripts, paths, or identifiers are attached.
[Linux Desktop 26.924] Local projects disappear from sidebar while chats remain; project membership differs across app views
Environment
ChatGPT/Codex desktop app: 26.924.50649
OS: Ubuntu 22.04.4 LTS, x86_64
Bundled Codex: codex-cli 0.158.0-alpha.2.1
Separately installed Codex CLI: codex-cli 0.159.0
Date observed: 2026-09-29
Observed behavior
The user reports that local project folders have repeatedly disappeared from the desktop sidebar after app updates while existing Codex chats remain visible under Recents. On this occasion the sidebar showed “No projects” but still listed the chats. Quitting and restarting the app did not restore the projects. The user also reports seeing different chat/project grouping through a Connection from another device than on the host's direct desktop UI. The association with updates is user-observed; a controlled before/after update reproduction has not been captured.
After the user created three local projects in the desktop app and pointed each at its existing folder, the projects appeared in the sidebar. One existing worktree chat was grouped automatically; many other existing chats from those folders initially remained under Recents. Whether old chats are expected to join newly created projects automatically is unclear.
Read-only diagnostics after recreation found:
View
Projects
Chat memberships
Desktop local state
3 local project records
3 explicit assignments among 27 relevant existing chats
Codex app-server database
3 project records and 3 folder roots
0 project_id values among those 27 chats
App sidebar inventory API
3 local projects
The 3 explicit chats plus 1 worktree chat appeared grouped in the latest snapshot
These are different state representations; the database/UI difference alone is not proof of corruption. The user-visible problem is that projects and chat grouping can disappear or differ between direct and Connected views, with no apparent recovery or reconciliation path. The underlying chat records and folder roots remained present in this investigation.
Expected behavior
Existing local projects should remain visible across app updates and restarts. Direct and Connected views should identify the same host projects and chat memberships, or clearly explain when a project/chat exists only in one view. If migration or synchronization is incomplete, the app should recover or offer a supported reconciliation action without creating duplicate projects.
Reproduction and diagnostics requested
Save local projects and chats on a host, including chats in a project worktree.
Update/restart the desktop app and compare the direct host sidebar with a Connection from another device.
Compare the app's local project registry, app-server project/list, and sidebar project/chat inventory.
Check whether existing chat memberships are preserved and whether the UI can rebuild its project registry from intact backend project records.
This case occurred on Linux. Related open reports cover disappearing projects on Windows and project metadata drift between Remote and Desktop: #47764, #48501, and #42321.
Redacted diagnostics and a screenshot can be provided privately. No raw transcripts or databases should be posted publicly.
Activity
github-actions commentedon Sep 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
GamersaurusLex commentedon Sep 26, 2026
The automated duplicate detector identified #47827 and #47764. These appear related, but I am leaving this report open for triage because this case reproduces on macOS, and the diagnostics differ in a potentially useful way.
#47827 appears to be the closest match: its
projectsandproject_rootsrecords also remain intact after the projects disappear from the sidebar.In my macOS case, however, I have additionally verified that:
sidebar-project-list-expanded-v1istrue.source=sidebar_workspace_groups.worker-complete dirCount=59 ... originCount=48.This may therefore be the same underlying cross-platform bug, but I am leaving the macOS report available so maintainers can determine whether it should be consolidated with #47827 or tracked separately.
emchesson commentedon Sep 29, 2026
Additional Linux case related to this report. The public draft below is redacted; no raw logs, chat transcripts, paths, or identifiers are attached.
[Linux Desktop 26.924] Local projects disappear from sidebar while chats remain; project membership differs across app views
Environment
26.924.50649codex-cli 0.158.0-alpha.2.1codex-cli 0.159.0Observed behavior
The user reports that local project folders have repeatedly disappeared from the desktop sidebar after app updates while existing Codex chats remain visible under Recents. On this occasion the sidebar showed “No projects” but still listed the chats. Quitting and restarting the app did not restore the projects. The user also reports seeing different chat/project grouping through a Connection from another device than on the host's direct desktop UI. The association with updates is user-observed; a controlled before/after update reproduction has not been captured.
After the user created three local projects in the desktop app and pointed each at its existing folder, the projects appeared in the sidebar. One existing worktree chat was grouped automatically; many other existing chats from those folders initially remained under Recents. Whether old chats are expected to join newly created projects automatically is unclear.
Read-only diagnostics after recreation found:
project_idvalues among those 27 chatsThese are different state representations; the database/UI difference alone is not proof of corruption. The user-visible problem is that projects and chat grouping can disappear or differ between direct and Connected views, with no apparent recovery or reconciliation path. The underlying chat records and folder roots remained present in this investigation.
Expected behavior
Existing local projects should remain visible across app updates and restarts. Direct and Connected views should identify the same host projects and chat memberships, or clearly explain when a project/chat exists only in one view. If migration or synchronization is incomplete, the app should recover or offer a supported reconciliation action without creating duplicate projects.
Reproduction and diagnostics requested
project/list, and sidebar project/chat inventory.This case occurred on Linux. Related open reports cover disappearing projects on Windows and project metadata drift between Remote and Desktop: #47764, #48501, and #42321.
Redacted diagnostics and a screenshot can be provided privately. No raw transcripts or databases should be posted publicly.