Skip to content

[Chat][All platforms] "Archive all chats" leaves stale Recents entries that cannot be archived or deleted #41725

Open

Description

@TheLevic

What version of the Codex App are you using (From "About Codex" dialog)?

ChatGPT unified desktop app 26.825.51511

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Reproduced across multiple systems:

  • macOS, Apple Silicon
  • Windows
  • Linux

The same account shows the same stale Recents entries on each desktop installation.

What issue are you seeing?

After using "Archive all chats" in ChatGPT, the conversations are correctly removed from Recents on chatgpt.com, but they remain visible in the Recents sidebar of the unified ChatGPT desktop app.

The stale entries appear on every desktop installation I have tested, including macOS, Windows, and Linux.

Attempting to archive one of these conversations from the desktop app fails with:

"Failed to archive conversation"

Attempting to delete one also fails.

I completely reinstalled the desktop application, but after signing back into the same account, the stale Recents entries returned.

The web version remains correct and does not show these conversations in Recents.

Because this reproduces across multiple operating systems and after reinstalling the desktop app, it may involve remote Recents synchronization rather than a local cache issue.

What steps can reproduce the bug?

  1. Have multiple normal ChatGPT conversations.
  2. On chatgpt.com, use Settings > Data Controls > Archive all chats.
  3. Confirm the conversations disappear from Recents on the web.
  4. Open the unified ChatGPT desktop app.
  5. Observe that the archived conversations still appear under Recents.
  6. Attempt to archive one of the stale entries.
  7. The app displays "Failed to archive conversation."
  8. Attempt to delete the same entry.
  9. Delete also fails.
  10. Sign into the same account on another desktop installation.
  11. The same stale Recents entries appear there as well.

Reproduced on macOS, Windows, and Linux.

Reinstalling the desktop app does not resolve the issue.

What is the expected behavior?

After "Archive all chats" succeeds, archived conversations should disappear from Recents on every ChatGPT client.

The desktop Recents list should synchronize with the conversation state used by chatgpt.com.

Stale conversation entries should not continue appearing across newly installed desktop clients.

Additional information

This appears related to existing reports involving stale ChatGPT Desktop Recents entries:

My case differs in two important ways:

  1. The conversations were archived using "Archive all chats", rather than deleted.
  2. I can reproduce the same stale Recents state across macOS, Windows, and Linux using the same account.

The issue persists after completely reinstalling the desktop application.

