Skip to content

Windows desktop: ChatGPT Projects missing while server data remains; sandbox service survives app exit #47587

Open

Description

@FA85

Summary

On Windows, the desktop app no longer shows existing ChatGPT Projects in the dedicated Projects section, even though the projects still exist server-side and remain visible through other surfaces.

Separately, codex-windows-sandbox-service.exe continues running after the desktop app is fully exited and blocks Windows app maintenance operations such as Update, Repair, and Reset until it is manually terminated.

This appears to have started after the PC crashed or was powered off unexpectedly.

Related / possibly overlapping issue: #39121

Environment

  • Windows desktop app
  • Reproduced with both the current and previous app version
  • ChatGPT web app shows the affected projects correctly
  • Exact app build not recorded yet

Issue 1: Projects missing from Windows desktop app

Existing ChatGPT projects are no longer shown in the Projects section of the Windows desktop app.

The projects themselves have not been deleted:

  • On chatgpt.com, all affected projects are still visible under Projects.
  • On chatgpt.com, they are also visible under Pinned.
  • In the Windows app, the same projects are still accessible through ChatGPT → Pinned.
  • Chats that belong to those projects still display their project assignment.
  • Search results still show the project assignment of affected chats.
  • Only the actual Projects list in the Windows desktop app is missing/empty.

Expected behavior

The Windows desktop app should show the same existing project structure that is visible on chatgpt.com.

Actual behavior

The project data still exists and can be referenced through chats and Pinned items, but the dedicated Projects view in the Windows desktop app does not display the projects.

Troubleshooting already performed

The following did not fix the issue:

  • Updating the desktop app
  • Signing out and signing back in
  • Multiple Windows restarts
  • Uninstalling and reinstalling the desktop app
  • Windows App Repair
  • Windows App Reset
  • Repeating Reset after manually terminating the Codex sandbox service
  • Temporarily moving/resetting %USERPROFILE%\.codex
  • Temporarily moving/resetting %LOCALAPPDATA%\OpenAI\Codex

The web application continues to display the projects correctly throughout these tests.

Issue 2: codex-windows-sandbox-service.exe does not terminate with the app

When the desktop app is fully exited, codex-windows-sandbox-service.exe continues running.

This prevents Windows app-management operations such as:

  • Update
  • Repair
  • Reset

The process/service has to be terminated manually before those operations can complete.

This behavior was reproduced with both the current and previous desktop-app version.

Additional observation

Temporarily moving/resetting the .codex directory causes locally displayed Codex conversation history to disappear until the original .codex data is restored, indicating that at least part of Codex history/state is local.

This appears separate from the missing ChatGPT Projects problem, because the Projects issue persists after reinstall/reset while the same projects remain fully visible on the web.

Summary

There appear to be two potentially related Windows desktop-app issues:

  1. The app stops rendering/indexing existing ChatGPT Projects even though the server-side project structure remains intact and can still be observed through the web app, Pinned items, chat metadata, and search.
  2. The Codex sandbox service survives a complete app exit and blocks app maintenance operations until manually terminated.

No project data appears to have been lost server-side.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Sep 23, 2026
  2. FA85 commented on Sep 23, 2026

    @FA85
    Author

    Recovery update: the underlying local data was intact, and I was able to restore the missing project grouping manually.

    Key findings:

    • state_5.sqlite still contained the historical thread rows and project records.
    • For the affected project, 146 threads shared the historical cwd, but all had project_id = NULL.
    • Most of those 146 were internal guardian/subagent threads; only 7 were normal visible candidates.
    • The global state had projectsMigrated = true but threadAssignmentsMigrated = false.
    • The same 4 normal threads appeared both in pendingThreadAssignmentIds and projectless-thread-ids.
    • Reopening the folder created a duplicate project record rather than restoring the historical project.
    • The legacy -> app-server mapping pointed to that new duplicate instead of the older surviving project record.

    Successful recovery steps:

    1. Fully terminate ChatGPT/Codex processes and codex-windows-sandbox-service.exe.
    2. Back up state_5.sqlite* and .codex-global-state.json.
    3. Reassign the historical threads in state_5.sqlite to the original surviving app-server project ID based on the exact historical cwd.
    4. Change app-server-project-id-by-legacy-project-id-by-host to point the legacy project ID back to the original app-server project ID rather than the duplicate created by "Open folder".
    5. After validating the four pending IDs were exactly the missing normal project chats, set:
      • threadAssignmentsMigrated = true
      • pendingThreadAssignmentIds = []
      • remove those same IDs from projectless-thread-ids
    6. Restarting the app restored the old project and its visible chats.

    A second missing project was also recoverable:

    • its app-server project row and root still existed in SQLite;
    • 35 threads with the matching cwd had project_id = NULL;
    • 5 were visible top-level chat candidates;
    • no legacy project entry remained in the global state.
      Recovery succeeded by assigning the 35 threads to the surviving app-server project, creating a new local legacy project entry, adding it to project-order, and mapping that new legacy ID to the surviving app-server project.

    This strongly suggests the failure is in local project/thread-assignment migration and global-state reconciliation rather than transcript loss. A built-in "Repair/Rebuild project associations" action could likely recover these cases automatically by:

    • normalizing Windows cwd/root paths (including \\?\C:\...);
    • matching orphaned threads to surviving project roots;
    • reconciling duplicate projects created by reopening the same folder;
    • repairing incomplete migration state;
    • backing up state before changes.

    All SQLite integrity checks returned ok after repair.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions