Repository navigation
Description
What version of the Codex App are you using?
Windows MSIX package: 26.924.2738.0.
Installed app package.json version: 26.924.22138.
Bundled app-server: 0.158.0-alpha.2.1.
The same startup warning was also observed with Windows package 26.924.1866.0.
What subscription do you have?
Signed-in ChatGPT account. Exact plan was not captured for this report.
What platform is your computer?
Windows 10 Pro for Workstations, build 19045, x64; Microsoft Store installation on a non-system AppX volume.
What issue are you seeing?
Following recent updates, the first app launch displays the blocking "Organization settings could not be loaded" dialog. Clicking Retry then opens the app successfully. The user originally described this as the first launch after boot; the two inspected failure occurrences also coincide with different runtime versions, so a same-version every-boot reproduction is not yet established.
Sanitized startup log:
Desktop startup policy read failed attempt=1 phase=policy-read reason=timeout retrying=false
Read-only inspection of the installed JavaScript identified a local-preparation/request-budget interaction that reproduces this symptom without a network fault:
initializeNodeNetworkPermissionsestablishes a 60-second outer deadline and passes at most 30 seconds toreadStartupApplicationRequirements.- The latter records its start time before resolving/preparing the local app-server launch configuration.
- On WindowsApps installations, this preparation can synchronously hash/copy the bundled executable and Node runtime into the local runtime cache.
- Only after preparation does the transport start. Its timer is computed as
max(1, timeoutMs - elapsedPreparationTime). - If local preparation takes more than 30 seconds, the newly started transport may get only 1 ms. If preparation also exhausts the 60-second outer deadline, the first timeout is logged with
retrying=false. - The dialog suggests network/proxy/firewall/account issues, although the policy RPC need not have been sent. Manual Retry resets the deadline and benefits from the now-prepared runtime.
Observed evidence and limitations
On September 27 (UTC), the app process started around 15:04:08; the new CLI cache file was created around 15:04:11; the new Node runtime cache directory was created around 15:04:12 and last modified around 15:05:23 (approximately 71 seconds). After Retry, normal app-server initialization completed (151 ms recorded) and configuration-requirements reads succeeded.
These filesystem times are not a function profiler, and early log events are buffered. They strongly fit the mechanism but do not prove the unique cause of every real failure. The live failure was not instrumented, and this report does not claim to rule out every concurrent factor.
What steps can reproduce the bug?
A deterministic isolated test used the actual extracted policy-read function and complete startup-requirements module from this installed app, with a simulated clock, local resolver, transport and policy boundary:
- Advance the clock by 71 seconds during local launch preparation.
- Let the mock transport open after 5 ms and return valid initialization/policy responses.
- Original code: timeout, no automatic retry, dialog displayed, zero policy RPC requests.
- Original code with simulated manual Retry: successful policy validation and startup.
- Candidate excluding local preparation from both request and outer retry budgets: succeeds without the dialog.
This is synthetic source-level proof, not live patched Electron/MSIX or cold-boot acceptance. Production source was unmodified when this report was submitted.
What is the expected behavior?
Prepare the local runtime before charging the organization-policy request/retry budget, or account for preparation separately. Preserve fail-closed enforcement: genuine authentication, protocol, policy-validation and network failures must not be ignored. Report local initialization delays distinctly from network failure.
Additional information
Affected installed members:
.vite/build/startup-requirements-Bp7TI6kn.js.vite/build/application-network-startup-CY4ZWOz-.js
A review-only candidate restarts the per-request timing after local preparation and returns that elapsed preparation time to the outer deadline. Twelve isolated tests pass, including real request-timeout simulation, server timeout, authentication rejection, invalid protocol, missing executable, policy-validation rejection and transient-503 retry. It does not disable the policy gate or use a background launcher.
Original member SHA-256:
- startup-requirements:
9EBAAB3AA876547CC4FC4F2D6AD57E79A51649D74852AA2B523C0108326C3CC2 - application-network-startup:
7936A5B6373BE818C7CCE78CAD7C18E4E156C8400D3B16F5B440D2626A1CC661
Related but not established duplicates: #48590 (same Windows dialog, different unresolved DNS theory and Retry still fails) and #48481 (macOS local backend exit incorrectly described as organization/network failure).
No credentials, conversation transcripts, personal paths or user configuration are included. No VPN, proxy, DNS, firewall, sign-in or organization-policy settings were changed during diagnosis.
Maintainer routing
CC @tibo-openai — sharing at the affected user's request. Could the desktop startup team review the local-runtime-preparation versus policy-deadline interaction above? The proposed correction preserves fail-closed organization-policy enforcement; no network configuration changes are requested.
Related relocation-performance report
#47770 independently reports slow synchronous Windows runtime materialization. This issue is narrower and complementary: charging that local work to both the organization-policy request and retry deadlines can produce a blocking, network-worded dialog before any policy RPC. A faster copy path may reduce its frequency, but separating the budgets is still necessary on sufficiently slow local preparation.
Local deployment finding
Read-only inspection found EnableEmbeddedAsarIntegrityValidation and OnlyLoadAppFromAsar enabled in the installed chrome.dll. The current ASAR header hash also matches the Integrity / ElectronAsar resource embedded in the signed ChatGPT.exe. Therefore a source-only local archive replacement is not being deployed: changing members requires a changed header, which no longer matches the signed executable. No integrity fuse, executable, ACL, or official package has been modified. An official packaged fix is needed to preserve the existing signature/update chain.
Activity
github-actions commentedon Sep 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ohjaewook8-prog commentedon Sep 30, 2026
Additional read-only evidence from Windows MSIX build 26.928.2636.0:
cua_nodedirectory's creation-to-last-write timestamp span was about 132 seconds. These timestamps are correlations, not function profiling.phase=policy-read reason=timeout retrying=false. The local stdio app-server initialized successfully in 111 ms afterwards.copyFileSyncattempt followed byreadFileSync/writeFileSyncfallback for errno 6000 orUNKNOWN/-4094.UNKNOWN/-4094; fallback then succeeded. The observed strategy took 231.754 ms; direct byte copying took 8.795 ms. Both sets matched the source bytes. This is a small, order-dependent sample, not a whole-tree cold-cache benchmark, and does not establish a whole-app speedup.ready-to-showin 5.127 seconds from process creation, with no policy-read failure. This excludes shortcut activation time before process creation.The installed executable has a valid OpenAI Authenticode signature. The Electron fuse wire is version 1 with both embedded ASAR integrity validation and ASAR-only loading enabled. No signed executable, archive, fuse, ACL, or organization policy was modified. No active runtime cache was deleted or replaced.
Could the desktop startup team provide an official signed fix that:
The current restart is usable, but the update-first-launch defect has not been accepted as permanently fixed. Please identify the release/build containing the correction and its first-launch regression coverage.
GuoYichenOVO commentedon Oct 2, 2026
Additional occurrence on a separate Windows x64 Microsoft Store installation, reported with the affected user's authorization.
Package: OpenAI.Codex
26.928.4866.0. The previous package was26.928.3736.0. The blocking Chinese dialog is “无法加载组织设置” (Organization settings could not be loaded), with Retry / Sign out / Quit.Observed relative timeline (exact date, timezone and wall-clock times omitted):
stdio_transport_spawned, and immediately records:Read-only inspection of the installed
application-network-startupmember confirmsreadStartupApplicationRequirementsstarts its clock before awaiting local launch preparation, then constructs its timer withMath.max(1, timeoutMs - (performance.now() - start)). The Windows preparation includes synchronous runtime hashing/materialization and removal of older cached runtimes. This is consistent with the budget interaction described in this issue.After runtime preparation completed, a separate diagnostic invocation of the new bundled CLI initialized in 185 ms and returned
configRequirements/readsuccessfully at 188 ms total (requirements: null). In the previous version, separate diagnostics also returned successfully with and without proxy environment variables. These are backend tests, not a complete cold-start Electron acceptance test.Limitations: filesystem creation times and process times are not a function profiler; no precise breakdown of copying versus cleanup versus antivirus overhead was captured. The evidence strongly supports local preparation consuming the deadline in this occurrence, but does not establish the cause of every dialog or rule out concurrent factors.
Please review this startup budget separation and the misleading network-focused recovery message. Preserve policy enforcement and genuine request/authentication failures. No packaged source, integrity checks, authentication state, proxy or firewall settings were modified. This comment contains only sanitized diagnostic findings; no credentials, personal file paths or conversation transcripts.
Asylum831 commentedon Oct 3, 2026
Additional occurrence after updating to Windows MSIX 26.930.3748.0, submitted with the affected user's explicit authorization. This is an update to the earlier diagnosis, not a claim that the old timeout implementation is unchanged.
New evidence (October 3, 2026)
The first launch after this update again showed the blocking Chinese "Unable to load organization settings" dialog.
Sanitized log excerpt (UTC):
Read-only inspection of the installed bundle shows an important improvement compared with 26.930.2377.0:
copyFileSyncper file, then falls back toreadFileSync/writeFileSyncfor errno 6000 or UNKNOWN/-4094.Observed filesystem evidence for the newly prepared Node runtime:
manifest.json,bin/node.exe, andbin/node_repl.exeall match the installed source. These are selected-file checks, not a claim of whole-tree hash verification.configRequirements/readsucceeded at 2026-10-03T01:37:47.037Z, with recorded duration 5 ms and no error code.coreGateEnabledAtStartup=false,selectedRuntimeSource=bundled.Filesystem timestamps are not a function profiler and do not uniquely attribute the full delay to a single syscall. Nevertheless, the explicit
phase=preparationtimeout, the >120-second runtime materialization span, and subsequent successful policy reads strongly support a remaining local preparation deadline failure on this occurrence, rather than establishing a network or account failure.Remaining issue
Separating the policy budget is a meaningful improvement, but the same user-visible blocker still occurs when cold runtime preparation exceeds the new 120-second budget. The unchanged slow copy path is related to #47770. A successful warm restart should not be considered first-launch regression acceptance.
Could the desktop startup team review:
The installed app archive/executable, integrity checks, ACLs, policy settings and security protection were not modified. No conversation transcripts, project contents, memory data, credentials, account identifiers, personal filesystem paths or full configuration are included in this report.
YanChao001 commentedon Oct 5, 2026
Additional occurrence on Windows MSIX 26.930.3930.0, following 26.930.2377.0, with measurements collected on October 5, 2026. The observed delay and official Retry recovery are consistent with the remaining preparation-deadline problem described in the October 3 update. This adds bounded copy-method measurements related to #47770 and a separate complete streaming-copy/full-verification test.
Environment
OpenAI.Codex 26.930.3930.0; package statusOk, executable signature valid.cua_nodefiles (manifest.json,bin/node.exe,bin/node_repl.exe) haveArchive, Encryptedattributes; the corresponding finalized cache files haveArchivewithoutEncryptedorCompressed.Observed first launch and official recovery
The first launch after this update created background
ChatGPT.exeprocesses but did not provide a usable main window while the new bundled Node runtime was being prepared.cua_noderuntime: 2,367 files, totaling 251,349,200 bytes (approximately 239.7 MiB).No organization-policy check was disabled or bypassed to recover the window.
Current deadline behavior
Read-only inspection of the shipped
.vite/build/application-network-startup-ouXbhtc5.jsand.vite/build/startup-requirements-BXJhIMRW.jsconfirms that this build separates local preparation from the policy request/retry budgets: preparation has a 120,000 ms elapsed-time limit, followed by the policy request and retry budgets. This differs from the earlier implementation where local preparation consumed the approximately 30-second request / 60-second retry budgets.The preparation wrapper checks elapsed time after the preparation promise resolves as well as racing it against a timer. Consequently, a long synchronous preparation operation can complete its work and still be rejected for exceeding the 120-second limit. The roughly 330-second preparation span, installed code, observed recovery dialog, and successful same-process Retry support this mechanism as an inference. They do not substitute for an original phase-specific failure log or a trace of the first policy RPC.
The shipped runtime-copy helper still makes a synchronous
copyFileSyncattempt for each file, and on errno 6000 orUNKNOWN/-4094falls back to synchronousreadFileSyncpluswriteFileSync. The recursive traversal and materialization path also use synchronous filesystem operations. This description summarizes the installed implementation; no production package code was changed.Bounded independent copy-method measurements
Using independent Node.js 24.14, 32 small files from the same packaged runtime were tested with temporary diagnostic destinations. These are later, warm measurements, not a replay or profile of the original 330-second launch.
copyFileSyncfrom the packaged sourcecode=UNKNOWN,errno=-4094readFileSyncfrom the same packaged sourcecopyFileSyncfrom the finalized, unencrypted cachereadFileSync+writeFileSyncfrom the packaged sourceThese probes show a reproducible cost in the failed packaged-source copy attempts on this installation. They also demonstrate that the same bytes can be read and written successfully using the alternate byte-copy path. The sample medians should not be multiplied by the total file count to claim an exact explanation of the full startup delay.
Complete streaming copy and full verification
A separate test streamed the complete installed
cua_nodetree into an isolated, diagnostic-owned temporary directory and verified all relative file paths, sizes, and SHA-256 digests against the source before and after copying.The copied runtime's three-file descriptor hash (
manifest.json,bin/node.exe,bin/node_repl.exe) produced45309f9050f7314b, matching the application's existing finalized cache key. All full-tree checks passed. The signed installed package and existing application cache were not modified by this test, and the isolated temporary copy was removed afterwards.This was a later warm test. The earlier approximately 329.65-second interval was an update-first-launch observation under different conditions, so these timings are not a controlled cold-start comparison. The result establishes that the complete bytes and required runtime descriptor can be reproduced and verified using a streaming path; it does not guarantee a 26-second first launch after the next update, or claim production launcher integration has been accepted.
Evidence limits
Encryptedattribute andUNKNOWN/-4094failures were observed directly. This occurrence did not capture the underlying native Win32 error for every failed production copy call, so it does not attribute every millisecond to encryption processing or security software.Requested follow-up
Could the desktop startup team retain the improved preparation/policy budget separation and address the remaining cold preparation behavior?
The installed archive/executable, integrity checks, ACLs, proxy, firewall, sign-in, security protection, and organization-policy settings were not changed. This comment contains selected diagnostic facts only, with no raw logs, configuration, credentials, account identifiers, session identifiers, conversation content, project contents, usernames, or personal paths attached.
OrdinaryFolk01 commentedon Oct 7, 2026
Windows desktop 26.1002.6548.0: first-launch runtime preparation exceeds 120-second limit
Additional occurrence on Windows MSIX 26.1002.6548.0
The first launch after updating again displayed the blocking Chinese dialog “无法加载组织设置” (“Organization settings could not be loaded”), with Retry / Sign out / Quit. The affected user reports that this recurs on the first launch after updates and explicitly requested this English report.
This adds a newer affected build and an explicit preparation-phase timeout log to the remaining 120-second preparation-deadline behavior already discussed here.
Environment
OpenAI.Codex 26.1002.6548.0.Microsoft Windows NT 10.0.26340.0, x64.Observed evidence
The desktop startup log records:
The newly created local
cua_noderuntime contains 2,365 files. Across those files, the earliest-to-latest creation-time interval is 184.174 seconds, approximately 3 minutes 4 seconds. This exceeds the installed preparation wrapper's 120,000 ms limit.These are filesystem timestamps, not a profiler measurement of the copy function. They support a prolonged new-runtime materialization interval; they do not identify the exact contribution of copying, hashing, cleanup, filesystem filters, or other concurrent work.
Read-only inspection of the installed members:
.vite/build/startup-requirements-BePnAl1c.js.vite/build/application-network-startup-Bt0a8E1L.jsconfirms:
policy-readand starting the policy retry deadline.copyFileSyncper file, withreadFileSync/writeFileSyncfallback for errno 6000 orUNKNOWN/-4094.retrying=falseis consistent with the installed automatic-retry condition being limited to eligiblepolicy-readfailures.The inspected desktop process subsequently reached normal app startup, including the local app-server and an active chat. This report does not assert whether recovery involved a Retry click or a separate relaunch; that interaction was not captured.
Reproduction pattern
phase=preparation reason=timeout retrying=falselog.No cache was deleted to force another reproduction during this investigation. The user-reported repeated-update pattern and the inspected logs are the real-world evidence; no instrumented cold-start replay or controlled performance benchmark was run.
Requested fix
Please address the remaining update-first-launch behavior while retaining the improved separation between local preparation and policy requests:
The evidence strongly supports local preparation exceeding its deadline in this occurrence. It does not prove that every organization-settings dialog has this cause or that every fallback copy attempt failed on this installation.
Only selected diagnostic facts are included. No credentials, account or session identifiers, personal filesystem paths, conversation transcripts, project contents, or full configuration files are attached.
NoelCornel commentedon Oct 7, 2026
Additional reproduction on Windows desktop 26.1002.6548.0 (October 7, 2026)
Adding a sanitized latest-build reproduction to this existing startup-deadline issue, rather than filing a duplicate. Related runtime-materialization performance report: #47770.
Verified versions
26.930.7945.0to26.1002.6548.0; both the registered AppX version and new packaged executable path were verified.0.162.0-alpha.2.0.160.1(separate install; updating it did not fix desktop startup).Sanitized installation / migration topology
C:\Program Files\WindowsApps\OpenAI.Codex_<version>_x64__<family>directory is a Junction toD:\WindowsApps\OpenAI.Codex_<version>_x64__<family>.LocalCacheandLocalStateunder%LOCALAPPDATA%\Packages\<package-family>are Junctions toD:\WpSystem\<SID>\AppData\Local\Packages\<package-family>\....%USERPROFILE%\.codexis a Junction to a normal directory on E:;CODEX_HOMEpoints to that same E: directory. The current project/workspace is also on E:.%LOCALAPPDATA%\OpenAI\Codexis a normal directory under the C: user profile, not a Junction.app\resources\cua_node\bin\node.exeexists and has the WindowsEncryptedattribute.Observed post-update timeline (UTC+08:00)
71e3f41277f96d73to2c9e75c4e9c71beb.phase=preparation reason=timeout, with 2,367 files / 251,349,184 bytes materialized over approximately 176 seconds. A subsequent warm launch of that package succeeded without the dialog.Source inspection and important limits
Read-only inspection of the new installed
.vite/build/startup-requirements-BePnAl1c.jsstill shows a 120,000 ms preparation deadline, a Promise.race against that deadline, and an elapsed-time check after preparation returns. The current observed failure isphase=preparation, distinct from the olderpolicy-readbudget described in the initial issue.Filesystem creation spans are not a profiler: these measurements locate slow local CUA preparation, but do not isolate decompression, source copying, metadata work, per-file fallback costs or filtering. A later
[install-primary-runtime] primary_runtime_selection ... runtimeSource=archivelog belongs to the primary runtime after Retry, not evidence that the earlier CUA preparation was .tar.gz extraction. No cache was deleted to manufacture this reproduction, and no signed application binaries, integrity settings, organization policy or proxy settings were modified.Requested investigation
Please investigate local runtime preparation exceeding the startup deadline on secondary AppX volumes / packaged-file contexts, and report this phase separately from network/account-policy errors. Any fix should retain fail-closed organization-policy enforcement. We have not established that every Windows reboot or future update will reproduce the issue.
Only sanitized versions, path topology and minimal diagnostic excerpts are shared here; no raw logs, chat transcripts, usernames, SIDs, credentials or project names are attached.
Nitroglycerine-X commentedon Oct 16, 2026
Further update-first-launch reproduction on Windows MSIX 26.1013.3656.0 (October 16, 2026)
The affected user reports the same pattern: the first launch after an update waits several minutes, shows the Chinese “Unable to load organization settings” dialog, and recovers after Retry. Later launches of the same build are fast.
Read-only checks found:
The installed Microsoft Store package is
OpenAI.Codex 26.1013.3656.0(the preceding running build was26.1007.9446.0).The new per-user
cua_noderuntime cache contains 2,369 files totaling 252,264,484 bytes. File creation timestamps span 244.7 seconds. These timestamps are a correlation, not a function profile.The desktop log starts immediately before the new runtime cache begins to materialize. About four minutes later it records:
After startup continued, the local
configRequirements/readrequest returned without an error, and the account lookup reported a signed-in ChatGPT account andresult=succeeded.The app package is installed on a secondary AppX volume through a WindowsApps junction. The new runtime cache is on the system volume. This topology may contribute to preparation cost but is not proven to be the unique cause.
The
phase=preparationtimeout, 244.7-second new-runtime creation span, and successful later policy/account reads strongly support the existing local-preparation deadline diagnosis for this occurrence. The network wording in the dialog does not establish a network failure. This check did not profile individual copy operations or verify whether the newest build's preparation implementation changed.The app package, runtime cache, integrity settings, proxy, firewall, sign-in state, and organization policy were not modified. No raw logs, credentials, account identifiers, usernames, personal paths, sessions, or conversation contents are included here.
Xieyuha commentedon Oct 17, 2026
Additional verified occurrence on Windows desktop 26.1013.4894.0, submitted with the affected user's explicit approval of this public destination and sanitized diagnostic content.
The desktop log records
Desktop startup policy read failed attempt=1 phase=preparation reason=timeout retrying=false. File creation timestamps for the newly prepared runtime span approximately 130 seconds. That timestamp span is not a function profiler, but is consistent with preparation exceeding the installed code's 120-second limit. LaterconfigRequirements/readcalls succeed with no error.Read-only inspection of the installed startup helper confirms a 120,000 ms preparation deadline and a post-resolution elapsed-time check. An isolated test of the exact extracted helper, with a simulated clock and successful preparation promise, succeeds at 1,000 ms and 119,999 ms, but throws timeout at 120,000 ms and 130,150 ms. All four assertions passed. This is an isolated behavior test, not a full cold-start acceptance test. No production code or policy enforcement was modified.
Please fix handling of slow local runtime preparation and the misleading organization/network-settings dialog, and identify the desktop release containing the fix. A successful warm retry does not establish that the next update's first launch is fixed.
Only the approved version, error type, measurements and test findings are included here. No personal paths, usernames, account identifiers, credentials, raw logs or chat contents are attached.