openai / openai/codex

0.148.0-alpha.9: legacy local chats remain absent from sidebar after successful paginated-history migration

Open
#38,928 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session
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 doctor reports 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 = paginated and 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 use openai_http.
  • In this reproduction, 7 migrated openai chats 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
  1. Have existing non-archived local chats created with the legacy openai model-provider metadata.
  2. Upgrade to the bundled Codex CLI 0.148.0-alpha.9.
  3. Confirm the chats are absent from the sidebar even with chronological order selected and no archive filter.
  4. Run codex migrate-rollouts --apply --json --thread <id> for each affected chat.
  5. Verify the command subsequently returns already_paginated.
  6. Fully quit and relaunch the Desktop app.
  7. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.