Repository navigation
Bulk project archive only processes loaded tasks; stale entries fail with rollout_not_found #41584
Description
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT/Codex Desktop 26.825.41651 (build 7345)
What subscription do you have?
ChatGPT Pro ($200/month)
What platform is your computer?
Darwin 25.6.0 arm64 arm (macOS 26.6.2, build 25G83)
What issue are you seeing?
In a local project with more than 50 user-visible tasks, the project-level Archive all / Archive chats action operated on an incomplete, currently loaded inventory.
Initially the project list showed only 6 tasks. After using the bulk archive action, those 6 disappeared, but the same 6 later returned in the sidebar. The project still contained many more tasks behind Show more.
The behavior was captured during a performance trace:
- The bulk action again showed only the initial subset and the UI displayed “Archived 6 tasks.”
- I then clicked Show more five times.
- The next confirmation displayed “Archive 51 chats?”
- After confirming, the project displayed “No chats.”
Local diagnostic logs for this incident show that bulk archive fans out individual thread/archive requests:
- 98 archive responses total
- 92 successful responses
- 6 failed responses
- before trace recording: 41/41 successful
- during the trace window: 51 successful plus 6 failures
- each failure returned JSON-RPC
-32600withno rollout found for thread id/rollout_not_found
The six failed IDs were not present in the local thread state database. This suggests two related integrity problems, although the exact internal cause is not proved:
- bulk archive appears to use the currently loaded/sidebar inventory instead of enumerating all eligible project tasks; and
- stale sidebar entries can be included even though their backing rollout/thread record no longer exists.
The UI did not clearly report a partial result or the six failures.
Verified in-product Feedback ID: 01a04ff9-44be-7e13-86c1-d9caba7d9601
Verified performance trace ID: no-active-thread-01a04ff7-d3bb-7e83-9bf5-590803dc4491
What steps can reproduce the bug?
- Use ChatGPT/Codex Desktop with a local project containing more than 50 user-visible tasks.
- Open the project while only the initial subset is loaded in the sidebar. In this incident, 6 tasks were visible.
- Use the project menu’s Archive all / Archive chats action and confirm.
- Observe that only the visible/loaded subset is archived and that archived rows may reappear.
- Click Show more repeatedly until the full project inventory is loaded.
- Run the bulk archive action again.
- Observe that the confirmation count is much larger (51 in this incident) and that individual archive requests may fail for stale entries with
rollout_not_found.
The final state was reached only after explicitly loading more pages and archiving again. A clean deterministic reproduction after that state was not attempted to avoid disturbing additional task history.
What is the expected behavior?
- A project-level bulk archive action should enumerate all eligible tasks for that project, independent of how many sidebar pages are currently loaded.
- The confirmation count should represent the complete eligible project inventory.
- Successfully archived tasks should not reappear in the active sidebar.
- Stale/orphaned entries should either be removed automatically or handled by a working cleanup path.
- If any archive request fails, the UI should report an exact partial-result summary, including succeeded, failed, and skipped counts, rather than displaying an unconditional success message.
- Bulk archive should be idempotent and leave the active and archived views consistent.
Additional information
This is related to, but not an exact duplicate of:
- Codex Desktop task inventory stops at 50 and agents fallback requires standalone install #41249 — global task inventory stops at 50
- [macOS][Desktop][multi-host] Sidebar grouping resets and archived tasks resurrect after restart #41214 — archived tasks resurrect after restart in a multi-host setup
- Codex desktop is showing stale/orphaned thread entries that cannot be reopened or archived. #14162 — stale/orphaned entries fail with
no rollout found for thread id - macOS Desktop sidebar hides older local conversations despite existing thread state #20419 — older local conversations are hidden outside the recent window
The distinguishing behavior here is a single local project where bulk archive immediately used the loaded subset (6), a later fully loaded confirmation showed 51, and the same operation included six stale entries that failed with rollout_not_found.
No raw logs, screenshots, local paths, project names, account identifiers, or private task contents are attached. The performance trace and in-product feedback were uploaded through OpenAI’s supported diagnostic channels.
Activity
github-actions commentedon Aug 30, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
omarpinarecords commentedon Aug 30, 2026
no hyperlink showed @github-actions
omarpinarecords commentedon Aug 31, 2026
Thanks. I reviewed #40432. It is related, but not a duplicate: #40432 concerned four individually archive-refused CLI/integration-held threads that became archiveable after the broker sessions exited. This issue concerns project-level bulk archive enumerating only the loaded subset (6 versus 51) and including stale rows whose individual
thread/archivecalls returnedrollout_not_found, while the UI reported aggregate success. The close criteria also differ: complete project enumeration, exact partial-result reporting, and stale-row reconciliation here, versus retained-thread lifecycle/error messaging in #40432. Please keep this issue open separately.