Bundled marketplace under .tmp is repeatedly overwritten with incomplete contents, causing Chrome plugin to fail loading

Open 💬 3 comments Opened Jun 2, 2026 by Zl-sketch-jpg

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

Codex Desktop: 26.527.7698.0

What subscription do you have?

plus

What platform is your computer?

Windows 11

What issue are you seeing?

openai-bundled marketplace is configured to a temporary directory under .codex\.tmp. The directory is repeatedly rewritten into an incomplete state. After manually restoring the full marketplace from a valid copy, the directory is overwritten again and loses .agents\plugins\marketplace.json and all .codex-plugin\plugin.json files.

As a result, enabled bundled plugins remain configured, but plugin loading fails, especially chrome@openai-bundled.

What steps can reproduce the bug?

Restore a complete openai-bundled marketplace into:
C:\Users\ZL\.codex\.tmp\bundled-marketplaces\openai-bundled
Verify it contains:
.agents\plugins\marketplace.json
and plugin manifests for browser, chrome, computer-use, latex.
Continue using Codex Desktop / plugin list / Chrome plugin.
Re-check the directory.
The directory is overwritten back to an incomplete state with only Chrome extension-host content.

What is the expected behavior?

Bundled marketplace refresh should be atomic and complete. It should not leave .tmp\bundled-marketplaces\openai-bundled in a partial state. If refresh fails, Codex should retain the previous valid marketplace/cache or fall back to a stable bundled source.

Additional information

WARN codex_core_plugins::loader core-plugins\src\loader.rs:67
failed to load plugin: missing or invalid plugin.json
plugin="chrome@openai-bundled"
path=C:\Users\ZL\.codex\plugins\cache\openai-bundled\chrome\26.527.60818
WARN codex_core_plugins::loader core-plugins\src\loader.rs:346
configured non-curated plugin no longer exists in discovered marketplaces during cache refresh
plugin="browser" marketplace="openai-bundled"

WARN codex_core_plugins::loader core-plugins\src\loader.rs:346
configured non-curated plugin no longer exists in discovered marketplaces during cache refresh
plugin="chrome" marketplace="openai-bundled"

WARN codex_core_plugins::loader core-plugins\src\loader.rs:346
configured non-curated plugin no longer exists in discovered marketplaces during cache refresh
plugin="computer-use" marketplace="openai-bundled"
The bundled marketplace writer/refresh path appears to treat .tmp\bundled-marketplaces\openai-bundled as both a temporary build output and the configured persistent marketplace source. When the refresh writes only part of the bundled Chrome extension host, it removes or fails to restore the marketplace manifest and plugin manifests, breaking plugin discovery and loading.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