openai / openai/codex

Frustrating Bug

Open
#43,107 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Codex Windows build 26.901.5280.0 has a reproducible account-change history and sidebar-state bug. Since maybe 1 month, changing the account causes the newest 1–3 days of chats to disappear while older chats remain visible. Local Codex session JSONL files and state_5.sqlite still contain recent threads, so the issue appears to be a history projection/reconciliation problem rather than deletion.
The same issue affects sidebar custom sections. I had a UO People section containing 4 projects and an AlmaBetter section containing 6 projects. These 10 project assignments were restored successfully, but after another account change the active sidebar state showed both sections empty. Older populated section records still exist locally, while the new active account-state record contains the same sections with zero items.
Suspected areas: authentication-context change, paginated thread history projection, local/server reconciliation, and account-keyed custom sidebar state. Please investigate why recent paginated threads and sidebar project memberships are dropped or replaced after account changes.

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

Reproduce the account change with the local Codex session JSONL files and state_5.sqlite as evidence, then inspect the authentication-context, paginated thread history, reconciliation, and account-keyed sidebar state paths. Done means recent chats remain visible and restored custom sidebar sections retain their project memberships after an account change.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sqlite
Domain
authentication, cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.