Repository navigation
Codex Desktop should let users configure or fully page the local session sidebar limit #20612
constansino
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Codex Desktop local session sidebar can show empty project folders when many sessions exist
I ran into a Codex Desktop issue on Windows where older project folders in the sidebar showed no conversations even though the sessions still existed on disk.
What I observed
On a machine with hundreds of local Codex sessions:
.codex/sessions.codex.exe app-servercalls tothread/listcould return the missing conversations when using pagination.This made it look like sessions were deleted, but they were not. The problem was that the UI had not loaded enough recent threads to populate those project groups.
Local workaround
I made a Windows-only local workaround that keeps the official Codex app untouched:
resources/app.asar.nextCursorfor multiple pages instead of relying on a small first page.CODEX_ELECTRON_USER_DATA_PATH.Codex Patchedso it can coexist with the officialCodexwindow without confusion.Project:
https://github.com/constansino/codex-desktop-session-limit-patch
This does not modify
.codex/state_5.sqlite, does not reorderupdated_at, and does not delete or rewrite rollout files. It only changes a copied frontend bundle.Suggested upstream fix
It would be helpful if Codex Desktop allowed users to configure the local session/sidebar history limit, or if the sidebar automatically paginated far enough to populate project folders reliably.
At minimum, the UI should distinguish:
For users with large local histories, a configurable cap such as 50 / 100 / 500 / 1000 / all would make the behavior predictable and remove the need for local patching.
All reactions