Repository navigation
Description
Summary
On Windows, using multiple local chats can leave the main Codex desktop window permanently blank except for the OpenAI logo shortly after another chat completes. The main application and local execution backend continue running. The user reports repeated failures and sometimes needing two relaunch attempts to regain the UI.
Environment
- MSIX package: OpenAI.Codex 26.1111.2228.0, x64.
- Desktop log version: 26.1111.21308, build 27194, production channel.
- Bundled CLI: 0.169.0-alpha.11.1.
Observations from local diagnostics
Four inspected sequences occurred around 20:37 on November 18 and 00:39, 00:50, and 01:22 on November 19, 2026 (Asia/Seoul).
Within approximately 1–2 seconds of another local chat completing or its browser-use session activity ending:
- All observed chat view activities became inactive.
- The main window's conversation subscription unmounted and mounted.
- Its identity state became authLoading=true with no account/user populated, and the visible window remained on the logo.
That identity state is not proof of an authentication failure. A task using web search without browser UI interaction also preceded this pattern; no app-termination command was found in that task's inspected tool calls.
During the 01:22 recurrence, Chromium error logging captured repeated "Peer closed MessagePort connection." failures from subsequent app-screen network requests. It is not established whether the port closure is the original fault or a consequence of the UI reset.
The local execution backend continued working after the UI failed. No matching Windows Application Error/Hang event, retained minidump, or explicit unexpected app-server exit was found in the inspected interval. This does not rule out a UI failure.
One earlier 20-second sample recorded total app private memory briefly rising from approximately 2.1 GiB to 4.5 GiB, then decreasing. However, the later 01:22 recurrence was recorded at approximately 2.55 GiB total, with the largest child around 1.27 GiB. An earlier nearby system check had approximately 44 GiB physical memory available. These observations do not establish an out-of-memory cause.
Attempts and controls
- Rebuilt approximately 57 MiB of regenerable browser/code/shader caches; recurrence persisted.
- Turned only completion notifications off; the 01:22 recurrence still occurred. Restored the original notification setting afterward.
- Current HTTP reachability and Responses WebSocket handshake checks succeeded.
- The inspected chats already use paginated history.
- Existing conversations and work files were not deleted or reset during these attempts.
Requested help
Please investigate shared main-window RPC/MessagePort lifetime and UI recovery when concurrent local chats complete. Please provide a supported mitigation or targeted diagnostic procedure that preserves conversations, work files, and unrelated running tasks.
Related symptom reports: #51343 and #50291. A shared root cause is unconfirmed.
This is a user-authorized diagnostic summary only. No conversation text, business/customer material, account identifiers, thread IDs, local file paths, raw logs, screenshots, credentials, or memory dumps are attached.
Activity
github-actions commentedon Nov 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
raydoli75-lgtm commentedon Nov 18, 2026
Follow-up: a non-destructive Windows control verified that File > New Window can open an existing local chat on this same build without terminating or restarting the main application process. The new window recorded a successful bootstrap in approximately 4.9 seconds and successful existing-chat navigation in approximately 1.16 seconds; the user confirmed the existing chat became usable after a short delay.
This was not performed during a captured stuck-logo episode, so it does not establish recovery from the failure, prevention of recurrence, or a root cause. No new conversation was created for this check and existing conversations/work files were not reset.
The bot-suggested #62170 has a 512 MiB serialization-budget warning before MessagePort closure. A targeted search of the relevant recent local desktop logs found no corresponding serialization-budget/RangeError warning here; that specific mechanism is therefore unconfirmed in this case. The identical build reports #62042 and #61637 are useful symptom comparisons, not confirmed duplicates.
raydoli75-lgtm commentedon Nov 18, 2026
Completed the bounded observation ending at 06:54 on November 19, 2026 (Asia/Seoul).
A useful comparison was observed from 03:23–06:54 with the same main application process, which had been running since 02:04:
disposeAfterSessionActivity=false: 18 attributed to the original primary window and 1 to the newly opened primary window. No previously observed identity-reinitialization, subscription-unmount, or MessagePort-closure markers were found in this comparison interval.disposeAfterSessionActivity=falseand involved an original primary window in earlier app runs. Thus, an activity-ending event, that disposal flag, or simply being the original window is not by itself a sufficient explanation. The first cause of the bridge failure remains unknown.The recorder stopped normally at its deadline. No app termination/relaunch, conversation reset, or work-file deletion was performed during this additional comparison. The initiating cause of the stuck-logo episodes remains unconfirmed. A fixed desktop build or supported diagnostic for the first bridge/MessagePort abort would be helpful.
Diagnostic summary only; no conversation/business content, identifiers, local paths, raw logs, or screenshots are attached.
raydoli75-lgtm commentedon Nov 19, 2026
Update-channel clarification from November 19:
Related Windows report #62349 describes recurrence on package 26.1111.9265.0; a shared root cause is unconfirmed, and neither that report nor the Store manifest establishes a fix in 9664.
Could maintainers clarify availability of the newer production build and whether it contains a targeted fix for this bridge/reset failure? Existing conversations and work files have been preserved. This comment contains diagnostic metadata only, without private conversation/business contents or raw logs.
raydoli75-lgtm commentedon Nov 19, 2026
The update has now been applied through the desktop app's built-in Store-backed update button.
Verified after restart on November 19:
This confirms successful update and initial startup only. It does not yet establish that long-running/concurrent-chat freezes are fixed. Keeping this issue open pending recurrence testing or maintainer confirmation. No private conversation/business contents, identifiers, local paths, raw logs, or screenshots are attached.
raydoli75-lgtm commentedon Nov 19, 2026
Recurrence confirmed after updating to Windows package 26.1111.9664.0, desktop 26.1111.71704 / build 29030. The update did not prevent this user's reported stuck-logo failure.
A read-only post-update observation began at 18:30 on November 19, 2026 (Asia/Seoul). At 18:35, the supported local task-status query showed two active chats. The recorder did not capture screens, drive the UI, terminate the app, or relaunch it.
Captured sequence (UTC):
During the sampled comparison, main-process private memory peaked at approximately 1,371 MiB and total app private memory at 3,960 MiB. Shortly after the failure, approximately 38.9 GiB physical memory remained available. These values do not establish an OOM cause. No literal closed-MessagePort or renderer-exit marker was found in the inspected new desktop-log interval; unlike the earlier run, a separate Chromium error-log sink was not enabled.
A new app instance was subsequently observed starting at 18:42:53 local time, with successful identity lookup. The observing agent did not initiate that termination/relaunch.
This reproduces the earlier shared UI/account/local-host reset pattern on build 29030. The initial cause remains unknown; the identity reset is not proof of logout, and the preceding activity-ended event is timing context rather than a proven cause.
Existing conversations/work files remain preserved. Diagnostic summary only: no private conversation/business text, account/thread identifiers, local paths, raw logs, or screenshots attached. Please investigate the initiating shared-bridge lifecycle reset and provide a supported non-destructive mitigation.
raydoli75-lgtm commentedon Nov 19, 2026
Additional read-only findings on Windows package 26.1111.9664.0 / desktop 26.1111.71704 (build 29030). These observations distinguish the long-running UI reset from a reported launch-twice symptom; neither has a confirmed common root cause.
Backend comparison around the captured 18:38 KST UI reset
Launch-twice symptom: bounded process metadata observation
Separately, a drive-root default-workspace mkdir error was corrected to an existing subfolder and supported new-task creation completed successfully. This fixes that path operation only; there is no evidence that it caused the earlier UI reset.
No conversations/work files were reset, moved, or deleted. No security feature was disabled, no application binaries were patched, and the agent did not control screens or initiate application termination/relaunch during these checks. Diagnostic metadata only; no private conversation/business content, account/thread identifiers, local paths, raw logs, or screenshots attached.
A supported non-destructive mitigation or targeted desktop fix is still needed.
raydoli75-lgtm commentedon Nov 19, 2026
New recurrence after the workspace-path correction and a successful delayed restart. Windows package remains 26.1111.9664.0, desktop 26.1111.71704 / build 29030. The user reports the same stuck-logo state, followed by a first relaunch that exits and a second relaunch that works.
New captured sequence on November 19 UTC (November 20 in Asia/Seoul):
The failing main app had been running since 12:52:06.989 UTC, about 2 h 32 min before the reset. Earlier successful startup and a quiet observation period therefore did not establish a lasting fix. The corrected default workspace was already verified through actual supported new-task creation, so that separate path-operation repair did not prevent this UI recurrence.
New concrete adjacent defect: retained backend logs contain 12 legacy_notify/os-error-206 failures across four chats. The configured native turn-ended helper exists and its executable path is only 159 characters. This resembles #18309's app-managed argv transport failure. However, the previously captured 09:38 UI-reset window did not contain a matching 206 warning, so this is not being claimed as the sole or necessary cause of all UI resets. Please assess whether failed turn-end signaling contributes to shared-bridge lifecycle failures on this build.
No notifier was removed, no unofficial Stop/SubagentStop adapter was installed, and no safety/cleanup feature was disabled. A supported migration must preserve correct turn completion, session/turn identity, receiver acknowledgement and desktop startup/update management.
Existing conversations and work files remain preserved. No application restart was initiated by the agent. This is sanitized diagnostic metadata only: no private chat/business content, account/thread identifiers, local paths, raw logs, or screenshots. A targeted desktop fix or supported non-destructive mitigation is still requested.
raydoli75-lgtm commentedon Nov 19, 2026
Another recurrence, with background-window state and an actually overlapping relaunch captured. Same Windows package 26.1111.9664.0 / desktop 26.1111.71704, build 29030.
November 19 UTC (November 20 Asia/Seoul):
Thus the first relaunch really began about 1.9 seconds BEFORE the prior main process exited. Its own exit code was not captured, but overlap is now directly evidenced, rather than inferred from a quiet interval. Please assess activation/single-instance handoff during pending quit; this may be distinct from the shared UI reset.
After recovery, a read-only GetProcessInformation check found execution-speed throttling OFF for the main process and the large foreground renderer, both at Normal priority. Some other renderers were Idle/EcoQoS. A grouped Task Manager leaf icon alone therefore does not establish that the active UI was throttled. Power/background state at the instant of failure was not captured, so background lifecycle/throttling remains a hypothesis, not a diagnosis.
No screen control, agent-initiated app restart, security changes, notifier suppression, or conversation/work-file resets were performed. Metadata only, with private content, local paths, account/thread identifiers, screenshots and raw logs omitted. The recurring stuck-logo bug remains unresolved.
raydoli75-lgtm commentedon Nov 19, 2026
Additional evidence: primary-view bridge reconnection fails while another view recovers. Same Windows package 26.1111.9664.0, desktop 26.1111.71704 / build 29030. User again reports the blank stuck-logo screen after returning from another application.
November 19 UTC (November 20 Asia/Seoul), same app instance:
Peer closed MessagePort connection.Stack points to MessagePort. in packaged assets/async/648541.32f5c72f21.js:1:44890.A bounded, current-process-only trial kept hidden renderer OS execution-speed throttling disabled and priority at Normal from 15:57:23 until that instance exited. It did not restore this already-disconnected primary bridge; since the initial identity reset preceded the trial, this is not a clean prevention test. The trial has ended and will not be repeated. No app binaries, chat data, security settings, or global power policy were changed. No agent-initiated app quit/relaunch or screen control was performed.
Could maintainers investigate why the primary host MessagePort becomes closed and why primary-view reconnect reuses a dead channel instead of re-establishing the bridge? A supported data-preserving recovery or fixed build is still needed. Workspace-path correction and update to this build have not resolved the user's repeated incidents. This comment contains diagnostic metadata only.
raydoli75-lgtm commentedon Nov 19, 2026
Cross-chat completion correlation; historical plugin-path conflict does not explain the continuing resets. Diagnostic metadata only; no conversation contents, business names, local paths, account/task identifiers, or raw logs are included.
Comparison of retained desktop logs and local completed-turn timestamps found 16 post-startup primary identity-reinitialization markers across the inspected November 18–20 KST runs. Fifteen occurred approximately 1.6–3.8 seconds after a turn completed in one of two frequently used local chats. Fourteen also had a browser-session-activity-ended marker shortly before the reset; the fifteenth had a matching completed turn without that activity-end marker. This is an observed association, not proof of the first failing callback. One remaining marker was in a separate backend-exit/reinitialization episode and should not be treated as the same established mechanism.
Useful minimal cases:
Earlier runs repeatedly failed bundled-plugin reconciliation because
openai-bundledwas already registered from a different source. However, 13 later reset markers occurred in app instances with zero such registration/reconciliation failures. The current instance also logs already-registered success and completed reconciliation. The historical path conflict cannot be the sole ongoing cause; removing plugins or resetting user data is not supported by this evidence.The Windows user reports that these resets are particularly disruptive when more than one chat is used concurrently. Please investigate shared primary-view/account bridge lifecycle during cross-chat turn-completion notifications, including the tool-free completing turn above. The previously reported closed-MessagePort reconnect failures leave the primary view unusable while local backend work can continue. A supported fix is still needed; no binary patches, security changes, data deletion, alternate profiles, or UI automation have been applied for this comparison.