Managed bundled marketplace snapshot remains stale after app update, causing Browser reinstall to select the old plugin version
Summary
After Codex Desktop updated, the application package contained a newer fixed Browser plugin, but the managed per-user bundled marketplace snapshot remained on the old Browser version.
Uninstalling and reinstalling Browser from Settings, deleting the plugin cache, and restarting Codex repeatedly installed the old version because the installer selected the version exposed by the stale managed marketplace.
This case is different from a persisted marketplace source pointing to an old WindowsApps package. Here, config.toml already pointed to the expected managed .tmp marketplace path; the contents of that managed snapshot were stale.
Environment
- Platform: Windows x64
- Install type: Microsoft Store / WindowsApps packaged app
- Codex Desktop package:
OpenAI.Codex_26.715.2236.0_x64 - Browser plugin included in the current app package:
26.715.21316 - Browser plugin in the managed runtime marketplace:
26.707.31428 - Browser plugin installed in the user cache before repair:
26.707.31428
Configuration
The relevant ~/.codex/config.toml entry was already pointing to the managed marketplace:
[marketplaces.openai-bundled]
last_updated = "2026-07-10T02:24:29Z"
source_type = "local"
source = '\\?\C:\Users\<user>\.codex\.tmp\bundled-marketplaces\openai-bundled'
[plugins."browser@openai-bundled"]
enabled = true
The three Browser manifests reported:
| Location | Version |
|---|---:|
| Current Codex application package | 26.715.21316 |
| Managed bundled marketplace under .codex\.tmp | 26.707.31428 |
| Installed plugin cache | 26.707.31428 |
The current application package already contained the fixed Browser plugin at a path equivalent to:
C:\Program Files\WindowsApps\OpenAI.Codex_26.715.2236.0_x64__...\app\resources\plugins\openai-bundled\plugins\browser
But the runtime marketplace still exposed:
C:\Users\<user>\.codex\.tmp\bundled-marketplaces\openai-bundled\plugins\browser
Browser version: 26.707.31428
Observed behavior
- The older Browser plugin failed during runtime initialization with:
``text``
TypeError: Cannot redefine property: process
- The issue was reported in #32935 and later marked fixed/completed.
- Updating Codex Desktop installed an application package that included Browser
26.715.21316. - Browser in the managed bundled marketplace remained at
26.707.31428. - Removing the Browser cache and reinstalling the plugin from Settings installed
26.707.31428again. - The old error therefore continued even though the fixed plugin was already present inside the current app package.
The apparent version decision was effectively:
managed marketplace version 26.707.31428
== installed cache version 26.707.31428
=> plugin considered current
The newer application-bundled version was not materialized into the managed runtime marketplace before the version comparison and reinstall.
Reproduction pattern
- Start with Codex Desktop and an older bundled Browser plugin installed.
- Update Codex Desktop to a package containing a newer Browser plugin.
- Confirm that
[marketplaces.openai-bundled].sourcepoints to.codex\.tmp\bundled-marketplaces\openai-bundled. - Compare the Browser manifest in the current app package with the manifest in the managed
.tmpmarketplace. - Observe that the app package manifest is newer while the managed marketplace remains old.
- Uninstall Browser from Settings and reinstall it.
- Observe that Codex recreates the cache using the old managed-marketplace version.
Expected behavior
When the Codex Desktop package changes, the app should compare the bundled plugin manifests in the running application package with the managed per-user marketplace snapshot.
If any bundled plugin version differs, Codex should atomically refresh the managed marketplace before plugin reconciliation, version validation, or reinstall.
Actual behavior
The managed .tmp bundled marketplace remained stale across the app update and restart. Plugin reinstall trusted the stale marketplace, so the old Browser version was installed again.
Temporary workaround
The following manual workaround restored Browser functionality:
- Uninstall Browser from Codex Settings.
- Copy the newer
browserdirectory from the current Codex application package. - Replace the stale Browser directory under:
``text``
%USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundled\plugins\browser
- Reopen Codex and reinstall Browser from Settings.
- Confirm that Codex creates the cache directory for
26.715.21316.
This is only a temporary workaround because .codex\.tmp\bundled-marketplaces is generated state and may be overwritten.
Verification after the workaround
With Browser 26.715.21316, I successfully:
- initialized
setupBrowserRuntime({ globals: globalThis }); - connected to the Codex in-app Browser;
- navigated to
https://example.com/; - read the page title and DOM;
- clicked the
Learn morelink and navigated to the IANA page; - completed the test with no Browser console errors.
The Cannot redefine property: process error no longer occurred.
Relationship to existing issues
- Related to #30270, but this reproduction does not have
config.tomlpointing to an old versionedWindowsAppssource. The configured source already points to the managed.tmpmarketplace; the managed snapshot itself was not refreshed. - Follow-up evidence for the Browser runtime incompatibility originally reported in #32935.
- Detailed version evidence and workaround were also posted at https://github.com/openai/codex/issues/32935#issuecomment-4998873649.
Requested fix
Please refresh or rematerialize the managed bundled marketplace from the currently running Codex application package whenever:
- the application package version changes;
- a bundled plugin manifest version changes;
- a bundled plugin is reinstalled; or
- the managed marketplace and application-bundled manifest versions differ.
The refresh should happen before the installed-cache version is considered current. If refresh fails, Settings should display an actionable marketplace synchronization error instead of reinstalling an older bundled plugin.
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed #33248. The two issues appear to share the same underlying bundled-marketplace refresh problem, but this report provides a distinct Windows/Browser reproduction.
In #33248, the stale macOS marketplace installs obsolete Chrome and Computer Use helpers, resulting in code-signing and native-host registration failures.
In this issue:
config.tomlalready points to the expected managed.tmpmarketplace;26.715.21316;26.707.31428;Cannot redefine property: processfailure.This appears to be the Windows/Browser counterpart of #33248 and confirms that the managed bundled-marketplace refresh problem is cross-platform and still reproduces with a newer Codex package.
I am keeping this issue open for the platform-specific version-selection evidence, but I am happy for maintainers to consolidate it into #33248 if they prefer tracking the shared root cause in one place.
macOS reproduction of the stale bundled-marketplace issue.
Feedback ID: 019f7d34-d938-7f01-b3e4-20c7b8c8d9b0
Environment:
The configured marketplace source is the managed path under ~/.codex/.tmp/bundled-marketplaces/openai-bundled.
The active managed marketplace and cache both remain on 26.707.51957, even though the installed app contains 26.715.31925. Browser initialization consequently fails at browser-client.mjs:33:22 with:
TypeError: Cannot redefine property: process
The visible in-app browser works manually, including loading https://example.com, but automation fails before tab attachment.
Please associate the feedback diagnostics with this issue and note that the stale-marketplace behavior also reproduces on macOS.
I hit a similar issue running codex exec. Codex reported from the log:
I can confirm this still reproduces on a newer Windows Store build.
Environment
10.0.26200.8875OpenAI.Codex_26.727.6591.0_x64SignatureKind=Store)26.727.4816.0to26.727.6591.0on 2026-08-0126.727.5135126.727.5135126.727.51351%USERPROFILE%\.codex\.tmp\bundled-marketplaces\openai-bundledsnapshot and eachlatestcache before repair:26.721.3183626.721.3183626.721.31836The config already pointed to the expected managed
.tmpmarketplace, and all three plugins were enabled. This was therefore the same stale managed-snapshot case described in this issue, not a stale versionedWindowsAppspath.Additional Computer Use impact
The current app package required CUA runtime fingerprint
fb8898c05a62885e, but that runtime had not been provisioned under%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node. Only the olderf8d2abcb7481383bruntime was present.Observed initialization failure:
Before repair, the current thread also had no usable Computer Use/Browser
node_repl/jscontrol entry.Recovery verification
A local repair that:
latestjunctions;restored the local verification path.
Post-repair results:
codex plugin listnow reports Computer Use, Browser, and Chrome at26.727.51351(and Sites at0.1.33).This suggests the update-time refresh should cover both the managed bundled marketplace/plugin caches and the derived CUA runtime. A startup/package-version fingerprint check with atomic refresh would prevent the stale state from surviving Store updates.
Disclosure: I’m the author of WinBridge Recovery, an independent/non-official Windows recovery launcher for Codex Desktop.
The stale managed-marketplace scenario described here is one of the failure classes the project is designed to diagnose. It is version-aware: it identifies the currently installed Codex package, compares the bundled source with the managed marketplace/plugin cache and active pointers, and can rebuild/reconcile user-side state when those versions drift. Repairs are conditional and backed up so the previous state can be restored.
I’m mentioning it as a temporary user-side recovery option, not as an upstream solution and not as an official OpenAI tool. It does not redistribute or patch OpenAI’s packaged files, does not take ownership of WindowsApps, and does not bypass sandbox or enterprise/browser policy. If someone’s Browser failure is specifically caused by the managed snapshot staying on the old bundled version after an app update, this may save the manual copy/reinstall sequence described in the issue.
Fresh Windows recurrence on 2026-08-20, after the same machine had previously been repaired successfully.
Environment
OpenAI.Codex_26.814.5517.0_x6426.814.4195726.803.81509latestcache pointer before repair:26.803.8150926.814.41957Reproduction
Chrome automation failed before tab discovery with:
Uninstalling/reinstalling both the Codex Chrome plugin and the Chrome browser extension, followed by a full app restart, did not make the repair durable. A temporary cache-only repair allowed one session to connect, but later tasks again selected the old managed snapshot.
The old
26.803.81509Browser client contains the forbiddennode:processimport; the current26.814.41957client does not.Additional evidence
A still-running
extension-host.exewas launched through the stale Chromelatestpointer and respawned while Codex Desktop remained open. Two newer, incomplete managed-marketplace staging directories were also present (26.810.52044and26.814.41407) while the active snapshot remained26.803.81509.This suggests the extension host may be racing or preventing the atomic marketplace reconciliation, leaving the old active directory in place despite newer app updates.
Verified local recovery
A rollback-safe repair:
26.814.41957Browser/Chrome/Computer Use files;latestjunctions to26.814.41957.After repair, the current Browser client and cache matched the app bundle byte-for-byte, Chrome reconnected successfully through the Browser client, and the forbidden-module error did not recur during the live connection test.
No browser tab contents, browsing history, usernames, or local paths are included in this report.