Activity

  1. added
    app
    on Aug 30, 2026
  2. added
    bug
    session
    on Aug 30, 2026
  3. changed the title [-][Chat][All platforms] Archive All leaves stale Recents entries that cannot be archived or deleted[/-] [+][Chat][All platforms] "Archive all chats" leaves stale Recents entries that cannot be archived or deleted[/+] on Aug 30, 2026
  4. ady220104-spec commented on Sep 1, 2026

    @ady220104-spec

    Windows + ChatGPT Work reproduction on a newer unified desktop build.

    Environment

    • Windows NT 10.0.26200 x64
    • Microsoft Store package: OpenAI.Codex_26.825.6671.0_x64__2p2nqsd0c76g0
    • App version: 26.825.6671.0
    • Surface: unified ChatGPT desktop app, switching from Chat to Work

    Observed behavior

    • The Work sidebar can display many stale or duplicated branch-style rows.
    • Some affected rows initially render an empty/disabled conversation surface.
    • Archive or Delete reports an error, while the row remains visible.
    • One captured example showed three identical branch-style rows for the same redacted title. This is not limited to one title; the user reports many affected title families.
    • Settings > Data Controls > Archived chats does not provide a reliable cleanup path for these stale sidebar rows.

    Read-only reconciliation audit

    • Fully paginating the Work sidebar produced 181 unique conversation links / 181 unique IDs.
    • 177/181 were successfully read back as real ChatGPT conversations.
    • The remaining 4 reads returned HTTP 429 / “Too many requests”; they are therefore not verified as missing or deleted.
    • Settings > Data Controls listed 30 distinct archived conversations.
    • The three duplicated branch-style rows from the captured UI were absent from both canonical inventories and disappeared only after forcing a full Data Controls/sidebar reload.
    • The underlying parent conversation remained readable.
    • Two other branch-prefixed conversations and two same-title conversations were sampled; all were distinct, valid, and readable. Therefore, title similarity alone cannot safely identify stale rows.

    This points to a Recents / branch-index reconciliation defect, not ordinary duplicate user chats. The client can temporarily render stale projected rows that do not correspond cleanly to the current canonical conversation/archived inventories. A forced refresh may hide them temporarily, but users have no durable, supported cleanup action and cannot safely distinguish stale rows from real conversations.

    Expected behavior

    1. One canonical sidebar row per conversation or branch ID.
    2. Recents should reconcile automatically against current conversation and archive state.
    3. If Open/Archive/Delete encounters a terminal missing, deleted, or invalid branch record, the client should remove the stale Recents projection (or treat cleanup as idempotent success) instead of leaving an undeletable row.
    4. Archive/Delete errors should expose an actionable status rather than a generic failure.
    5. Provide an explicit Refresh/Rebuild sidebar index action that does not delete real conversations.

    Privacy
    No conversation IDs, titles, contents, account identifiers, email addresses, local paths, screenshots, or raw logs are included in this public comment. Exact evidence can be provided privately to OpenAI if requested.

    This Windows Work-mode evidence appears to be the same symptom family as #41602 and #41399, while adding branch-row duplication and canonical-inventory comparison on build 26.825.6671.0.

  5. derrabe commented on Sep 4, 2026

    @derrabe

    Same here on macOS.

    Archive all chats on the web cleared Recents on chatgpt.com, ChatGPT Classic for Mac, and iOS. Those conversations show up under Settings → Data controls → Archived chats and still open from there.

    The unified Mac app (Chat / Work) still shows the full Recents list. The rows open normally — not 404s. Resetting the unified app UI cache (Application Support / Caches / HTTPStorages / Logs / Preferences for com.openai.codex) did not help; the same Recents list came back after sign-in. ~/.codex was left in place.

  6. TesiLin commented on Sep 9, 2026

    @TesiLin

    Same here on windows with app version 26.903.61454

  7. Nz2Tap commented on Sep 11, 2026

    @Nz2Tap

    Additional reproducible macOS ↔ Windows evidence from 2026-09-11.

    Environment:

    • Unified ChatGPT desktop app on macOS: 26.903.71938 (build 8576)
    • macOS 27.0 (26A428), Apple Silicon
    • The same account is also used on a Windows desktop client
    • Bundled Codex CLI: 0.153.4

    Reproduction:

    1. Delete several ChatGPT conversations on desktop A.
    2. Open or refresh the unified desktop app on desktop B.
    3. The deleted conversations remain in Recents on B.
    4. Opening them fails; Archive and Delete also fail.
    5. Sign out and back in on B. The stale rows remain.

    This has recurred multiple times, including 2026-09-06 and 2026-09-11, with different deleted conversations.

    Sanitized local evidence from the latest incident:

    • Six stale conversation rows remained in the desktop local_thread_catalog.
    • Every one of the six failed canonical readback.
    • App logs recorded terminal server responses such as HTTP 404 with conversation_deleted / conversation_inaccessible.
    • Retrying Delete on a stale row also returned HTTP 404 conversation_deleted.
    • The desktop client kept the rows instead of treating the terminal response as successful local reconciliation.
    • Manually backing up the catalog, deleting only those six stale rows, and incrementing the catalog revision immediately restored the correct Recents list. Three valid conversations remained untouched and readable.

    This suggests the client receives a terminal tombstone signal but does not remove the corresponding local Recents projection. Delete and Archive then keep retrying against a conversation that no longer exists.

    Expected behavior:

    • A server-side conversation_deleted response should remove the matching local catalog/Recents row.
    • Delete should be idempotent: deleting an already deleted conversation should count as local cleanup success.
    • Full reconciliation should remove local rows absent from the canonical active and archived inventories.
    • The same reconciliation should run across desktop clients after a conversation is deleted on another device.

    No conversation titles, contents, full IDs, account identifiers, email addresses, local paths, screenshots, or raw logs are included here. Exact evidence can be provided privately to OpenAI if requested.

  8. Ray8mu34 commented on Oct 19, 2026

    @Ray8mu34

    The archived-chat/Recents behavior described here and in #48688 is still occurring in the ChatGPT Windows desktop app. Although #48688 was closed as fixed, the archive-related symptom persists on Windows:

    • Chats already archived on ChatGPT Web also appear correctly in the desktop app's Archived chats list.
    • Those same chats still appear in the desktop sidebar's Recents list.
    • Selecting Archive again in the desktop app displays a success notification, even though the chats were already archived.

    Expected: archived chats should be excluded from Recents, consistent with their archived status.

    This report concerns the archived-chat behavior only; it does not confirm whether the separate Linux loading/high-CPU issue in #48688 is resolved.

  9. bizu314926-collab commented on Oct 21, 2026

    @bizu314926-collab

    Independent Windows evidence: archived ChatGPT cloud conversations reappear in Recents

    Adding a narrowly scoped investigation to this existing issue rather than opening another report. It matches the archived-cloud-chat symptom described in the recent Windows follow-up above. This concerns ordinary ChatGPT cloud conversations, not local Codex threads. The exact trigger in the two observed incidents remains unknown; the code-level mechanism below was reproduced offline.

    Summary

    Two conversations reported as already archived appeared again in the Windows desktop Recents sidebar. The archived listing also retained both conversations. Investigation of the installed build identified a path in which a new metadata refresh can write an explicitly archived conversation back into the active sidebar index, plus gaps in local-removal acknowledgement and subsequent reconciliation.

    Environment

    • Windows 11; reported OS build: Windows NT 10.0.26300; x64 client.
    • Microsoft Store package: OpenAI.Codex 26.1016.6573.0; application display name: ChatGPT.
    • Desktop frontend: 26.1016.51333, build 21161, production channel.
    • Running app-server: 0.163.0-alpha.11, independently confirmed in the existing startup log.
    • Investigation date: 2026-10-21.
    • Offline test runtime: Node.js 24.19.0, in-memory SQLite. No live service calls or production database writes were used in the reproduction.
    • Subscription/account information is omitted because it was not needed to establish the local code behavior.

    These are separate version fields, not evidence of mixed installations.

    Expected behavior

    A successfully archived cloud conversation should be excluded from Recents and the active sidebar, while remaining available in Archived chats, unless the user subsequently unarchives it. Metadata refreshes should preserve that invariant.

    Actual behavior and observed evidence

    The evidence sources have different scopes:

    1. Direct UI evidence: a user-provided screenshot shows both affected conversations in Recents after the user reported archiving them. The screenshot is withheld because it contains unrelated private titles.
    2. Application listing evidence: the active-list and archived-list tools returned the same two conversation identifiers. Later active-list results omitted them while the archived listing retained them. Identifiers and titles are intentionally not published.
    3. Cache limitation: source inspection shows the active-list tool has an independent approximately one-minute cache. Its results are not a live sidebar capture and do not establish simultaneous contradictory server responses.
    4. Local index evidence: every saved local index snapshot was taken after the target rows were already absent. There is no captured production row-present → row-removed transition, and no proof of what cleared the discrepancy.
    5. Reconciliation metadata: later read-only snapshots showed normal incremental metadata advancing while the recorded full-reconciliation time remained October 2. This supports investigating reconciliation policy; it does not prove a scheduler stall or that full reconciliation cleared these incidents.

    The observed mismatch is therefore archived conversations appearing active in the UI/listing surfaces. The precise archive response, notification, refresh, index-write and renderer-update sequence was not captured.

    Steps to reproduce

    Observed user sequence, not a deterministic UI recipe:

    1. Previously archive ordinary ChatGPT cloud conversations.
    2. Continue normal use of the Windows desktop app.
    3. Observe the previously archived conversations in Recents; the archived listing still includes them.

    The time, action or notification that caused their return is unknown. This investigation did not repeat archive/unarchive operations on real chats, restart the app to force a reproduction, or exercise the original report's bulk "Archive all chats" sequence. It adds evidence for the same visible invariant violation without claiming identical triggers.

    Deterministic isolated reproduction:

    1. Initialize an in-memory active-conversation index with a synthetic record.
    2. Execute the installed coordinator's removal logic.
    3. Deliver a synthetic archive-history notification to the installed handler.
    4. Supply valid synthetic single-conversation metadata with an explicit archived flag.
    5. Execute the actual notification/refresh, mapping and index SQL paths, then inspect visibility.

    Result: a newly initiated refresh can recreate an active row despite the supplied archived state. A later successful removal can remove it again. This is a controlled code-path reproduction, not a replay of either historical incident.

    Isolated reproduction and independent review

    The original 28 checks were rerun in a separate review directory. Twelve additional checks brought the final result to 40/40 passing assertions. Passing means the specified behavior—including defective behavior and protective counterexamples—was observed; it does not mean 40 live incidents or a fixed client.

    • Eleven selected function/SQL excerpts were mechanically checked against the currently installed resources.
    • The actual store, coordinator, mapper and tested notification-handler branches executed against real in-memory SQLite tables, rather than a handwritten equivalent map.
    • Additional checks used the installed validation library and actual history-source functions. An explicit archived flag survived real validation and still reached the defective mapping/write path.
    • Three original checks exercised a proposed guard in an isolated modified mapper; they are patch-candidate tests, not tests of an already-fixed installation.
    • Network responses, identity authorization and UI/cache effects were adapters. Real Electron IPC, native production database binding, rendered pixels and live server behavior were not exercised.

    Selected outcomes:

    Condition Isolated result
    Removal, followed by a newly requested refresh with archived metadata Active row can be reinserted
    Already pending refresh, then removal, then its late response Existing cancellation rejects the old response
    Local removal notification fails, is delayed, or is skipped Server-archive success can be reported without confirmed local removal
    Completed incremental scan omits a stale record Stale record remains
    Completed full scan covers the missing record First scan hides it; a later full scan can physically remove it
    New observation arrives during full reconciliation Sequence protection can retain it until a later reconciliation
    Full pagination fails before completion Existing entries are correctly not pruned based on incomplete coverage

    Probable technical mechanism

    Static analysis plus conditional execution supports this sequence:

    archive-history notification
      -> generic metadata refresh
      -> path that permits refreshing an absent index entry
      -> metadata with archived=true
      -> mapper creates an active entry without applying archive state
      -> active index write
    

    The notification bridge treats the generic refresh like an unarchive-style notification. A parallel archive verifier can remove UI/cache state without ensuring removal from the index.

    Separately, server archive completion does not await confirmed local index removal; a rejected local notification can be swallowed, and an unavailable local host can skip it. These outcomes were injected and reproduced offline; actual notification loss in the two incidents is unproven.

    Incremental completion does not perform the missing-entry cleanup of a completed full scan. The inspected full-reconciliation predicate checks incomplete initialization or an absent previous full timestamp, without an elapsed-age condition. That combination can retain missed removals even while incremental synchronization continues.

    These findings establish a possible failure mechanism in this build, not the unique cause of the observed incidents.

    Counterevidence and limitations

    • Pending-refresh cancellation and active-scan removal markers do work for the tested event orders.
    • Aborted notifications, a different current account, temporary chats, invalid timestamps and the configured history-age limit exclude records in the tested conditions.
    • A post-removal turn-completed notification alone does not directly fetch the absent record.
    • No live evidence proves that the server returned stale metadata. Stale active responses were injected only as counterexamples.
    • A strict archived-state guard prevents the primary isolated case but does not resolve all stale-response or missing-status cases.
    • Actual event ordering, failure frequency and the reason the visible/listing discrepancy later cleared remain unknown.

    Installation integrity

    A separate bounded audit found:

    • The Store package's signature and local certificate trust chain validated; the signed digest matched its file block map.
    • 3,670/3,670 package files matched that same signed package's block hashes.
    • 7/7 checked runtime copies matched their corresponding package files.
    • The sidebar index and local Codex state database passed full SQLite integrity checks on stable in-memory snapshots. Six checked databases passed; one larger history database was skipped for resource limits, so overall database coverage is incomplete.

    This substantially reduces the likelihood of damaged or mixed local installation files. It does not prove that all runtime state is correct. No additional online certificate-revocation check was performed for the package-signature chain.

    Suggested fixes and regression coverage

    1. Apply verified archive state before creating/updating an active index entry. Treat missing state and network errors as unknown, not as deletion.
    2. Separate generic refresh from semantic unarchive; order updates so late notifications cannot override a genuinely newer user action.
    3. Make local removal completion observable and use bounded, idempotent reconciliation/retry while preserving server-archive success separately.
    4. Add targeted archive-state reconciliation and budgeted periodic/overdue full reconciliation. Do not equate absence from an incremental or incomplete page with deletion.
    5. Cover the event orders above, missed/delayed notifications, valid unarchive, identity changes, and incomplete pagination in production integration tests.

    Related issues and fix-status caution

    Please identify the canonical engineering tracker and the desktop build in which the cloud-archive path should be retested. Public issue/PR checks did not establish a released fix for this exact path.

    Privacy and materials

    This comment publishes only reviewed prose, aggregate results and explanatory pseudocode. No conversation content, titles, identifiers, account details, credentials, user-specific paths, raw logs, databases, screenshots, extracted client source, patches or resource archives are attached. The offline evidence is retained locally; any narrowly scoped additional material should go through a private OpenAI channel and a separate disclosure review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linuxappbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions