Repository navigation
Description
What version of the Codex App are you using (From "About Codex" dialog)?
Installed Windows package: OpenAI.Codex_26.1013.4894.0_x64__2p2nqsd0c76g0.
Bundled codex-app-tools: 0.1.6. The package version was verified locally; the About dialog version was not separately collected.
What subscription do you have?
Not collected for this diagnostic report.
What platform is your computer?
Windows 10, build 19045, x64; packaged Windows desktop application.
What issue are you seeing?
The Local Work executor repeatedly fails to copy a bundled plugin from the installed Windows package, then schedules another startup after 1,000 ms, with no effective backoff or retry ceiling in the observed logs. The attempt counter reached 213,836. Ordinary app restarts reproduce the copy failure and restart loop.
This report focuses on the persistent retry behavior and recovery across launches. The encrypted-resource copy signature is also reported in #49582 and #41164. #55417 describes a related plugin replacement failure that recovered after a few attempts; this installation kept retrying the same deterministic failure.
Sanitized diagnostic excerpts (separate events; paths shortened):
2026-10-20T01:38:39.379Z info [tpp-local-executor]
Starting Local Work executor attempt=213836
[tpp-local-executor] Local Work executor startup failed
errorCode=UNKNOWN
UNKNOWN: unknown error, copyfile
'<PACKAGE>\app\resources\plugins\openai-bundled\plugins\codex-app-tools\.codex-plugin\plugin.json'
-> '<USER_DATA>\executor-plugins\codex-app-tools\.codex-plugin\plugin.json'
[tpp-local-executor] Scheduling Local Work executor restart
delayMs=1000 reason=startup_failure
The error stack passes through Node copyFile, fs.cp / copyDir, and the desktop executor's readCapabilityRoots.
What steps can reproduce the bug?
On the affected installation:
- Start the official desktop app normally.
- Inspect the Local Work executor startup messages in
%LOCALAPPDATA%\Codex\Logs. - Observe the same
UNKNOWN copyfilefailure and repeateddelayMs=1000restart scheduling. - Quit and reopen normally. The same failure returns.
The bundled source files are readable and have the Windows Archive, Encrypted attributes. A direct Node fs.cp(..., { recursive: true }) test against the original packaged plugin also fails with UNKNOWN.
Control experiment:
- Copy the resource file contents into a normal local directory using byte reads/writes.
- Verify SHA-256 against the package originals: 838 files, 49,220,670 bytes, all matching.
- Repeat
fs.cpfrom this local mirror: succeeds. - Launch the official application with
CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATHpointing to the mirrored resources root: the originalUNKNOWN copyfilefailure disappears.
This narrows the problem to copying resources from the packaged source on this machine. The exact Windows/Node encryption mechanism remains to be established.
What is the expected behavior?
- Packaged bundled resources should be usable across ordinary app launches and updates without a custom resource mirror or launcher.
- Repeated deterministic local filesystem failures should trigger bounded retries/backoff and an actionable UI error.
- Plugin staging should reuse verified resources where appropriate and recover safely from partial staging.
Additional information
Workaround validation, 2026-10-20 (UTC+08:00):
The official application was launched in its Windows package context with the resource override explicitly inherited by the child process. Package binaries and app.asar were left unchanged.
After the 10:45 restart, the original UNKNOWN copyfile count was zero. One transient ENOENT unlink occurred during startup; the executor connected to rendezvous on attempt 3 at 10:45:44 and remained connected through the final 10:51:38 observation. The staged plugin manifest matched the verified mirror.
The override is process-scoped. Launching through the normal shortcut omits it and previously reproduced the failure. A durable product fix is needed; future app updates have not been validated with this workaround.
Only sanitized error excerpts and plugin-copy validation results are included. Account/device identifiers, private paths, and raw logs are omitted.
Activity
secheverrianogal-beep commentedon Oct 20, 2026
The important distinction here is between the underlying copy failure and the unbounded restart policy. The reported resource-mirror control test is strong evidence that the packaged-source path matters on this machine, but it does not yet establish the exact Windows encryption/filesystem mechanism.
Suggested implementation and regression coverage:
UNKNOWN copyfilefrom the same source/destination, stop rapid retries and expose an actionable error; reserve automatic retry for errors classified as transient.Acceptance criteria: a deterministic failure stops retrying within a bounded number of attempts, CPU/log growth remains bounded across app restarts, and a subsequent valid package/resource state can recover without manual file edits.
xiaojie0815 commentedon Nov 13, 2026
I reproduced this with Windows MSIX package
26.1106.6628.0installed atD:\WindowsApps. Creating a local Work project showed “Local Work executor failed to start.” The desktop log reportedUNKNOWN: unknown error, copyfilewhile copying the bundledcodex-app-toolsplugin manifest. A separate Windows copy test returned0x80071770(ERROR_ENCRYPTION_FAILED), while reading and writing the same file bytes succeeded.After moving the app to the C: drive, I could create a local Work project successfully. Please include installations on secondary WindowsApps volumes such as
D:\WindowsAppswhen verifying the fix, so users can run Local Work without moving the app to C:.wangjiaze1982-arch commentedon Nov 20, 2026
I can confirm a closely related failure and a working user-side workaround on a separate Windows 10 machine. Thanks for documenting the resource-mirror approach.
Environment / symptom
OpenAI.Codexversion26.1111.2228.0.Local Work executor failed to start.codex-app-tools/.codex-plugin/plugin.jsonsource file had WindowsArchive, Encryptedattributes. Copying it via[System.IO.File]::Copyfailed with an encryption-related IOException; reading and writing the same bytes succeeded.What worked
resourcesdirectory using byte-stream reads/writes, without modifying the installed package.CODEX_ELECTRON_BUNDLED_PLUGINS_RESOURCES_PATHto the local mirror directory.Important limitations
No personal paths, account identifiers, or raw logs are included.
juliansolimando commentedon Nov 20, 2026
Confirmed on Windows — OpenAI.Codex 26.1117.3838.0 (November 20, 2026)
I can reproduce the same Local Work executor failed to start issue in the latest installed version, even after updating and repairing the application.
Environment
OpenAI.Codex 26.1117.3838.0D:\WindowsAppsC:\Program Files\WindowsApps(junction to D:)OkObserved failure
The application launches, but Local Work cannot initialize.
The executor logs repeatedly report:
The failure occurs while copying:
into the user's
executor-pluginsdirectory.Additional bundled plugin copy failures affect
browser,chrome, andunified-computer-use.Independent reproduction
I tested the affected
plugin.jsonfrom the current installed package.cipher /creports:A standard PowerShell
Copy-Itemfails:However, reading the source with
[System.IO.File]::ReadAllBytes()and writing it withWriteAllBytes()succeeds.SHA-256 verification confirms that the original and resulting files are byte-for-byte identical.
Additional observations
Ok.This strongly suggests that the bundled plugin copy operation is incompatible with Windows Application Protected files in this installation configuration.
Expected behavior
Local Work should initialize successfully regardless of whether the MSIX package is installed on the system drive or a secondary application volume.
Could the maintainers confirm whether this issue is already being addressed and whether a fix is planned for the bundled-plugin copy operation?
g1331 commentedon Nov 21, 2026
I reproduced this on November 21 with ChatGPT Desktop 26.1117.41037 (MSIX package
OpenAI.Codex 26.1117.4957.0) on Windows 11 Pro x64, build26300.9818. The package is installed onD:\WindowsApps.On a normal launch, Local Work failed while copying
codex-app-tools/.codex-plugin/plugin.jsonfrom the installed package to the user-localexecutor-pluginsdirectory. The desktop log reportedUNKNOWN: unknown error, copyfileon six consecutive attempts. The scheduled retry delay grew from 1 second to about 24 seconds, and the executor still failed on the same file.I tested that exact source file separately.
CopyFileWreturned Win32 error6000(ERROR_ENCRYPTION_FAILED).CopyFileExWwithCOPY_FILE_ALLOW_DECRYPTED_DESTINATIONsucceeded, and the resulting file matched the source byte for byte.I then launched the same desktop version with a SHA-256-verified local mirror of its bundled plugins. The Local Work executor connected on its first attempt.
Could you include a secondary
WindowsAppsvolume in the regression test and verify that Local Work starts through the standard app entry point?