Codex Cloud environment catalogs differ between CLI, desktop, and web (CLI 0.160.1)
What issue are you seeing?
The Codex CLI, desktop app, and browser show different Cloud environment catalogs. The CLI shows older/Legacy environments that do not appear in the desktop/browser views being used; environments available in the newer experience are not discoverable from the CLI. This prevents locating the intended new Cloud environment consistently across clients.
This is an additional affected-user report related to #50182 and #49966, with source checks for CLI 0.160.1 and 0.162.0-alpha.16. Please consolidate with the appropriate issue if these share a cause.
Observed on October 6, 2026:
- Installed CLI:
codex-cli 0.160.1. - Local platform:
Linux 6.8.0-139-generic x86_64. - The owner reports the reciprocal catalog visibility difference described above.
- An earlier read-only lookup using
codex cloud list --env <environment-id> --jsonreturnedno cloud environments are available for this workspace. That lookup predates recreation of the environment; it is not a fresh check of the replacement. - The CLI and new Cloud UI were previously checked against the same ChatGPT email. Exact workspace equivalence has not been independently established.
Desktop/browser observations are owner-reported. CLI version and the source comparisons below were checked directly. Exact desktop/browser versions and the replacement environment's current publication state were not captured.
What steps can reproduce the bug?
Reported workflow:
- Use an account with older/Legacy Cloud environments and an environment created in the newer Cloud experience.
- Compare the environments under Settings > Codex Cloud with those offered by the desktop and browser task selectors.
- Open
codex cloudand inspect its environment picker without submitting a task. - Compare the catalogs. In this case, the CLI exposes the older environments while the newer environment is unavailable there, and the UI views being used do not expose those same older environments.
codex cloud list --json lists tasks, so an empty task list alone should not be treated as an environment inventory.
What is the expected behavior?
Accessible, published environments should be discoverable consistently on supported clients. If the CLI intentionally supports only Legacy environments, its picker, errors, and documentation should explicitly say so and point to the supported new Cloud launch path.
Please clarify whether new Cloud environments can currently be selected from the released CLI, which identifier/command is supported, and which desktop/web route reliably selects the new catalog.
Additional information
Source checks performed without installing an alpha or submitting a task:
env_detect.rsin 0.160.1 and 0.162.0-alpha.16 are byte-identical: SHA-256bec745603121226f7edd770e0132a3cea1a78906b1425df6dcbbd54c61e22ce2.- That code queries
/wham/environmentsand its repository-specific route when the base URL contains/backend-api; otherwise it uses/api/codex/environments. It does not query the/api/codex-cloud/v1/environment-configsroute reported for the new settings catalog in #50182. resolve_environment_idin 0.160.1 resolves--envagainst the fetched catalog and rejects an empty catalog before matching the supplied identifier. Supplying an ID therefore does not bypass catalog discovery.- A different user reported restored browser selector visibility on October 6. This has not been verified for this account or the CLI.
- The current environment guide documents Work in > Cloud for desktop/web and distinguishes the Legacy experience.
The evidence is consistent with a Legacy/new Cloud catalog mismatch, but does not establish the account-specific backend cause or rule out workspace/publication differences. No credentials, private repository contents, account identifiers, or environment identifiers are included.
Ran into the issue because I wasn't able to use a cloud environment in CLI. Any workarounds yet? This issue looks to be a week old and no movement from OpenAI
Still only has Legacy Cloud Env on my Codex CLI.
Reproduced the same issue in codex-cli 0.166.0 on Windows using an isolated installation and successful ChatGPT authentication. The current published Cloud environment remains visible in web settings, but codex cloud list --env
Confirmed again with codex-cli 0.168.0 on Windows using an isolated installation and successful ChatGPT authentication. Our published private environment is visible in current Codex Cloud web settings, but codex cloud list --env
Confirmed the same issue in codex-cli 0.170.0 on Windows using an isolated installation and successful ChatGPT authentication.
A private test environment is visible in current Codex Cloud web settings, but codex cloud list --env <environment-name> --limit 5 --json returns environment not found. The CLI picker lists only Global and a Legacy environment; the current Cloud environment is absent.
Same result as 0.169.0. No workarounds or Cloud configuration changes were applied.
I ran the newest alpha (0.174.0-alpha.7) live on Titan and it still says "environment not found".