0.148.0-alpha.9: legacy local chats remain absent from sidebar after successful paginated-history migration
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What happened
After upgrading the macOS ChatGPT Desktop bundled Codex CLI to 0.148.0-alpha.9, a set of previously visible, non-archived local chats disappeared from the sidebar.
The rollout files and state database are intact. The affected chats were successfully migrated using the supported command:
codex migrate-rollouts --apply --json --thread <id>
A subsequent read-only check reports already_paginated for every affected chat, but the chats still do not appear in the Desktop sidebar after a full quit/relaunch.
Evidence
codex doctorreports the rollout files and state-DB thread inventory agree, with no missing active rollout rows and no archive mismatches.- All affected chats are non-archived and not pinned.
- The migrated chats are present in the state DB with
history_mode = paginatedand have projected thread-history items. - The Desktop local thread catalog either omits these chats or marks them as
missing_candidate = 1. - The affected legacy records use model-provider value
openai; local chats that remain visible useopenai_http. - In this reproduction, 7 migrated
openaichats are missing from the sidebar. One separate legacy realtime chat was deliberately excluded from migration/testing. - Selecting chronological order and checking Archived chats do not change the result.
Expected behavior
After a successful supported migration, every non-archived local chat should remain discoverable in the Desktop sidebar regardless of its legacy model-provider value.
Actual behavior
The chat content remains readable and migrated, but the Desktop sidebar directory does not include the affected chats.
Reproduction
- Have existing non-archived local chats created with the legacy
openaimodel-provider metadata. - Upgrade to the bundled Codex CLI
0.148.0-alpha.9. - Confirm the chats are absent from the sidebar even with chronological order selected and no archive filter.
- Run
codex migrate-rollouts --apply --json --thread <id>for each affected chat. - Verify the command subsequently returns
already_paginated. - Fully quit and relaunch the Desktop app.
- Observe that the chats remain absent from the sidebar.
Requested fix
Please make the local sidebar catalog/reconciliation include migrated legacy openai records, or provide a supported, non-destructive command to rebuild/reconcile that catalog. The current public troubleshooting guidance covers chronological and archived filters but does not provide a recovery path for this state.
Environment
- macOS 26.5.2 (Apple Silicon)
- ChatGPT Desktop bundled Codex CLI
0.148.0-alpha.9 - Local ChatGPT-authenticated setup
No session transcripts, session IDs, chat titles, paths, or logs are included in this report.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the codex migrate-rollouts --apply --json --thread <id> entry point and the Desktop local thread catalog/reconciliation described in the report. Reproduce with legacy openai chats and verify already_paginated, then confirm that migrated, non-archived chats are included in the sidebar after relaunch or that a supported non-destructive reconciliation command restores them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100