codex - 💡(How to fix) Fix Codex Desktop sidebar project groups only show threads from the first recent page; expanding a project does not load remaining project threads

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

  • Active session data still existed in ~/.codex/state_5.sqlite and ~/.codex/sessions.
  • Direct app-server pagination returned 183 threads across 13 workspace roots.
  • The sidebar initially appeared to show only about 5-6 threads per project.
  • Project "Show more" only expanded already-loaded thread keys; it did not request additional pages.

Root Cause

I searched existing issues first. There are related sidebar/thread-list issues, but I did not find one specifically describing project groups being truncated because only the first recent page is loaded and project-level "Show more" does not trigger additional pagination.

RAW_BUFFERClick to expand / collapse

Environment

  • Codex Desktop macOS app: 26.513.31313 (2867)
  • Bundled codex: codex-cli 0.131.0-alpha.9
  • macOS: 26.4.1
  • Arch: arm64

Problem

The local sessions were not lost, but the Codex Desktop sidebar only displayed a small subset of threads under each project. Expanding a project did not load the rest of that project's sessions.

This made it look like historical sessions had disappeared, even though they were still present locally and could be returned by the app server with pagination.

Observed behavior

  • Active session data still existed in ~/.codex/state_5.sqlite and ~/.codex/sessions.
  • Direct app-server pagination returned 183 threads across 13 workspace roots.
  • The sidebar initially appeared to show only about 5-6 threads per project.
  • Project "Show more" only expanded already-loaded thread keys; it did not request additional pages.

Expected behavior

When a project is expanded, Codex Desktop should either:

  • load all remaining threads for that project, or
  • continue paginating recent threads until the expanded project has all available sessions, or
  • clearly expose a global load-more mechanism before project-level truncation.

Evidence

  • thread/list with pagination returned pages [100, 83], total 183 unique threads.
  • Workspace counts included:
    • /Users/laolin/Desktop/linyn-kf: 41
    • /Users/laolin/Desktop/linyn-kf-qkl-refactor: 54
    • /Users/laolin/Desktop: 41
    • plus 10 other roots
  • The issue appears related to the desktop sidebar loading only the first recent conversation page, while project expand/collapse operates only on the loaded subset.

Impact

Users may believe historical Codex sessions were lost, even though the session data is still present locally.

Notes

I searched existing issues first. There are related sidebar/thread-list issues, but I did not find one specifically describing project groups being truncated because only the first recent page is loaded and project-level "Show more" does not trigger additional pagination.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

When a project is expanded, Codex Desktop should either:

  • load all remaining threads for that project, or
  • continue paginating recent threads until the expanded project has all available sessions, or
  • clearly expose a global load-more mechanism before project-level truncation.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex Desktop sidebar project groups only show threads from the first recent page; expanding a project does not load remaining project threads