Repository navigation
Open
Labels
Description
Summary
The macOS app has multiple refresh/sync gaps:
- cross-surface sync behaves differently between VS Code extension and CLI
- conversation list does not refresh correctly after restoring a thread from Archive inside the app
Observed behavior
| macOS app state | Where conversation is created/continued | Actual behavior |
|---|---|---|
| App is already open | Restore a conversation from Archive in macOS app | Restored conversation does not appear in the active list until app restart |
| App is already open | Create a new conversation in VS Code extension | New conversation does not appear in app |
| App is already open | Create a new conversation in CLI | New conversation does not appear in app |
| App is opened after conversation was created in VS Code extension | Continue chatting in VS Code extension | App can see the conversation and continues to receive new turns (works) |
| App is opened after conversation was created in CLI | Continue chatting in CLI | App can see the conversation entry, but new CLI turns do not refresh in app |
Expected behavior
- Restoring a conversation from Archive should immediately update the active conversation list in the macOS app.
- The macOS app should discover newly created conversations from both VS Code extension and CLI while the app is open.
- After opening the app, new turns from both VS Code extension and CLI should keep syncing consistently.
- A visible Refresh button in the app would be a useful fallback when real-time sync misses updates.
Repro steps
Case A: restore from Archive inside app
- Open the macOS app.
- Go to Archive and move one archived conversation back to active.
- Return to the active conversation list.
- The restored conversation does not appear until app restart.
Case B: app already open (new conversation from CLI/VS Code)
- Open the macOS app.
- Create a new conversation in CLI (or VS Code extension).
- Check the app conversation list.
- New conversation is not shown.
Case C: app opened later (VS Code path)
- Create a new conversation in VS Code extension.
- Open the macOS app.
- Continue chatting in VS Code extension.
- App receives new turns (works).
Case D: app opened later (CLI path)
- Create a new conversation in CLI.
- Open the macOS app.
- Continue chatting in CLI.
- App does not refresh newly added CLI turns.
Environment
- Codex App version: 26.212.1823 (build 661)
- macOS: 26.3 (build 25D125)
Related issues
Reacted by Nils 🧮, Valery Sibikovsky, healthymecd, Glavin Wiechert, Shane Lindsay, Đức An and cixiangtao
Activity
nilswx commentedon Feb 16, 2026
Related: programmatically managing threads via MCP or
codex app-server(thread/start,turn/start) also requires a restart before Codex.app (or other sources) will show/bump the thread, even if filters match.Codex.app ships (and runs) its own
codexbinary, but this is definitely something to synchronize between surfaces for every$CODEX_HOME/config.tomluniverse.slobodanmargetic988 commentedon Feb 23, 2026
Minimally switching to a thread in the app itself should trigger an attempt to reload if thread is changed later than the last change the app sees.
Idealy app should be able to track background executions and show spinning icon when the tread is working in the background. This would let us have a smooth looking automation workflow. Right now an orchestrator thread dispatching background threads doesnt let us see what the background threads are doing in real time. And that is the real automation powerhouse.
cixiangtao commentedon Aug 6, 2026
Adding a current reproduction where this is more than a missing refresh action: the same conversation has persistently different visible turn history across the desktop client and VS Code extension.
Environment
26.730.61639(com.openai.codex, build 6234)1.131.0(arm64)[email protected]Observed behavior
This appears to be persistent cross-surface thread hydration/state divergence, not only a delayed conversation-list refresh.
Impact
Users cannot determine which surface contains the authoritative transcript. Continuing from the stale surface can cause requests to be repeated, omit recent decisions, or make the user act on an outdated understanding of what Codex already executed. For an agent that can edit files and run commands, the same thread must have a trustworthy and auditable history on every supported surface.
Expected behavior
Please treat this as a correctness/reliability bug rather than only an enhancement request.
mikejurka commentedon Aug 11, 2026
I can also reproduce this specifically with CLI → ChatGPT Desktop archive sync. But as the original bug states, I think this is just one example of the greater issue of sync.
Restarting ChatGPT Desktop fixes the sidebar state.
So the archive succeeds, but Desktop does not refresh/reconcile the thread list after an external CLI archive. This looks like the CLI → Desktop version of the cross-surface refresh bug.
anandx commentedon Aug 18, 2026
We found a working workaround (but please fix this 🙏🏾) in verified with the Desktop-bundled Codex runtime
0.147.0-alpha.6.5.After a private app-server successfully archives or unarchives a thread, we publish the same lifecycle broadcast used by Desktop over
~/.codex/ipc/ipc.sock:thread-archivedv2 withhostId,conversationId, andcwdthread-unarchivedv1 withhostIdandconversationIdDesktop then refreshes immediately without restarting. When a shared app-server daemon is available, routing the mutation through that instance also propagates the update.
This is an undocumented, best-effort workaround and only covers events observed while connected. A supported cross-client lifecycle invalidation—or simply refreshing
thread/listwhen history/archive opens—would remove the need for it.newjoy commentedon Sep 13, 2026
Reproduced the unarchive direction of this cross-surface synchronization issue on September 13, 2026.
Environment
Minimal reproduction
Keep the desktop app running and use an existing, idle local task.
Archive that task through the desktop's built-in task tool.
In a separate process, run the bundled official CLI:
CLI exits 0 and prints: Unarchived session <title> ().
The running desktop still does not show the task in its project/sidebar.
Repeating the CLI command exits 1 with: Error: failed to unarchive session. It does not refresh the desktop.
Independent app-server reproduction and positive control
Expected behavior and impact
The desktop should reconcile a successful external CLI/app-server unarchive with canonical task state without requiring a full app restart. Opening the task or archived list should recover missed lifecycle changes, or a supported refresh/invalidation API should be available.
This blocks reliable same-task handoff to an event-driven local integration while allowing the user to keep the desktop open for other tasks. No new/forked task was used as a substitute, and the minimal CLI reproduction does not depend on our integration or a model call.
This looks related to #33860's stale UI symptoms, but our initial independent unarchive returns success, not the initial failed-to-read-unarchived-thread error. We have not established the internal root cause and have not injected private IPC notifications or modified the client database.
No real task IDs, task titles, repository paths, credentials, or transcripts are included in this report.
Kyoyen commentedon Nov 24, 2026
Adding a counterexample for new local chats created by an external app-server: on one Mac, with Codex Desktop already open, two fresh chats created by Antigravity’s
codex-workerappeared in the sidebar without restarting. Both calls used a separatecodex app-server --stdioprocess, the Desktop-bundled CLI0.171.0-alpha.13, and the same registered project directory. Both were read-only, with no resume or worktree. The two stored sessions confirm the worker origin andsource=vscode; the live appearance was observed by the user, and we did not instrument its exact latency.This differs from the standalone-worker reproduction in #36363, where the sessions were readable by ID but absent from the running sidebar until restart. It would help to make discovery reliable even when a creation event does not reach the running Desktop instance.
Possible fix: have Desktop reconcile its local chat list with durable external sessions. Refresh on a supported creation signal when available, and use a bounded incremental check for changes from other processes. Refresh on window focus or a manual Refresh command would also help as a fallback. Deduplicate by canonical chat ID and apply the existing project assignment rules without interrupting active chats.
Acceptance test: leave Desktop open on a registered project, create three uniquely titled chats from a separate app-server, and verify that each appears once under the expected project within a defined sync window, without restarting, switching projects, or opening a deep link. Check creation, durable readability, and sidebar appearance separately.