Skip to content

macOS: incomplete project sidebar persists after restart; 189 legacy chat assignments remain pending #55455

Open

Description

@PandaKingK

Summary

The macOS desktop app shows only a subset of active local chats under projects backed by ChatGPT projects. Missing chats remain readable and can be opened by ID. Opening every chat does not make the complete project inventory remain visible.

Environment

  • App: ChatGPT desktop with local Codex/Work chats
  • Version: 26.1013.40934, build 20770
  • Build commit from app logs: af80d4d7c7e0e5dc58b4a67945df0188de153061
  • macOS 27.0.1 (26A434)
  • Observed repeatedly October 14–20, 2026

Expected / actual behavior

Expected: all active, explicitly assigned root chats are available under their existing projects, and existing pins remain stable.

Actual: one project has 23 active explicitly assigned local chats, but a screenshot shows only eight under that project. Another project has no visible chats although active chats exist. A screenshot of a longer sidebar segment shows only 36 chat rows across multiple projects. These are observations of the visible sidebar, not a claim that the entire app inventory contains only 36 chats.

Read-only evidence after full app restart

Legacy persisted state reports:

{
  "projectsMigrated": true,
  "threadAssignmentsMigrated": false,
  "pendingThreadAssignmentIds_count": 189
}

The count was 188 before later troubleshooting and 189 after restart. This flag is a diagnostic clue, not proof of the root cause.

Read-only SQLite inventory query:

SELECT COUNT(*), COUNT(project_id)
FROM threads
WHERE archived = 0 AND agent_path IS NULL AND source = 'vscode';
-- 246, 0

Explicit project memberships still exist in legacy thread-project-assignments. The fact that project_id is NULL may reflect the app's legacy storage path; please investigate whether reconciliation is stalled.

A separate inventory of explicit memberships found 171 active assigned local root chats: 150 belonged to currently available projects and 21 to five unavailable legacy projects. The unavailable-project chats were excluded from attempted recovery.

Steps / attempted recovery

  1. Start the desktop app with existing ChatGPT-backed projects and local chat history.
  2. Expand projects: only a subset of the known active chats appears.
  3. Read missing chats by ID: succeeds.
  4. Navigate to missing chats by ID: succeeds.
  5. Sequentially navigate to all 150 eligible chats: tool responses report navigated=true, but later screenshots still show incomplete project lists.
  6. Fully quit and restart the app: issue persists.
  7. Reapply existing memberships through the app's move_thread_to_project tool: no durable sidebar repair.

A previous bulk membership-reconfirmation run coincided with three previously pinned chats becoming unpinned. Those pins were restored. Causality is not established. Later navigation-only runs preserved the pin list.

Additional membership inconsistency

A single-chat test removed membership and then re-added the chat to its original ChatGPT-backed project via the supported move_thread_to_project tool. Instead of just restoring the original membership, the app registered a second local project of the same name/path, with chatGptBacking pointing to the original ChatGPT project. The legacy assignment then pointed to this new local UUID.

For transparency: after that test, a narrowly scoped manual rollback of the test assignment/local-project entry in .codex-global-state.json was attempted with a backup. After restarting, the new local-project UUID appeared in the assignment again. No SQLite database was modified. The historical missing-sidebar problem predates this test and rollback.

UI/documentation mismatch

Official troubleshooting suggests the Chats filter > Chronological. In the affected project-grouped UI, the user-provided screenshot has Pinned and Projects sections and no such visible Chats filter. The exposed sidebar preferences already report project grouping and updated_at chat sorting.

Impact / requested investigation

Users cannot reliably find their existing project history, and successful navigation or membership-tool responses cannot be used as confirmation that sidebar visibility was repaired.

Please investigate:

  • pending legacy membership migration/reconciliation;
  • whether project lists are populated only from a bounded global recent-chat window;
  • duplicate local-project creation when reassigning a local chat to its original ChatGPT-backed project;
  • preservation of pinned state during reconciliation.

No raw chat contents, project names, account identifiers, local personal paths, or full logs are included in this report. Related symptoms: #18640.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions