Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.820.7780.0 (Windows package OpenAI.Codex_26.820.7780.0_x64__2p2nqsd0c76g0)
What subscription do you have?
ChatGPT account (exact tier omitted; the failure is local app-server compatibility)
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
After the Windows desktop app updated, it continued launching the executable selected by the user-level CODEX_CLI_PATH override even though that CLI was older than the app-server capabilities required by the updated desktop client.
The selected executable reported:
codex-cli 0.144.5
Opening an existing local conversation that used paginated history then failed with:
恢复对话失败
paginated_threads is not supported yet
As a result, the conversation and its local project/file context could not be restored. The desktop UI did not identify the selected CLI path or explain that the CLI was incompatible with the updated client.
Updating the same CLI installation to 0.149.1, fully exiting the desktop app, and reopening it resolved the failure. The same conversation could then be restored normally.
What steps can reproduce the bug?
- On Windows, install/update Codex Desktop to
26.820.7780.0. - Set the user-level
CODEX_CLI_PATHto a validcodex.exethat reportscodex-cli 0.144.5. - Fully restart the desktop app so it inherits the environment variable.
- Open an existing local conversation whose history uses the newer paginated thread format.
- Observe the restore failure:
paginated_threads is not supported yet. - Update the executable at
CODEX_CLI_PATHtocodex-cli 0.149.1and fully restart the desktop app. - Open the same conversation again; it restores successfully.
The sanitized override used in this reproduction was:
%LOCALAPPDATA%\Programs\OpenAI\Codex\bin\codex.exe
What is the expected behavior?
Before using an externally selected app-server binary, Codex Desktop should validate its version or required protocol capabilities.
If CODEX_CLI_PATH points to an incompatible CLI, the app should either:
- fall back to its compatible bundled CLI when safe, or
- stop before opening a thread and show an actionable compatibility error that includes the selected path, detected CLI version, required capability/minimum version, and update guidance.
It should not allow an updated desktop client to fail later with the internal implementation message paginated_threads is not supported yet.
Additional information
- This was a version/capability mismatch, not missing or corrupted conversation data.
- Before update:
codex-cli 0.144.5. - After update:
codex-cli 0.149.1; the issue no longer reproduced. - The current public release is
rust-v0.149.1. - This can compound Windows bundled-runtime discovery/relocation failures such as [Windows 26.820] Codex Desktop cannot start: bundled codex.exe relocation from WindowsApps fails #40700: setting
CODEX_CLI_PATHis a common workaround for startup, but it can silently pin Desktop to a stale app-server. - A related class of problems involving desktop runtime selection and paginated history is discussed in [macOS Desktop] Reboot can switch app-server runtime and wedge paginated history at a duplicate ordinal #40178.
Suggested regression coverage: launch the desktop/app-server integration with a deliberately old external CLI override and assert that the client rejects it with a compatibility-specific error before attempting thread/resume or paginated history operations.

Activity
github-actions commentedon Aug 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Add screenshot for openai/codex#40796
JulioAmestica commentedon Sep 6, 2026
Additional Windows Desktop evidence of a stale external CLI override, with a different user-visible symptom.
Environment:
Observed:
Action and verification:
Limitations:
Suggested improvement: expose the actual selected app-server path and version in diagnostics, indicate when CODEX_CLI_PATH overrides the bundled runtime, and detect incompatible backend capabilities with actionable guidance. An explicit user override should not be silently rewritten; the problem is that updating a different installation can leave Desktop using an old backend without making that distinction apparent.
Goudu666 commentedon Sep 12, 2026
Confirmed on macOS: stale
CODEX_CLI_PATHsilently hid GPT-6 AstraThis is a second, independently verified manifestation of the same Desktop/CLI compatibility gap on macOS. Instead of failing thread restore, Desktop continued to work while its model catalog was silently downgraded.
Environment
26.903.71938codex-cli 0.153.4CODEX_CLI_PATH:codex-cli 0.148.0-alpha.150.153.0or newerTimeline and controlled comparison
cli_version: 0.153.4, and the model picker included GPT-6 Astra.cli_version: 0.148.0-alpha.15, and Astra disappeared.CODEX_CLI_PATHwas inherited from a login LaunchAgent and pointed to an older locally built CLI.codex debug modelsagainst the bundled CLI returned 8 models, includinggpt-6-astrawithvisibility: list.CODEX_CLI_PATH, unloading the LaunchAgent, and fully restarting Desktop immediately restored Astra.This controlled result rules out an account entitlement or staged rollout as the cause. The active external runtime silently determined the picker contents.
Expected behavior
At startup, Desktop should expose the selected app-server path and version and validate an external CLI against the capabilities/minimum version required by the Desktop build. If the override is incompatible, it should either fall back to the bundled CLI or show an actionable warning before continuing.
A stale override should not silently remove newly available models and make the problem look like an account or rollout issue.
This is also related to #43052, but the stale input here is the selected runtime itself rather than
model_catalog_json.The app has since auto-updated to
26.908.40834. I did not deliberately re-enable the stale override on that newer build because the machine is back in a working state.