You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MacOS desktop app keeps undeletable "ghost" conversations in the sidebar after deletion #41987
Description
After deleting several conversations, their titles remain stuck in the desktop app's sidebar "Recent" list. These ghost entries:
Show "Unable to load this ChatGPT conversation" when clicked;
Fail with "Chat could not be deleted" when using right-click → Delete chat;
Fail with "Conversation could not be archived" when using Archive;
Redirect to the chatgpt.com homepage when opened via "Open on chatgpt.com" — the conversation no longer exists server-side (e.g. conversation ID: 6a915541-a670-83ea-a3a1-baea4345992d);
Do NOT appear in the web sidebar, so the issue is specific to the desktop app's conversation list index.
Troubleshooting already attempted (none worked)
Fully quitting and relaunching the app;
Deleting local app data and caches (~/Library/Application Support/com.openai.codex, ~/Library/Caches/com.openai.codex) — the list was restored identically after relaunch;
Signing out and signing back in — ghost entries persist and delete/archive still fail;
Confirmed the app is on the latest version.
Conclusion
The conversation objects were deleted server-side, but the desktop app's conversation list index retains stale references. Delete/archive requests fail because the target no longer exists, so the list cannot self-heal. The state is account-bound (server-side), independent of device or local data.
Request
Please purge the stale entries from my account's desktop conversation list, or fix the sync bug where deleting a non-existent conversation leaves a permanent sidebar entry.
Reacted by 0x1337ff, Andrii Halabuda, Derek Sutton and Jan Brázda
I can reproduce the same issue in the ChatGPT macOS desktop app, build 26.831.21537.
Two ordinary ChatGPT conversations remain as undeletable sidebar entries:
Conversation ID 6a9864b1-7cbc-83e8-a8f0-5613633c0293
Conversation ID 6a9a1de0-75cc-83e9-a1c6-5559519df56d
Observed behavior:
Clicking either entry shows that the conversation cannot be loaded.
The desktop logs return HTTP 404 with conversation_deleted for both IDs.
One ID also briefly returned conversation_inaccessible before subsequent requests returned conversation_deleted.
A delete request also returns 404 because the server already considers the conversation deleted.
The entries are normal ChatGPT conversations (source_kind=chatgpt), not Codex threads, so the Codex archive operation cannot remove them.
Mobile and web clients display the expected cloud state.
Fully quitting/relaunching and signing out/in did not remove the stale desktop entries.
No conversation contents or local filesystem paths are included here. This appears to be the same stale desktop conversation-index behavior described in this issue.
I’m seeing the same issue on macOS, specifically with chats deleted from the ChatGPT iPhone app.
The deletion succeeds on iPhone, but the deleted conversation remains visible in the Mac app sidebar. Clicking the orphaned entry produces:
“Could not load this ChatGPT conversation”
Troubleshooting already performed:
Completely removed and reinstalled the ChatGPT Mac app. This temporarily cleared the orphaned entries, but the problem returned after deleting additional chats on iPhone.
Used “Log out of all sessions” and terminated 16 active sessions, then signed back in. The problem still persists.
This appears consistent with the conversation being deleted successfully on the server while the macOS conversation-list/Recents state is not being invalidated or synchronized correctly.
Related in-product feedback IDs:
no-active-thread-01a0716c-7169-71e3-ac8c-edf993ee177b
no-active-thread-01a07178-f17f-7af3-9533-687dd37ac2a5
I also have screenshots showing the stale sidebar entry and the “Could not load this ChatGPT conversation” error.
Independent reproduction on the current macOS desktop build.
Environment
ChatGPT Desktop: 26.901.20858 (build 7658)
macOS: 26.6.2 (build 25G83)
Apple Silicon, arm64
Observed behavior
One server-deleted, projectless ChatGPT conversation remains visible in the macOS Desktop sidebar as a ghost entry.
Selecting it triggers GET /conversation/<id> and returns HTTP 404, errorCode=conversation_deleted, can_retry=false.
Trying Delete triggers DELETE /conversation/id/<id> and returns the same terminal 404 conversation_deleted; Desktop shows the generic “Failed to delete chat” toast.
The matching GET and DELETE events were captured at 2026-09-05 21:53 KST.
Fully quitting and reopening the app, then signing out and signing back in, did not remove the entry.
Read-only local confirmation
A read-only inspection found exactly one matching row in:
database: ~/.codex/sqlite/codex-dev.db
table: local_thread_catalog
source_kind = chatgpt
missing_candidate = 0
project state: projectless
PRAGMA integrity_check returned ok. The target is absent from the current authoritative thread inventory and is not a local Codex rollout/thread. No database or local file was modified during diagnosis.
The conversation identifier is intentionally redacted here as 6a97ba3b-…-9d43; the full identifier and sanitized log lines can be provided to an OpenAI maintainer through a private channel if needed.
Expected behavior
When GET or DELETE returns terminal conversation_deleted with can_retry=false, Desktop should treat the operation as an idempotent local removal signal and evict the matching local_thread_catalog entry instead of preserving an undeletable sidebar item.
Two server-deleted, projectless ChatGPT conversations remained visible as undeletable entries in Recents.
GET /conversation/<id> returned HTTP 404 with errorCode=conversation_deleted and can_retry=false.
Retrying Delete called DELETE /conversation/id/<id> and returned the same terminal 404, while Desktop displayed “Failed to delete chat.”
Both stale references remained in ~/.codex/sqlite/codex-dev.db, table local_thread_catalog, with source_kind=chatgpt and missing_candidate=0.
The authoritative thread reads could not find either conversation.
Resetting the derived ChatGPT thread catalog removed the stale local references; cloud conversations, projects, and local Codex threads were left untouched.
This confirms the bug still exists in build 8109. Desktop should treat terminal conversation_deleted responses as an idempotent local-removal signal and evict the corresponding catalog entry instead of preserving an undeletable Recents item.
My current workaround is to not delete any messages from my iPhone, and only delete from my Mac desktop installation Sent from my iPhoneOn Sep 7, 2026, at 8:21 AM, Christos Chatzaras ***@***.***> wrote:CyberCr33p left a comment (openai/codex#41987)
Is any workaround for this issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you commented.Message ID: ***@***.***>
I hit this on macOS with ChatGPT Desktop 26.901.51231 (build 8109) and can confirm that targeted local catalogue cleanup fixed it for me.
This affected an ordinary ChatGPT conversation under Recents. I had already deleted it, but its title remained in the desktop sidebar and both Delete and Archive failed. Signing out/in, fully quitting the app, and stopping the ChatGPT/Codex processes did not clear it.
The recovery described in this comment on #39897 matches what worked in my case. The stuck entry was a single row in:
The app's task-list tool did not return this entry, even though it was still visible in the sidebar and present in that catalogue.
After making a SQLite-consistent backup, I removed only the exact matching (host_id, thread_id) catalogue row in a transaction. The repair followed the installed client's applyAuthoritativeRemoval bookkeeping: advancing that host's observation sequence and incrementing local_thread_catalog_metadata.catalog_revision. There was no active scan checkpoint for the affected host; its sync watermark was left unchanged.
Validation:
Exactly 1 stale catalogue row removed; 0 matching rows remaining.
All 92 other catalogue rows compared unchanged.
PRAGMA integrity_check returned ok.
After quitting and reopening ChatGPT, the stuck entry disappeared. I confirmed the sidebar was fixed.
This is a successful recovery of the existing orphan, not evidence that future deletions are fixed. It supports routing already-deleted conversations through the client's local-removal/reconciliation path. Sharing the scoped recovery result here for anyone investigating the bug; I would not clear the entire app database to address this.
I solved the mystery today. Anyone likes to know how to kill the ghost chats reply and I will explain how to get rid of all of them without any side effects on your other chats or information
Not sure why you keep posting the same "I was able to reproduce the issue..." ok so what? Who gives a damn? Fix it
Reporting another macOS desktop case with matching symptoms:
Multiple entries remain in the desktop Recent list, while the user reports that the same entries are absent from ChatGPT Web using the same account.
Opening an affected entry displays exactly: “无法加载此 ChatGPT 对话” (“Unable to load this ChatGPT conversation”), verified from a user-provided screenshot.
The user reinstalled the ChatGPT desktop app; the entries still remain.
Separately, 12 genuine local Codex tasks were successfully archived via the supported app management tool. They disappeared from the user's sidebar screenshot. The remaining affected ChatGPT entries were not returned by list_threads, and their titles were not found among the local Codex task database records. The current Codex task was preserved.
These observations suggest a mismatch between the desktop Recent list and accessible conversation records, but do not establish whether the remaining conversations were deleted, whether this is account/workspace related, or whether stale references are stored locally or remotely.
Please provide a supported way to remove/reconcile inaccessible Recent entries without deleting valid chats or projects, and ensure that app task-management inventory either includes these entries or clearly reports its coverage limitations. A blanket archive/delete-all operation would exceed the desired scope.
No private conversation titles, content, screenshots, account identifiers, or logs are attached.
Additional evidence from another affected macOS user:
The conversation is absent from the ChatGPT web client but remains in the macOS desktop sidebar.
Opening it shows Could not load this ChatGPT conversation.
Archive/Delete fail.
Signing out/in does not clear it.
Quick Chat does not clear it either.
I inspected the desktop app's local SQLite catalog at ~/.codex/sqlite/codex-dev.db. The stale conversation still has a row in local_thread_catalog even though the server-side conversation is gone. Relevant fields for one affected entry:
I am omitting the actual thread ID and title here.
This confirms the ghost entry is persisted in the desktop thread catalog rather than being only a UI rendering artifact. The missing_candidate = 0 value may also be useful when tracing why reconciliation does not remove the stale row.
A possible fix is for reconciliation to evict the local catalog entry when the server reports that the conversation no longer exists.
Same class of bug, but the cloud/durable-host variant, and the sidebar does not even
offer Delete:
App: ChatGPT Desktop for macOS (Codex Framework 155.0.8059.80)
Thread ID: 01a13b02-37e9-7597-947b-bb3fc3cc30e0
Title: 修复 TikTok 图片和主页加载
Created: 2026-10-14 08:22 PT (UUIDv7 timestamp)
Host: hostId=durable over wss://codex-cloud-backend.chatgpt.com/
Thread source reported by the renderer: { "custom": "codex-cloud-agent" }
Feedback ID from the in-app /feedback dialog: no-active-thread-01a15f0b-0405-7050-be0a-e637aa6254dc
Observed behaviour:
The entry is listed under Recents in the desktop sidebar and in the Codex cloud list
in the ChatGPT mobile app.
The desktop sidebar row only offers "Pin" and "Archive" — the "Permanently delete"
item is never rendered. Renderer code gates it on !Lb(hostId), so remote hosts
never get a delete action; mobile has no delete action either.
https://chatgpt.com/c/<thread-id> returns "not found", so the ChatGPT-side
conversation is already gone.
desktop logs: sa_server_request_failed … {"detail":"Not Found"} and Conversation state not found
mobile: opening "Files" for this thread returns a Codex error
Local state is not the cause: the thread id exists in no local SQLite database, no
session/rollout file, and no Chromium storage. It is also absent from ~/.codex/sqlite/codex-dev.dblocal_thread_catalog — that table only has local
and chatgpt:<account> hosts, no durable host, so the catalog-row workaround does
not apply.
Entries under electron-persisted-atom-state (thread-tab-routes-v1:<id>, heartbeat-thread-permissions-by-id) are regenerated on open; deleting them has no
effect.
Request: please purge the durable-host thread record (and any associated environment /
attachment rows) for this thread id, and consider exposing a delete action for
remote-host threads so orphaned cloud entries can be removed by the user.
Activity
github-actions commentedon Sep 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
guimachala commentedon Sep 3, 2026
I can reproduce this exact issue in the ChatGPT macOS desktop app with a ChatGPT Business workspace.
The cloud Work conversation “Teste em nuvem” was deleted successfully and no longer appears on chatgpt.com.
However, it remains permanently visible under Recents in the macOS desktop app. When selected, the app shows:
“Não foi possível carregar esta conversa do ChatGPT”
(Unable to load this ChatGPT conversation)
Already tried:
I also submitted diagnostic feedback from the desktop app.
Feedback ID:
no-active-thread-01a0696b-c253-7f91-8b0f-99eed7df5407
Environment:
tuipsam commentedon Sep 4, 2026
I can reproduce the same issue in the ChatGPT macOS desktop app, build 26.831.21537.
Two ordinary ChatGPT conversations remain as undeletable sidebar entries:
6a9864b1-7cbc-83e8-a8f0-5613633c02936a9a1de0-75cc-83e9-a1c6-5559519df56dObserved behavior:
conversation_deletedfor both IDs.conversation_inaccessiblebefore subsequent requests returnedconversation_deleted.source_kind=chatgpt), not Codex threads, so the Codex archive operation cannot remove them.No conversation contents or local filesystem paths are included here. This appears to be the same stale desktop conversation-index behavior described in this issue.
se1961 commentedon Sep 5, 2026
I’m seeing the same issue on macOS, specifically with chats deleted from the ChatGPT iPhone app.
The deletion succeeds on iPhone, but the deleted conversation remains visible in the Mac app sidebar. Clicking the orphaned entry produces:
“Could not load this ChatGPT conversation”
Troubleshooting already performed:
This appears consistent with the conversation being deleted successfully on the server while the macOS conversation-list/Recents state is not being invalidated or synchronized correctly.
Related in-product feedback IDs:
no-active-thread-01a0716c-7169-71e3-ac8c-edf993ee177b
no-active-thread-01a07178-f17f-7af3-9533-687dd37ac2a5
I also have screenshots showing the stale sidebar entry and the “Could not load this ChatGPT conversation” error.
dev-kdy commentedon Sep 5, 2026
Independent reproduction on the current macOS desktop build.
Environment
26.901.20858(build7658)26.6.2(build25G83)arm64Observed behavior
GET /conversation/<id>and returns HTTP404,errorCode=conversation_deleted,can_retry=false.DELETE /conversation/id/<id>and returns the same terminal404 conversation_deleted; Desktop shows the generic “Failed to delete chat” toast.2026-09-05 21:53 KST.Read-only local confirmation
A read-only inspection found exactly one matching row in:
~/.codex/sqlite/codex-dev.dblocal_thread_catalogsource_kind = chatgptmissing_candidate = 0PRAGMA integrity_checkreturnedok. The target is absent from the current authoritative thread inventory and is not a local Codex rollout/thread. No database or local file was modified during diagnosis.The conversation identifier is intentionally redacted here as
6a97ba3b-…-9d43; the full identifier and sanitized log lines can be provided to an OpenAI maintainer through a private channel if needed.Expected behavior
When GET or DELETE returns terminal
conversation_deletedwithcan_retry=false, Desktop should treat the operation as an idempotent local removal signal and evict the matchinglocal_thread_catalogentry instead of preserving an undeletable sidebar item.t1anhe commentedon Sep 7, 2026
Reproduced on a newer macOS desktop build:
Two server-deleted, projectless ChatGPT conversations remained visible as undeletable entries in Recents.
GET /conversation/<id>returned HTTP 404 witherrorCode=conversation_deletedandcan_retry=false.DELETE /conversation/id/<id>and returned the same terminal 404, while Desktop displayed “Failed to delete chat.”~/.codex/sqlite/codex-dev.db, tablelocal_thread_catalog, withsource_kind=chatgptandmissing_candidate=0.This confirms the bug still exists in build 8109. Desktop should treat terminal
conversation_deletedresponses as an idempotent local-removal signal and evict the corresponding catalog entry instead of preserving an undeletable Recents item.CyberCr33p commentedon Sep 7, 2026
Is any workaround for this issue?
se1961 commentedon Sep 7, 2026
0xsiddharthks commentedon Sep 7, 2026
I hit this on macOS with ChatGPT Desktop 26.901.51231 (build 8109) and can confirm that targeted local catalogue cleanup fixed it for me.
This affected an ordinary ChatGPT conversation under Recents. I had already deleted it, but its title remained in the desktop sidebar and both Delete and Archive failed. Signing out/in, fully quitting the app, and stopping the ChatGPT/Codex processes did not clear it.
The recovery described in this comment on #39897 matches what worked in my case. The stuck entry was a single row in:
The app's task-list tool did not return this entry, even though it was still visible in the sidebar and present in that catalogue.
After making a SQLite-consistent backup, I removed only the exact matching
(host_id, thread_id)catalogue row in a transaction. The repair followed the installed client'sapplyAuthoritativeRemovalbookkeeping: advancing that host's observation sequence and incrementinglocal_thread_catalog_metadata.catalog_revision. There was no active scan checkpoint for the affected host; its sync watermark was left unchanged.Validation:
PRAGMA integrity_checkreturnedok.This is a successful recovery of the existing orphan, not evidence that future deletions are fixed. It supports routing already-deleted conversations through the client's local-removal/reconciliation path. Sharing the scoped recovery result here for anyone investigating the bug; I would not clear the entire app database to address this.
mvahedi2020 commentedon Sep 8, 2026
I solved the mystery today. Anyone likes to know how to kill the ghost chats reply and I will explain how to get rid of all of them without any side effects on your other chats or information
Not sure why you keep posting the same "I was able to reproduce the issue..." ok so what? Who gives a damn? Fix it
gohitbear commentedon Sep 12, 2026
Reporting another macOS desktop case with matching symptoms:
These observations suggest a mismatch between the desktop Recent list and accessible conversation records, but do not establish whether the remaining conversations were deleted, whether this is account/workspace related, or whether stale references are stored locally or remotely.
Please provide a supported way to remove/reconcile inaccessible Recent entries without deleting valid chats or projects, and ensure that app task-management inventory either includes these entries or clearly reports its coverage limitations. A blanket archive/delete-all operation would exceed the desired scope.
No private conversation titles, content, screenshots, account identifiers, or logs are attached.
jiyeqian commentedon Sep 13, 2026
Additional evidence from another affected macOS user:
Could not load this ChatGPT conversation.I inspected the desktop app's local SQLite catalog at
~/.codex/sqlite/codex-dev.db. The stale conversation still has a row inlocal_thread_catalogeven though the server-side conversation is gone. Relevant fields for one affected entry:I am omitting the actual thread ID and title here.
This confirms the ghost entry is persisted in the desktop thread catalog rather than being only a UI rendering artifact. The
missing_candidate = 0value may also be useful when tracing why reconciliation does not remove the stale row.A possible fix is for reconciliation to evict the local catalog entry when the server reports that the conversation no longer exists.
Quinlan-Carter commentedon Oct 21, 2026
Same class of bug, but the cloud/durable-host variant, and the sidebar does not even
offer Delete:
155.0.8059.80)01a13b02-37e9-7597-947b-bb3fc3cc30e0修复 TikTok 图片和主页加载hostId=durableoverwss://codex-cloud-backend.chatgpt.com/{ "custom": "codex-cloud-agent" }/feedbackdialog:no-active-thread-01a15f0b-0405-7050-be0a-e637aa6254dcObserved behaviour:
in the ChatGPT mobile app.
item is never rendered. Renderer code gates it on
!Lb(hostId), so remote hostsnever get a delete action; mobile has no delete action either.
https://chatgpt.com/c/<thread-id>returns "not found", so the ChatGPT-sideconversation is already gone.
thread/resumestill succeeds (a fresh cloud environment is created),but the backing data is partially missing:
sa_server_request_failed … {"detail":"Not Found"}andConversation state not foundsession/rollout file, and no Chromium storage. It is also absent from
~/.codex/sqlite/codex-dev.dblocal_thread_catalog— that table only haslocaland
chatgpt:<account>hosts, nodurablehost, so the catalog-row workaround doesnot apply.
electron-persisted-atom-state(thread-tab-routes-v1:<id>,heartbeat-thread-permissions-by-id) are regenerated on open; deleting them has noeffect.
Request: please purge the durable-host thread record (and any associated environment /
attachment rows) for this thread id, and consider exposing a delete action for
remote-host threads so orphaned cloud entries can be removed by the user.