Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.71326 (build 20398, production). Runtime call chain captured on 26.1007.30912 (build 20156).
What subscription do you have?
Not specified.
What platform is your computer?
macOS 15.6.1; uname -mprs: Darwin 24.6.0 arm64 arm
What issue are you seeing?
The desktop app unexpectedly leaves the selected conversation and navigates the main window to the New chat/home route (/). Selecting the existing conversation again can be followed by another unsolicited jump. This interrupts normal use of existing chats.
On 2026-10-14, two separate transitions occurred 11.436 seconds apart (all timestamps below are UTC):
| Time | Main-window route |
|---|---|
| 06:24:05.617 | / — first unexpected jump |
| 06:24:10.344 | /local/<thread-id> — returned to the existing chat |
| 06:24:17.053 | / — second unexpected jump |
| 06:24:20.246 | /local/<thread-id> — returned again |
Adjacent duplicate owner-sync log entries were deduplicated; these are two transitions, not four. This recurrence was on build 20398 with an ordinary app launch, no debugging arguments, and the temporary diagnostic collector already stopped.
What steps can reproduce the bug?
- Open an existing conversation in the Codex desktop app and continue normal use. This installation uses both local and SSH-hosted conversations.
- Intermittently, the main window switches to New chat without requesting a new chat.
- Select the previous conversation again. In the observed October 14 occurrence, it was redirected again several seconds later.
A deterministic minimal trigger and a clean-profile reproduction are not established. The strongest diagnostic evidence is the captured hidden-Page navigation path below, rather than a reliably repeatable button sequence.
What is the expected behavior?
The main window should remain on the selected conversation unless the user explicitly navigates. A hidden, unclaimed Page prewarm window should not forward its initialization redirects to the visible owner window or steal focus. Normal navigation from an intentionally opened Page should continue working.
Additional information
Captured mechanism on October 13
A 58.983-second local performance trace captured the occurrence ending at 07:40:18.972 UTC. The originating renderer's trace URL identified it as /space/local-page-<redacted>?window=page&prewarm=1; its window was hidden. CPU samples, correlated with the installed production bundles and main-window logs, showed:
Hidden Page prewarm renderer:
React Router <Navigate> effect -> useNavigate -> router.replace
-> Mlc navigation interceptor -> SHa -> THa
Main process, 2.813 ms after the sampled renderer handoff:
navigateInOwnerWindow -> showWindow -> focus
Main-window log: ownerRoutePath=/
The installed main-process implementation forwards navigate-to-route to the owner and invokes showWindow with stealFocus: true. The 150 main-process samples belong to one short navigation operation, not 150 jumps.
Read-only inspection of build 20398 still finds the same relevant behavior: Page availability becoming disabled can render a replacement navigation to /, and non-Page/non-auth navigation from a Page window is handed to the owning main window. The October 14 first jump coincided with hidden-window initialization; a later Page-prewarm timeout reported claimed=false editorReady=false. That recurrence has log correlation, not a second captured call stack.
The exact runtime capability/availability/feature-gate branch selecting the original redirect was not captured. A Statsig bootstrap timeout preceded the October 13 occurrence, but no such timeout was logged in the current app process through the October 14 capture. A Statsig timeout is therefore not established as the root cause.
Regression timing: verified update, uncertain first onset
The user recalls first noticing this after updating on October 8. Retained local logs confirm the version transition:
- October 8, 02:33:29 UTC: first retained launch of 26.1002.52244 (build 13536), following a process reporting 26.930.31730 (build 12947).
- October 9, 02:02:32 UTC: hidden-window initialization and a main-window home transition occur close together on 26.1007.21159 (build 20052); a Page-prewarm timeout follows at 02:04:27. This is an early related log pattern, not a captured stack.
- October 13: the cross-window navigation mechanism above was captured on build 20156.
- October 14: the two user-observed jumps above persisted on build 20398.
The old process also has home-route entries shortly before the October 8 update. Those logs cannot distinguish manual navigation from an unsolicited jump, and lack the later captured stack. Consequently, the update date is confirmed, but the first affected release and a causal regression in the October 8 update are not proven.
Related reports
- Codex App on Windows intermittently redirects active threads to the "New Thread" page #14411 and Bug: app switches to New chat on its own while idle #17494 describe similar unexpected New chat navigation. This report adds macOS evidence and a captured hidden-Page-to-owner navigation path; please consolidate if maintainers confirm the same cause.
- Windows desktop: hidden Pages prewarm renderer causes runaway conversation-resume loop #52093 concerns hidden Page prewarm conversation-resume/CPU looping, a different observed failure mode. A shared component alone does not establish the same bug.
Please investigate preventing an unclaimed hidden prewarm renderer's initialization redirect from navigating/focusing the owner window.
This report contains a sanitized diagnostic summary only. Conversation/page/account identifiers, SSH addresses, private paths, conversation content, raw logs and raw traces are omitted. The original evidence remains local.
Activity
github-actions commentedon Oct 14, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
wangzr622 commentedon Oct 14, 2026
Additional occurrence on Codex desktop 26.1007.71326 (build 20398), macOS 15.7.7, arm64, on October 14.
The user experienced repeated unsolicited navigation from existing conversations to the global New chat screen. Returning to the conversation could be followed by another jump. This affected conversations in multiple projects without the user requesting a new chat.
Read-only inspection of this installed production build finds the following path consistent with this issue:
prewarm=1and assigns an owning main window. Prewarming can start automatically when the feature flags, authenticated principal and primary-window readiness conditions are satisfied.window=page, without excluding a prewarm window./when capability is unavailable after loading or Pages availability is disabled./, throughwindowNavigation.navigateInOwnerWindow. This path does not distinguish automatic initialization redirects from user navigation or check whether the window is an unclaimed hidden prewarm.navigate-to-routeto the owning main window and callsshowWindowwithstealFocus:true.Build-specific locations (minified symbols; line:UTF-16 column, not original TypeScript locations):
.vite/build/main-CwxgTOle.js.vite/build/main-CwxgTOle.js.vite/build/main-CwxgTOle.jswebview/assets/app-initial-1ab6fbe93c4f.jswebview/assets/app-initial-1ab6fbe93c4f.jswebview/assets/app-initial-1ab6fbe93c4f.jswebview/assets/app-initial-1ab6fbe93c4f.jswebview/assets/app-initial-1ab6fbe93c4f.jsLocal observation associates repeated main-window home transitions with hidden-renderer initialization/account-check failures, followed by an unclaimed Page-prewarm timeout. This is correlation, not a captured live IPC call stack; the exact runtime guard branch remains unconfirmed.
An offline check using extracted functions and inert React/host adapters reproduced the owner-navigation and focus request for an unavailable-capability prewarm path. It also checked Page-to-Page navigation, auth-to-home restoration, ordinary local chat routing and loading behavior. This does not constitute a live UI reproduction or verification of a fix.
Please prevent an unclaimed hidden Page prewarm window's automatic redirects from navigating/focusing the main window. Suggested regression test: keep an existing conversation selected, let a hidden Page prewarm, exercise account-check failure/retry or disabled Page capability, and verify that the main route and focus remain unchanged. Also retain intentional cross-window navigation from a user-opened Page.
AidenGlow commentedon Oct 15, 2026
Windows desktop unexpectedly navigates an existing chat to Home while idle
App version
Microsoft Store package OpenAI.Codex 26.1007.9446.0. This is the installed package version, not a CLI version.
Subscription
Not included in this public report.
Platform
Windows x64; Microsoft Windows NT 10.0.26300.0.
Observed behavior
An existing conversation unexpectedly changes to the Home/New chat screen without mouse or keyboard input. The original conversation remains accessible from the sidebar. The user reports that background work continues. The main desktop and agent processes were confirmed to remain the same running instances across the incident below.
This is an unsolicited navigation event, not an observed full application restart. It is intermittent; a deterministic minimal reproduction is not established.
Observed reproduction conditions
The user explicitly confirmed that the 2026-10-15 14:13:01 Asia/Taipei incident occurred without input. No network fault injection was performed.
Sanitized incident timeline
All times in this table are UTC on 2026-10-15; Asia/Taipei is UTC+08:00.
The main process had started at 02:38:49 UTC and the agent at 02:38:56 UTC; both were still running at 06:30:20 UTC. The inspected main log contained one main-window frame-load event at 02:38:56.290 UTC and no recorded renderer-crash event. Lack of a crash log is supporting evidence, not proof about every subprocess.
Expected behavior
Keep the selected conversation and window focus unchanged unless the user explicitly navigates. Background-window initialization failures should not navigate a user's visible conversation.
Investigation notes and limits
Read-only inspection of the installed production bundles found a possible cross-window path: a Page capability guard can redirect to /; Page-only navigation can be forwarded through navigateInOwnerWindow; an unowned origin can fall back to the most recently active main window.
An isolated test of the extracted functions with fake windows and capability results reproduced that possible path. It did not execute or modify the running app. The actual navigation caller, capability result, and initial route of window 21 were NOT captured. Therefore the hidden-Page explanation remains a hypothesis, not a confirmed root cause. The nearby Cloudflare 403 is also not proof that a proxy change would fix this.
Related upstream report: #53901 describes a captured hidden-Page navigation path on macOS. This Windows report provides independent observations, not an assertion that the causes are identical.
Please investigate whether a dormant/unclaimed prewarm window can forward an initialization redirect into the main window. Logging the origin/destination window IDs, route, and prewarm/claimed state would help confirm or rule out that hypothesis.
No app package, plugin, cache, or configuration was changed during this diagnostic pass. No fix has been verified. This report omits conversation content, raw logs, local usernames/paths, account/session/conversation identifiers, and credentials.
wangzr622 commentedon Oct 15, 2026
0xdevalias commentedon Oct 17, 2026
Follow-up diagnostics from macOS 26.6 (25G72), ChatGPT/Codex desktop 26.1007.71326, build 20398, on October 16.
The active chat repeatedly switched to Home/New Chat while the app also displayed “Couldn’t load workspace settings / Retry to continue chatting”.
This occurrence adds a different account-check failure from the Cloudflare 403s reported above: repeated HTTP 503 responses containing:
{"detail":"Unable to fetch authentication verification keys."}Selected local observations below use UTC on October 15 (October 16 in Australia/Sydney). Window identifiers are process-local diagnostic handles; conversation identifiers are omitted.
/settings/userreturns 503 with the verification-key error./accounts/check/{version}returns the same 503.app routes mounted; it remains hidden and unfocused./local/chat./with aclient-new-threadidentifier.Timed out preparing Page window claimed=false editorReady=false.A later pair records the visible window on an existing
/local/chat at 23:44:47.029 and back on/at 23:44:50.683.These logs do not capture the navigation caller, prove that window 8 was the timed-out prewarm window, or establish that the 503 caused either transition. They are consistent with the background-window failure/navigation interaction under investigation here.
Regardless of the availability decision, an automatic redirect in an unclaimed hidden prewarm window should not navigate or focus the user's active chat. Please include unavailable account/settings services—not only Cloudflare challenges—in regression coverage, while preserving intentional navigation from a user-opened Page.
Further read-only inspection on October 17 verified a more specific branch in our installed 26.1007.71326/build 20398 bundle: the Pages/Spaces availability calculation (
t3rinapp-shared-8340f229c2b3.js) explicitly returnsdisabledwhen thechatgptcapability result hasisError. This branch runs before the later feature-gate checks, so a capability error can disable availability without a feature flag itself defaulting off. The inspectedZPsroute guard redirects disabled availability to/; the Page navigation interceptor can forward that destination tonavigateInOwnerWindow.That strengthens the proposed error → disabled availability → Home redirect path. It remains static code evidence: we have not captured the capability state and navigation caller together for our October 16 occurrence, or proven which guard initiated each jump. Regardless of why availability is disabled, an unclaimed hidden prewarm's automatic redirect should not navigate/focus the user's active chat.
Main investigation and detailed diagnostics
See also: related reports
These links group matching symptoms, error responses, and suspected mechanisms for comparison. They do not label every report as a confirmed duplicate or establish a single backend cause.
Only selected technical observations are included. No raw logs, credentials, account/conversation identifiers, private paths, or screenshots are attached. No new live reproduction or verified fix is claimed.