Repository navigation
Description
What version of the Codex App are you using?
- Current Windows Store package:
OpenAI.Codex 26.818.5229.0(x64) - The repeated failures were logged by package build
26.814.5167.0 - Codex CLI:
0.147.0 - Primary runtime bundle requested:
26.819.11345
What platform is your computer?
Windows 11 Pro x64, version 10.0.26200 (build 26200).
What issue are you seeing?
The Codex desktop primary-runtime updater downloaded the same 501,849,919-byte archive from persistent.oaistatic.com approximately once per hour after every activation failure.
The download URL was:
https://persistent.oaistatic.com/codex-primary-runtime/26.819.11345/codex-primary-runtime-win32-x64-26.819.11345.tar.gz
Local log analysis found:
- First attempt: 2026-08-19 08:37:52 local time
- Successful completion: 2026-08-23 11:48:03 local time
- 101 scheduled attempts in roughly 4 days
- 96 complete archive downloads followed by activation failure
- 4 network-stage failures
- 1 eventual success
- At least 48.678 GB of confirmed traffic from complete archive downloads alone
The repeated error was:
[primary-runtime-installer] primary_runtime_bundle_install_outcome
errorCategory=permission_denied
errorCode=EPERM
failureStage=activate_runtime
outcome=failed
retryable=false
trigger=scheduled_update
errorMessage="EPERM: operation not permitted, rename '%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime' -> '...previous-<uuid>'"
The current runtime directory contained executables being used by Codex. Windows therefore refused the directory rename. That part is expected Windows file-lock behavior. The bandwidth-consumption problem is that Codex deleted the staging directory (including the fully downloaded, verified archive) after the non-retryable activation failure, then the hourly scheduler downloaded the identical 501.8 MB archive again.
This happened silently, with no user notification or visible bandwidth warning.
What steps can reproduce the bug?
- Run Codex Desktop on Windows with the current primary runtime actively in use.
- Make a newer primary runtime bundle available to the hourly scheduled updater.
- Allow the 501.8 MB bundle to download.
- Let activation attempt to rename the active
codex-primary-runtimedirectory. - Observe
EPERMatfailureStage=activate_runtime. - Leave Codex running.
- Observe another full download on the next hourly scheduled check, despite
retryable=false.
What is the expected behavior?
After a complete bundle download and a non-retryable activation failure, Codex should not discard the verified archive and download it again every hour.
Any of the following would prevent the traffic loop:
- retain the verified archive and activate it after Codex exits/restarts;
- defer activation when the current runtime has live processes;
- stop automatic retries after a non-retryable error;
- use exponential backoff and a retry/traffic cap;
- notify the user and offer “restart to finish update”;
- respect metered-network settings.
At minimum, one failed 500 MB update must not become an unbounded hourly re-download loop.
Additional information
No raw log files are attached because they can contain local paths and session details. The counts above were derived from the local Codex desktop logs and the archive size was verified from the HTTP response.
Activity
github-actions commentedon Aug 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jan013013 commentedon Aug 23, 2026
I reviewed #38999. It is related to primary-runtime installation on Windows, but the failure mode and impact here are distinct: the runtime was present, each verified 501.8 MB payload was discarded after a
retryable=falseactivation failure, and the scheduler downloaded it again hourly, producing at least 48.678 GB of traffic. This report is specifically about the unbounded re-download loop and missing backoff/cache/restart handling.zemeng5208 commentedon Aug 23, 2026
This is a good match for one narrow Windows-local failure mode I’ve been tracking. I maintain WinBridge Recovery: https://github.com/zemeng5208/winbridge-recovery
For this issue, the part WinBridge may help with is diagnosing the local activation blocker, not the updater’s hourly retry policy itself. In particular, an
EPERMonis consistent with Windows still having one or more executables/DLLs under the active runtime tree mapped by a live or stale Codex/helper process. WinBridge’s local diagnostics are intended to identify this class of file-lock / runtime-helper ownership problem and distinguish it from cache/version/staging drift before attempting recovery.
A useful separation here is:
retryable=false, scheduling another full download every hour, or failing to defer activation until the owning processes exit. That retry/cache policy needs an OpenAI-side fix.I would also avoid deleting the active runtime directory manually while Codex is running; on Windows that can turn a clean lock failure into a partially staged state. WinBridge does not modify
WindowsApps, and I would not expect it to guarantee a fix if the only problem is the updater lifecycle/backoff logic.The fact that your final attempt eventually succeeded is also useful evidence: it makes a persistent package-corruption explanation less likely and is consistent with the blocking handle eventually disappearing.
scroner888-ux commentedon Aug 25, 2026
This looks like the same underlying issue as #40455 (which I opened independently, before finding this one). My report approaches it from a different angle — network-level packet capture rather than internal error logs — but points to the exact same subsystem and even the same bundle version (
26.819.11345).Adding a few things that might help narrow this down further:
pktmon, deduplicated by PktGroupId+PktNumber to rule out double-counting across NDIS capture points).persistent.oaistatic.comresolves to two A records (104.18.32.47, 172.64.155.209); together they accounted for 98.9% of all captured traffic in a 63-second launch window.Given this, this bug seems to affect anyone who either keeps the app open long-term (hourly loop, as you found) or restarts it frequently (per-launch loop, as I found) — same root cause, different observed cadence. Closing my duplicate (#40455) and linking here.
wakare commentedon Aug 28, 2026
Independent confirmation on Windows 11 x64. I am not attaching raw logs because they may contain local paths and session details.
Environment
OpenAI.Codex_26.818.2441.0_x64__2p2nqsd0c76g026.813.1231726.826.12353Network observations
A local per-process/per-destination traffic collector observed:
persistent.oaistatic.com;The requested archive was:
Sanitized failure signature
Process inspection showed a long-lived bundled
pwsh.exerunning from inside:It was a child of the Codex process. Because the executable being used is inside the directory that activation tries to rename, this is consistent with Windows denying the rename while the old runtime is still mapped by a live helper process.
This independently reproduces the same updater loop with a newer runtime target (
26.826.12353). The important upstream issue is still the same: after a completed download and aretryable=falseactivation failure, the verified archive is not reused and the full payload is downloaded again on the next scheduled attempt. The updater should coordinate helper shutdown, defer activation until restart, retain the verified archive, and/or stop retrying the full download.abdulramonjemil commentedon Aug 28, 2026
Now running into the same issue. Any reliable workarounds???
scroner888-ux commentedon Sep 1, 2026
Independent confirmation on version 26.825.6671.0 (updated today via Microsoft Store, triggered by the same re-download loop this issue describes).
Measured via Resource Monitor across two consecutive cold launches, ~1 minute apart, full close via tray between them:
This rules out "it's just the first-run download" as an explanation — the second launch was worse than the first, consistent with the activation failure described here causing the verified archive to be discarded and re-fetched (and possibly triggering additional requests, as several new remote endpoints appeared on the second launch that weren't present on the first).
railgun20001 commentedon Sep 23, 2026
I hit the same Windows primary-runtime updater failure: repeated downloads followed by
failureStage=activate_runtime,errorCode=EPERMwhile renaming%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtimeto a.previous-*directory. This was on Codex Desktop26.917.6896.0, updating the runtime from26.826.12353to26.905.11957.A Sysinternals Handle scan found two
Code.exe(VS Code) processes holding a handle tocodex-primary-runtime\dependencies\native\poppler\Library\bin. After I closed VS Code, a later scan found a bundledpwsh.exeholding DLLs under the same runtime; its parent wascodex.exe. So VS Code can be one active consumer of the runtime, and Codex-launched shells can keep it in use too.Workaround that succeeded here: save work and fully close VS Code, restart Codex, then wait for the runtime update to finish. I did not need to delete the cache or manually rename the runtime. The subsequent install logged
outcome=installedfor26.905.11957; executable probes and runtime validation passed withproblemCount=0. A later dependency diagnosis reportedinstalled=true, problemCount=0, and the activeruntime.jsonnow reports26.905.11957.If you still see
EPERM, run Sysinternals Handle as administrator and search forcodex-primary-runtimeto identify current holders before retrying. Run the scan from a system PowerShell outside Codex: a PowerShell executable bundled inside the runtime will itself show up as a holder.This is a local workaround for the activation/rename failure, not a fix for the updater discarding a verified download and fetching it again after a non-retryable failure. I also cannot infer from this result that it fixes the separate desktop crash symptoms reported elsewhere.
WilliamsSum commentedon Oct 26, 2026
Additional reproduction: Windows desktop 26.1021.3705.0, observed 2026-10-25
This hourly full-download / EPERM activation-failure loop is still reproducible on a later Windows desktop build.
Environment
OpenAI.Codex_26.1021.3705.0_x64.26200.9711, display version25H2.26.1007.11041.26.1022.11436,win32-x64.Repeated scheduled attempts
The local desktop logs contain the following source-selection and activation-failure pairs. All times below are UTC on 2026-10-25; these rows are scheduled updates, not the separate manual attempt also present in the logs.
Normalized excerpt from the 14:37 outcome, with user paths and generated identifiers removed:
Independently observed network burst
During the 14:35 scheduled attempt, a local connection-counter sampler recorded this increase for the desktop process
ChatGPT.exe(the executable name inside the Codex Windows package), counting only connections routed through the proxy:The download-source event preceded this burst; the EPERM activation error followed it. These sampled connection deltas are an observation lower bound, not an exact archive checksum or a complete accounting of historical bandwidth. No total historical traffic figure is claimed here.
Multiple processes were running executables from the existing runtime directory. That is consistent with the in-use runtime concern in this issue, but the particular handle or process responsible for the rename failure was not isolated.
Local workaround and verification
Automatic workspace dependencies were disabled (
workspace_dependencies=false). During a maintenance window, Codex and its old runtime tool processes were stopped, the previous runtime was retained for rollback, and a separately downloaded, SHA-256-verified official26.1024.11018bundle was activated offline. Unrelated user processes were preserved.The new runtime's Node, Python and PowerShell executables launched successfully, and Codex reopened at 2026-10-25T15:48:05Z. During the subsequent check at approximately 17:00Z, the active runtime version was confirmed, the feature remained disabled, and the still-updating desktop logs contained no new runtime-download or update-failure events after maintenance. That spans the prior hourly retry interval.
This combined workaround does not establish that the updater defect itself is fixed, or that changing the configuration alone reliably cancels an already running updater. The automatic dependency updater was left disabled.
Requested behavior
Please prevent repeated full archive downloads after a non-retryable activation failure: retain and reuse a verified download, defer activation until the active runtime can be replaced, stop or back off repeated attempts, and expose a visible restart-to-finish / bandwidth warning.
Only this sanitized technical summary is shared; raw logs, session transcripts, credentials, private URLs and personal filesystem paths are not attached.
railgun20001 commentedon Oct 26, 2026
Joyridr commentedon Oct 29, 2026
Can confirm this still happens in
26.1023.6123.0/26.1023.6621.0on Windows 11, where[primary-runtime-installer]repeatedly unpacks ~1.20 GB into%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\.staging-*and fails activation withEPERM(see also #58009).Why it happens & immediate local workaround
EPERM: On Windows, if any background child process spawned fromcodex-primary-runtime\dependencies\node\node.exe(such as@oai/artifact-toolorcua_node) still holds an open handle insidecodex-primary-runtime, the final directory swap (fs.rename) from.staging-<id>fails withEPERM.%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\runtime.jsonstays stuck on an older"bundleVersion"(e.g."26.909.12148"), even when the extracted runtime binaries are already present.Workaround for affected users
.staging-*directories inside%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\."bundleVersion"in%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\runtime.jsonto match (e.g.,"26.1025.11240").Once
runtime.jsonmatches the active bundle version,[primary-runtime-installer]immediately stops re-downloading/unpacking the 1.2 GB archive.TinasyChiang commentedon Nov 1, 2026
Additional user reproduction (Windows desktop): on cold launch, my Flash proxy traffic meter shows a several-hundred-megabyte download associated with using the ChatGPT desktop app. In one observed 24m35s window, the meter showed 594.1 MB received and 28.9 MB sent while ChatGPT was the only app I had open. I have not captured per-process packet data or confirmed the destination host, so the figures are proxy-level totals rather than a packet-level attribution. The repeated launch-time download symptom appears consistent with this report. I have not attached the screenshot because it contains network address information.
dreamer12532779-afk commentedon Nov 2, 2026
Additional reproduction, observed November 1–2, 2026
Windows primary-runtime updater still re-downloads ~511 MB after EPERM; 26 failures and ~13.3 GB estimated traffic on desktop 26.1027.3384.0
Impact
The desktop app repeatedly downloads a large primary-runtime archive in the background, then fails to activate it. This has consumed my paid VPN/proxy data allowance and caused unnecessary cost. I need a fix that preserves normal Codex operation and the existing workspace dependency tools, without disabling documents, spreadsheets, presentations or PDF support.
Environment
Observed failures
Local desktop logs, deduplicated by bundleOperationId, contain 26 primary_runtime_bundle_install_outcome failures between 2026-11-01 17:56:30 and 2026-11-02 14:25:04 (Asia/Shanghai, UTC+08:00).
All 26 fail with failureStage=activate_runtime, errorCategory=permission_denied, errorCode=EPERM, outcome=failed. The outcome also reports retryable=false, yet the scheduled updater continues approximately hourly.
Normalized error sample (local paths and generated identifiers removed):
2026-11-02T06:04:06.598Z
[primary-runtime-installer] primary_runtime_bundle_install_outcome
bundleVersion=26.1026.10807
durationMs=214468
errorCategory=permission_denied
errorCode=EPERM
failureStage=activate_runtime
outcome=failed
retryable=false
trigger=scheduled_update
errorMessage="EPERM: operation not permitted, rename
'%USERPROFILE%.cache\codex-runtimes\codex-primary-runtime'
-> '\codex-primary-runtime.previous-'"
Bandwidth evidence and limits
The archive URL logged by the updater is:
https://persistent.oaistatic.com/codex-primary-runtime/alpha/26.1026.10807/codex-primary-runtime-win32-x64-26.1026.10807.tar.gz
A HEAD-only request returned HTTP 200 and Content-Length: 510862059. No full archive was downloaded as a diagnostic test.
26 attempts multiplied by this archive size equal 13,282,413,534 bytes, approximately 13.3 GB decimal. This is an estimate based on archive size and activation-failure counts, not an exact VPN billing measurement.
During a live attempt on November 2, the local proxy connection counter independently showed 386,520,152 downloaded bytes on one persistent.oaistatic.com connection. That attempt subsequently failed with EPERM at 14:25:04 local time and is included in the 26 failures.
Active runtime consumer
A read-only Windows Restart Manager resource query identified an active Node.js process using the existing runtime's node.exe. Process metadata maps it to @oai/artifact-tool/dist/artifact-session/host-daemon.mjs, launched by the desktop app. No processes were stopped. This is evidence of an active runtime consumer, not proof that it is the only cause of the directory rename failure.
Temporary mitigation
A reversible proxy rule currently blocks only the exact host persistent.oaistatic.com. The existing runtime, workspace_dependencies=true, normal ChatGPT proxy rules and domestic DIRECT rules are preserved. The block is live and the archive host has no active download connections. This stops additional large downloads but is not a root fix and also pauses other downloads hosted on that exact hostname.
Requested resolution
Only this sanitized technical summary is intended for submission. Raw desktop logs, conversation transcripts, credentials, proxy subscription details, IP addresses, personal paths and generated session/operation IDs are not attached.
Curiosi-Orch commentedon Nov 3, 2026
I don't think this issue will be resolved anytime soon. Here is a tool to interrupt these unexpected downloads and save your data. :) https://github.com/Curiosi-Orch/CodexProxyMask
Marsupilami2001 commentedon Nov 4, 2026
Follow-up: restart does not resolve the runtime activation lock (November 4, 2026)
A further read-only investigation on Windows confirms that restarting Codex does not eliminate the underlying conflict: the desktop app launches its own artifact-session daemon directly from the active primary-runtime directory. The updater subsequently tries to rename that same directory during activation.
Observed process chain
%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\dependencies\node\node.exe.@oai/artifact-tool/dist/artifact-session/host-daemon.mjswithin the runtime tree.codex-primary-runtimetocodex-primary-runtime.previous-<id>, failing withEPERMatfailureStage=activate_runtime.The process investigation identified PID
15032as an active runtime consumer, but did not conclusively establish that this specific PID is the sole handle blocking the rename. The reproducible lifecycle conflict is the important finding.No processes were terminated, no files or configuration were changed, and no update was triggered during this investigation. Process/start-time observations were made on November 4, 2026 (CET).
Suggested fix: Coordinate shutdown/restart of app-owned artifact-session/runtime helper processes before activation, or stage the update for an app exit/restart where the runtime directory is no longer in use. Independently, a non-retryable activation error must not cause another full archive download on the next hourly update check; preserve the verified archive or suppress retries until the blocking condition changes.
bherreraicon commentedon Nov 4, 2026
Español
Puedo confirmar este problema en más de una máquina Windows y a través de varias actualizaciones recientes de Codex Desktop.
Patrón observado repetidamente:
%LOCALAPPDATA%\OpenAI\Codex\bin.<hash>, Codex crea múltiples carpetas.staging-<hash>-XXXXXX.codex.exeválido y ejecutable..staging-<hash>-XXXXXXa<hash>funciona inmediatamente.codex.exeresultante ejecuta--versioncorrectamente y Codex Desktop vuelve a iniciar.Casos recientes que hemos reproducido:
b6c7fc9497179c98a159911ff70742e9El mismo patrón se reprodujo también en una segunda máquina independiente.
Workaround verificado:
Después de esto, Codex vuelve a funcionar normalmente.
Esto parece indicar que el contenido del staging ya es correcto y que el fallo está específicamente en la promoción/rename final del staging al directorio content-addressed. Sería muy útil que Codex tratara este fallo como recuperable: reintento acotado del rename, coordinación de una sola materialización por hash y limpieza posterior de staging huérfanos.
English
I can confirm this issue on more than one Windows machine and across several recent Codex Desktop updates.
Repeatedly observed pattern:
%LOCALAPPDATA%\OpenAI\Codex\bin.<hash>directory, Codex creates multiple.staging-<hash>-XXXXXXdirectories.codex.exe..staging-<hash>-XXXXXXdirectory to<hash>succeeds immediately.codex.exeruns--versionsuccessfully and Codex Desktop starts working again.Recent reproduced cases:
b6c7fc9497179c98a159911ff70742e9The same pattern was also reproduced on a second independent Windows machine.
Verified workaround:
After this, Codex works normally again.
This strongly suggests that the staged payload is already valid and that the failure is specifically in the final promotion/rename from staging to the content-addressed runtime directory. It would help if Codex treated this as recoverable: bounded retry/backoff around the rename itself, single-flight coordination per content hash, and cleanup of orphaned staging directories on the next successful launch.
bherreraicon commentedon Nov 4, 2026
🔧 Small human-readable summary / Resumen con un poco de humor
🇪🇸 Versión corta: cada actualización nos está regalando una nueva colección de carpetas
.staging-*😅. El contenido está bien, elcodex.exefunciona, pero la “mudanza” al directorio final no termina. Cerramos Codex, hacemos el rename manual y… 🧟♂️ Codex vuelve a la vida.🇺🇸 Short version: every update seems to gift us a fresh collection of
.staging-*folders 😅. The payload is fine andcodex.exeruns, but the final move to the content-addressed directory does not complete. Stop Codex, rename one staging folder manually and… 🧟♂️ Codex comes back to life.🧩 What makes this especially useful diagnostically:
WindowsAppspermissions;CODEX_CLI_PATHworkaround when the final hash directory is created correctly.🙏 If maintainers can reproduce the final rename failure, a supported repair/retry path here would save users from having to perform the “staging resurrection ritual” after updates.
cjhshady-alt commentedon Nov 6, 2026
Additional reproduction on November 6, 2026
The Windows primary-runtime download/activation loop is still reproducible after updating the desktop app. This follow-up adds a newer affected runtime, two explicit activation failures, sanitized structured log excerpts, and a successful manual recovery with the built-in spreadsheet tools still working.
Environment
10.0.26300.0.26.1029.70936, build24905, production. Installed MSIX package version26.1029.9216.0. The most recent app update check reportedup_to_date.26.1103.10131, confirmed healthy by the client's dependency diagnosis.26.1104.11149, releaselatest, Windows x64 archive.506018696bytes. SHA-2565ec755e0d8a7a213d6b7e9bdff89a592d19ef293553d021cdcd344131beabfa9.https://persistent.oaistatic.com/codex-primary-runtime/alpha/26.1104.11149/codex-primary-runtime-win32-x64-26.1104.11149.tar.gz.Observed sequence
All timestamps below are UTC+08:00 on November 6, 2026.
26.1103.10131produced the same scheduled download /activate_runtime/EPERMsequence approximately hourly from 00:14 through 08:14. The failure events includedretryable=false.26.1103.10131succeeded after coordinating an identified artifact daemon. The client reportedinstalled=trueandproblemCount=0at 09:17.26.1104.11149at 09:21:24.875 and logged its download source at 09:21:24.927. Installation failed at 09:22:38.745 witherrorCode=EPERM,failureStage=activate_runtime,trigger=startup_missing, andhasConfiguredRuntime=true.26.1103.10131. Both attempts above have explicit failed outcomes. The error is the rename of<RUNTIME_DIR>to<BACKUP_DIR>.26.1104.11149payload successfully. At 09:46, client diagnosis reported that version withinstalled=trueandproblemCount=0.2.8.129, covering workbook creation, typed values, a SUM formula, recalculation5 -> 7 -> 5, XLSX export/import, and value/formula round-trip assertions.These observations show recurrence when the client selects a newer runtime, even after the previous target has been successfully activated. Each failed attempt reached
activate_runtimeafter logging the same archive source. The archive size above is package metadata. Exact aggregate transferred or billed bytes were not measured in this investigation.Failure mechanism and evidence limits
The confirmed failure point is the local runtime-directory rename during activation. An app-owned artifact daemon used Node and native components inside the active runtime tree. Coordinating that consumer allowed the manual directory switch to complete. This supports a runtime-consumer lifecycle conflict as a leading explanation. The precise blocking handle at either failed rename remains unidentified.
A later instantaneous read-only DELETE-access probe succeeded with Win32 error 0. Its scope was opening and closing a handle, so it provides no direct evidence about the earlier rename operation or its blocking handle.
Read-only inspection of the installed updater showed staging cleanup after an install attempt and no durable reuse path for a verified archive after activation failure in the inspected path. A later startup or scheduled check can enter the install path again. The
retryable=falseresult from an individual attempt therefore still permits the repeated-download loop through later invocations.Manual recovery restored the current runtime. Future-version recurrence remains unresolved.
Requested fix while preserving built-in tools
Please preserve the built-in document, spreadsheet, presentation and PDF/workspace-dependency tools as part of the solution.
EPERMas pending activation or pending restart, with bounded backoff and explicit status. Prevent the next startup or hourly check from fetching the identical archive again.Built-in tools remain enabled. This feedback task changes no application settings or runtime files. The successful spreadsheet test used a disposable workbook.
Sanitized structured log excerpts
The excerpts below were rebuilt using a field allowlist. They retain event times, versions, stages, error codes and public archive identifiers. Local paths are represented by role placeholders. Usernames, hostnames, account details, credentials, proxy details, PIDs, operation/session/thread identifiers, source log filenames, conversations and business files have been removed. Events from maintenance and smoke tests are explicitly labeled with their source.
Structured runtime and recovery events, UTC+08:00
shundao2025 commentedon Nov 7, 2026
I reproduced the archive activation loop on Windows x64 with desktop build
26.1103.4239.0. The installed primary runtime was26.1103.10131and the updater kept fetching26.1104.22356(508,599,655 bytes). The logs showedactivate_runtime,EPERM, andretryable=falsewhen renaming the active runtime directory. Later scheduled checks requested the same archive again.After ChatGPT and two PowerShell processes using the old runtime exited normally, I verified the SHA-256 of an archive left by an earlier attempt and activated it locally. The desktop client loaded the new runtime with zero reported problems. DOCX and XLSX read/write round trips passed, and no new download appeared during 70 minutes of observation. This was a manual recovery of the current version.
Could you provide an official Windows build containing the updater fix, or identify the first build and rollout that includes it? The behavior I would like to verify on a real update is:
One follow-up on the MSIX path. On the same Windows x64 client, the runtime selection logs show
frameworkEligible=true,frameworkEnabled=false,reason=gate-disabled, andruntimeSource=archive, even though the client manifest lists an x64 runtime MSIX.Could you confirm whether there is a supported way for eligible stable Windows clients to enable the Primary Runtime MSIX framework, and whether that update path can stage a verified package and defer activation without downloading it again? If MSIX is unavailable for this build, please identify the Windows build or rollout that will provide the same behavior for the archive updater.
bherreraicon commentedon Nov 9, 2026
🟢 Update: this time Windows sign-out was enough / Actualización: esta vez bastó cerrar sesión de Windows
🇪🇸 Nueva observación, reproducida en dos máquinas al mismo tiempo:
.staging-*y haciendo el rename al hash final.CODEX_CLI_PATHy sin reconstruir el runtime.🧩 Esto parece importante porque sugiere que algo cambió para bien: quizá la build actual vuelve a intentar correctamente la promoción del runtime cuando desaparecen los handles/procesos de la sesión anterior.
😄 En otras palabras: por primera vez en varias actualizaciones, no tuvimos que realizar el ritual de resurrección de
.staging-*.Sería interesante confirmar si esto es resultado de una mejora deliberada en la lógica de retry/recovery. Si es así, va en la dirección correcta. 👍
🇺🇸 New observation, reproduced on two machines at the same time:
.staging-*directory to the final hash directory.CODEX_CLI_PATH, and without rebuilding the runtime.🧩 This seems significant: it may indicate that the current build now retries or completes runtime promotion correctly once stale handles/processes from the previous Windows session are gone.
😄 For the first time in several updates, the
.staging-*resurrection ritual was not needed.If this behavior is the result of a recent recovery/retry improvement, it is definitely a step in the right direction. 👍
litao1104 commentedon Nov 20, 2026
It looks like this bug will never get fixed, since today is already November 20 2026.
iu66666 commentedon Nov 23, 2026
I can confirm that this issue is still reproducible on Windows in November 2026.
EPERMduringactivate_runtimecodex-primary-runtimetocodex-primary-runtime.previous-*node.exeloading a DLL from the active runtime directory.persistent.oaistatic.com, consuming up to 10 GB of VPN traffic per day.Please consider deferring runtime activation while files are in use and retaining downloaded archives after activation failures instead of downloading them again. 这玩意至少消耗了我100G的节点流量,真坑