Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244, build 13536, production. Windows Store package: OpenAI.Codex_26.1002.7124.0_x64.
What subscription do you have?
Not specified. This report concerns the Windows desktop runtime.
What platform is your computer?
Microsoft Windows 11 Enterprise, version 10.0.26200 (build 26200), x64.
What issue are you seeing?
The desktop app automatically created a hidden Pages prewarm window even though I had not opened or used Pages. That renderer repeatedly attempted to resume a conversation and logged:
maybe_resume_skipped_inactive_hotkey_window
The retained pre-crash logs contain 141,794 repetitions in approximately 58.7 seconds (~2,416/s). After restarting the app, the same behavior recurred at approximately 1,700 attempts/s. The hidden renderer showed heavy CPU use and roughly 1.2 GB of private memory.
On 2026-10-08 at 11:27:08 (UTC+03:00), Crashpad recorded a native crash with ptype=browser. No minidump was retained. The precise native exception and whether this loop caused that crash are unconfirmed. The unbounded resume loop itself was directly observed.
Mechanism identified in the installed bundle
PageWindowPrewarm(minified classWBe) creates a hidden primary window for/space/local-page-<id>?window=page&prewarm=1.eHn()detects this prewarm route.ZVn()prohibits acquiring the thread stream in this window through!eHn().- The shared resume-needed predicate
ari(resumeState, streamRole)returns true whenstreamRole == null, without excluding prewarm windows. Thus this window continues to require resume while stream acquisition is prohibited. - The
AppServerManagerresume branch returns{status: "not-ready", reason: "inactive-window"}before registeringinFlightConversationResumes. use-resume-conversation-if-neededclearsisResumingafter that normal response without a retry delay or resolvingneeds_resume. Its exponential backoff is in the exception path.
This appears to permit an unbounded retry loop for a window that cannot own the stream.
What steps can reproduce the bug?
Observed on the affected installation; a clean-install reproduction has not been established.
- Start the affected Windows desktop build while authenticated and with the primary window ready. Leave Pages unopened.
- The app automatically creates the hidden Pages prewarm window when the relevant feature gates are enabled.
- In the affected conversation state, the prewarm renderer has a null stream role and repeatedly attempts conversation resume, receiving
not-ready / inactive-window. - Observe repeated
maybe_resume_skipped_inactive_hotkey_windowlog events and high CPU/memory usage. - Closing only the hidden Pages window causes
PageWindowPrewarmto create a replacement, which immediately resumes the same loop. Restarting the app also reproduced it on this installation.
Session identifiers and raw conversation contents are omitted from this public report.
What is the expected behavior?
A hidden Pages prewarm renderer should not request conversation resume when acquiring the thread stream is prohibited. A normal not-ready / inactive-window response should not cause an unbounded retry loop. Recreating or restarting the prewarm window should not restart the loop.
Additional information
Runtime correlation
Temporarily suspending only the replacement prewarm renderer stopped the repeated logs while the main window and chat continued to work. During a 138-second observation, there were zero new repetitions and ordinary app logging continued. This is a temporary workaround, not a permanent fix.
Suggested fix direction
Align the resume-needed predicate with the prewarm ownership guard and handle not-ready responses with an appropriate retry policy. An isolated local candidate changed the shared predicate to:
function ari(e,t){return !eHn()&&(e==null||e===`needs_resume`||t==null)}The extracted-function checks passed 123 assertions, and the modified module passed Node syntax checking. The candidate was not installed. These checks do not validate a patched running app, React invalidation, or cold-start behavior.
The installed build uses embedded ASAR integrity validation. Replacing resources alone is therefore not a deployable fix; please investigate and release a signed desktop update.
Bundled CLI version, for environment identification only: codex-cli 0.162.0-alpha.2.
In-app feedback could not be confirmed
The app displayed “Feedback upload not confirmed”. At 2026-10-08 14:45:47 (UTC+03:00), feedback/upload returned -32603 after 23.535 seconds; the Sentry upload connection was reset (Windows error 10054). Receipt of that feedback is unconfirmed, which is why this report is being submitted here.
This public report omits account identifiers, conversation IDs, personal file paths, tokens, and raw session contents. Additional diagnostics can be provided through an appropriate private support channel.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
meteop-x commentedon Oct 8, 2026
Reviewed both suggested reports: #51888 and #52091.
They describe the same desktop version (26.1002.52244) and the same
maybe_resume_skipped_inactive_hotkey_windowstorm, so a shared resume-retry bug is plausible. However, the same triggering path has not been established:PageWindowPrewarmrenderer, a prewarm route that cannot acquire the stream, and the mismatch with the resume-needed predicate. Closing that hidden window recreates it and restarts the loop; suspending only its renderer stops the repetitions while the main chat continues working.I am keeping this report open for the distinct prewarm diagnostic path; the available evidence supports related reports, but does not yet confirm an exact duplicate. If maintainers confirm the shared root cause, this can be consolidated under #51888 while retaining the Windows/prewarm evidence. The association between the resume storm and native crashes remains unproven.
fortynova commentedon Oct 8, 2026
Additional macOS / Intel reproduction on the same desktop build, with a controlled test linking the hidden renderer to the CPU load and log storm. Related: #51888 and #52091.
Environment
com.openai.codex.up_to_date.Observed behavior
On October 8, a hidden primary-window renderer continuously emitted:
The same conversation reference and hidden window were repeated. Conversation identifiers are intentionally omitted.
Controlled causal test
Only the affected renderer was briefly suspended and then resumed; the main app and backend stayed running.
This isolates the renderer as the source of the storm and a substantial part of the main-process load.
Recreation and temporary mitigation
Terminating only the busy renderer caused the app to immediately create a replacement hidden primary window. The replacement finished loading in 439 ms, became ready to show in 1,384 ms, and immediately restarted the same loop, reaching approximately 120% CPU.
Suspending the replacement renderer stopped the loop while the main chat remained usable. A 12.9-second observation after settling, and two subsequent independent five-second observations, each contained zero new loop events. A post-mitigation CPU sample showed the main app at 3.5% CPU and the system approximately 96% idle.
This is temporary process-level relief, cleared by app restart. It may stall a new Page window that depends on that renderer. No application bundle, feature flags, settings, caches, or conversation databases were modified.
Mechanism and limits
Read-only inspection of this installed bundle found the same
WBePage-window preloader creating a hidden primary window for/space/local-page-<id>?window=page&prewarm=1and replenishing it after renderer exit. This matches the observed hidden-window recreation. However, this investigation did not obtain an explicit runtime route-to-process mapping, so identifying this particular renderer as the Page prewarm window remains an inference.The inspected resume guard returns
{status: 'not-ready', reason: 'inactive-window'}immediately when the window has no stream role and cannot acquire the stream. The exact retrying caller was not fully resolved in this investigation. The more specific predicate/caller analysis in the issue body is useful corroborating evidence, rather than something independently proven by this macOS capture.Please investigate hidden-window resume scheduling and the handling of normal
not-ready / inactive-windowresponses. Expected behavior is an idle hidden renderer without an immediate, unlimited resume retry cycle.This report contains sanitized measurements only. Raw logs, private paths, account information, conversation content and identifiers are omitted. Detailed diagnostics remain available locally; no raw diagnostic attachments have been uploaded.
fortynova commentedon Oct 8, 2026
Follow-up to the macOS/Intel measurements above: the initial renderer suspension was insufficient as a lasting workaround, and an unavailable heartbeat target was identified.
About twelve minutes after the initial suspension, the same renderer was still stopped (not replaced), and the resume storm remained absent, but the main app consumed approximately 100% CPU. An eight-second sample and per-thread CPU inspection placed that activity in
Chrome_IOThread. The stripped framework symbols do not establish the precise function or mechanism. The later CPU drop on resuming the renderer suggests the indefinite process suspension may itself have caused communication-related load; please do not treat SIGSTOP as a permanent fix.An ACTIVE ten-minute heartbeat automation targeted the exact conversation reference in the resume loop. Retained app logs repeatedly recorded
Heartbeat automation skipped: thread missingfor that target across October 5–8. The target was absent from the examined local thread data; remote existence could not be verified. This is not proof of deletion.After preserving the automation configuration, I used the app automation API to pause only that heartbeat, preserving its instructions, schedule and target. I then resumed the renderer normally:
A subsequent independent five-second live-log observation also contained zero repetitions. Several minutes later, the same affected renderer was running normally at 0% CPU and the main app was approximately 2.1% in a process snapshot. Main-window CPU varied with normal activity.
Pausing the unavailable-target heartbeat and resuming the renderer provides substantially better relief on this installation. It corroborates the heartbeat association reported in #51888, but the combined changes and short observation do not prove a universal root cause or lasting cold-start fix. The initial triggering action and clean-profile reproduction remain unknown.
Only repetitive entries were removed from closed local logs after creating verified compressed recovery copies. Unrelated entries, the active log, the original captured sample (compressed), CPU samples and count summaries were retained. No private identifiers or raw logs are uploaded here.
meteop-x commentedon Oct 10, 2026
Verified locally in 26.1007.21434 (build 13901, production): the reported Pages-prewarm conversation-resume loop has a concrete fix in the installed code, and I am closing this issue as resolved.
I compared the extracted production bundles from 26.1002.52244 and 26.1007.21434. The heartbeat resume watcher now:
streamRole != null || canAcquireThreadStream. Its window-activity function includes the existing Pages-prewarm guard for/space/<id>?window=page&prewarm=1(also when passed throughinitialRoute). A prewarm renderer without a stream role therefore no longer calls resume for these heartbeat targets.ready.not-readyresults as well as retryable exceptions: 750 ms, 1.5 s, 3 s, 6 s, 12 s, 24 s, then a 30 s cap.An isolated test harness executed the unmodified extracted watch callbacks and candidate/window helpers, with external services and the clock mocked. All 11 scenarios passed: the old callback reproduced 60 immediate resume attempts with no timer for the prewarm case; the new callback made zero attempts in that same case. A separate
not-readycase verified that immediate retries are blocked and the delay reaches the 30-second cap. Normal Pages resume, ready completion, stale connection completion, target removal, terminal missing-rollout errors, and an existing stream role were also checked.Runtime evidence is consistent with the code fix: on October 10, 2026, this process's retained logs contained 67,502 lines with zero
maybe_resume_skipped_inactive_hotkey_windowevents; an additional 53.1-second observation produced 20 ordinary entries and zero loop events. The temporary renderer-suspension helper is no longer running.This confirms the reported resume-loop fix locally. The original native crash cause has not been independently reproduced or established.
phplego commentedon Oct 18, 2026
Adding cross-platform user context, rather than a reproduction of this resolved Windows prewarm loop: on Linux Desktop 26.1007.21434 / Intel Core i7, everyday chat switching still takes roughly 2-3 seconds, long-chat scrolling loses smoothness, and the chat list feels sluggish.
I have not established a hidden Pages window, resume storm, or shared root cause. The broader responsiveness report is in #18693, with switching details in #11011. I appreciate the concrete fix here and would welcome release-specific information about further work on Desktop interaction latency and scrolling smoothness.