Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1002.52244, build 13536, production release channel. Verified from the running desktop app on October 8, 2026.
What subscription do you have?
ChatGPT Pro (verified from the signed-in app account metadata).
What platform is your computer?
| Item | Value |
|---|---|
| OS | macOS 26.6.2 |
| OS build | 25G83 |
| Device | MacBook Air |
| Model identifier | MacBookAir10,1 |
| Chip | Apple M1 |
| CPU | 8 cores (4 performance + 4 efficiency) |
| Architecture | arm64 |
| Physical memory | 8 GB |
| Investigation date | October 8, 2026 |
| Local timezone | America/Sao_Paulo (UTC-03:00) |
Hardware and OS values were read locally using system_profiler and sw_vers. Serial numbers, hardware UUIDs, account identifiers, private conversation IDs, credentials, and user paths are omitted.
What issue are you seeing?
Codex has been making my entire computer noticeably sluggish, sometimes to the point of freezing when I start an ordinary task. I have used Codex since its first version on the same computer, with the same usual applications open.
The slowdown did not begin on October 8. It had already been happening for some time; October 8 was when I finally investigated it, with AI assistance. The exact onset and first affected app version are unknown.
I had created a recurring scheduled task / heartbeat well before this investigation. From my perspective, it was no longer executing as expected, and I had forgotten about that. It was nevertheless still marked ACTIVE. This was an existing task, not a new task created on the day the problem was diagnosed. Its execution history was not independently audited.
The investigation found a high-frequency maybe_resume_skipped_inactive_hotkey_window loop in a hidden, unfocused renderer. The conversationId repeated in these events exactly matched the target_thread_id of the only active heartbeat.
Local log evidence
- 140,964 occurrences between 2026-10-08T15:57:43.962Z and 2026-10-08T15:58:17.985Z: approximately 4.1 thousand events/second over about 34 seconds.
- Peak observed count: 5,265 events in one second.
- The events consistently identified renderer web contents ID
3. - The native window was hidden and unfocused, while the document visibility field was
visible. - The retained log window was only a sample of the problem; it does not establish its total duration.
Sanitized fields from the observed events (an excerpt, not a complete raw log record):
[electron-message-handler] maybe_resume_skipped_inactive_hotkey_window
conversationId=<TARGET_THREAD_ID>
documentVisibilityState=visible
rendererWebContentsId=3
rendererWindowFocused=false
rendererWindowVisible=false
The matching heartbeat had:
kind: heartbeat
status before intervention: ACTIVE
target_thread_id: <TARGET_THREAD_ID>
schedule: recurring, twice weekly
status after intervention: PAUSED
The same placeholder above represents the exact matching identifier. The event name alone does not establish that this was a hotkey window; I did not independently prove the Page prewarm route in this installation.
CPU observations and heartbeat pause
| Observation | Affected renderer CPU | Main app CPU | Resume-loop events |
|---|---|---|---|
| Initial diagnostic snapshot | 135.9% | 68.3% | Present |
| Immediately before pausing the heartbeat | 127.4% | 58.1% | Present |
| Two follow-up samples after pausing it | Approximately 0.4–0.7% | Approximately 3–7% | 0 observed |
The app remained open during the heartbeat pause and the immediate verification. These follow-up samples were taken before the later restart. Pausing the heartbeat preserved the task and schedule rather than deleting it.
This is an observed before/after association in this installation, based on short verification samples rather than a long-duration benchmark. I did not reactivate the task to perform an on/off/on test, so I am not claiming a completely isolated causal proof or a confirmed source-code explanation. CPU percentages are process CPU values as reported on macOS.
Separate memory-pressure finding after the CPU loop stopped
Slowness subsequently returned after restarting the Mac/app, even though both automations were still paused and the same loop was absent from the inspected logs. Therefore, pausing the heartbeat did not resolve every source of resource pressure.
- The computer has only 8 GB of RAM. Initial swap observations were approximately 5.7–6.3 GB.
- A later observation showed approximately 9.4 GB of swap.
- Numerous Node/MCP helper instances remained associated with inactive sessions. These included Firecrawl, Netlify, computer-use, Node REPL, and app/code-review helpers, with wrapper/child processes.
- 126 helper/subprocesses belonging to inactive sessions were terminated after identifying their process trees and excluding the current session's helpers. The main app, backend, and current session helpers were preserved. A follow-up check found no surviving processes among those targeted.
- Swap subsequently fell from approximately 9.4 GB to 5.2 GB, and responsiveness improved according to my direct use of the computer.
The cleanup count is retained in a local action record. The swap values are point-in-time observations, not a controlled benchmark.
This secondary finding should be investigated separately from the renderer loop. It does not establish a memory leak, whether session retention was expected, or whether every remaining helper was defective. Ending helpers also releases memory by design. I include it because the severe system-wide slowdown on this 8 GB machine had more than one observed component.
What steps can reproduce the bug?
This is the sequence observed in an existing installation, not a verified reproduction from a clean install:
- Have an older recurring heartbeat/scheduled task still marked
ACTIVE, associated with a conversation that is not currently in use. - Use or reopen Codex Desktop 26.1002.52244 and start an ordinary task.
- Inspect process CPU and desktop logs. In this installation, a hidden/unfocused renderer emitted thousands of
maybe_resume_skipped_inactive_hotkey_windowevents per second, and its CPU exceeded 100%. - Match the event's
conversationIdagainst the heartbeat'starget_thread_id. - Pause the matching heartbeat through the supported app automation mechanism.
- Observe whether the event storm stops and the affected renderer returns to low CPU, while the app remains open.
The necessary trigger conditions are still unknown. I have not established whether a missing, deleted, archived, temporary, or remotely stored target conversation is required. I also have not established that every active heartbeat reproduces the problem. The task was left paused to avoid reintroducing the severe slowdown.
What is the expected behavior?
- An inactive or hidden renderer should settle at low resource usage instead of repeatedly attempting to resume the same conversation thousands of times per second.
- An existing scheduled task that cannot execute normally should surface an actionable state/error and avoid an unbounded retry/log loop.
- Idle session helpers should have a bounded, understandable lifecycle so that ordinary use does not accumulate enough resource usage to make the whole computer unresponsive.
- Pausing a scheduled task should reliably quiesce activity associated with that task.
Additional information
Related reports, found before submitting this issue:
- Linux Desktop: inactive-window resume guard floods journal with 442–572 info messages/sec #51888 — same inactive-window resume marker and app version; the discussion includes macOS heartbeat observations.
- macOS: repeated CrBrowserMain SIGTRAP crashes with ~7,800 inactive-window resume messages/sec #52091 — macOS resume-message storm and crashes. I did not confirm the reported SIGTRAP crash pattern in my own case.
- Windows desktop: hidden Pages prewarm renderer causes runaway conversation-resume loop #52093 — Windows hidden Pages prewarm renderer analysis. Its proposed source-level explanation was not independently verified here.
- Reddit report posted on October 8, 2026 — very similar older-reminder / high-CPU pattern. That author's hardware and measurements are separate from mine.
These may represent the same underlying renderer issue. This report adds the local chronology, an older recurring task, matching task/conversation identifiers, before/after measurements without restarting during the pause verification, and the impact on an M1 Mac with 8 GB RAM.
Investigation was AI-assisted. No private task prompts, complete configuration files, authentication material, personal project contents, or unredacted session logs are attached. The original observations above preceded later local MCP startup/configuration experiments; those changes are not presented as part of the heartbeat test. No project dependency cleanup was performed.
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
CooperGarth commentedon Oct 9, 2026
Additional Windows x64 confirmation on desktop 26.1002.52244 (Store package 26.1002.7124.0), investigated October 9, 2026.
Exact heartbeat match and successful targeted mitigation without restarting:
maybe_resume_skipped_inactive_hotkey_windowevents exactly matchedtarget_thread_idin an old local heartbeat manifest.COUNT=1). Its execution history and whether it was still due were not established.Crash context (correlation, not established causality):
Two native main-process crashes were recorded today at 07:01:31 and 13:40:28 UTC+08. Crashpad sidecars have
capture_kind=crash,ptype=browser,osarch=x86_64; no minidump remained. Immediately before the second crash, a preserved log contained 20,857 identical retry events over 3.146 seconds (~6,630/s). The loop returned after relaunch and continued until the targeted heartbeat pause. This does not establish the fatal exception or prove that pausing the reminder prevents all future crashes.The repeated window fields were
rendererWindowAppearance=primary,rendererWindowFocused=false,rendererWindowVisible=false,documentVisibilityState=visible,routePath=/index.html. We have not proven Pages-prewarm involvement on this installation.This independently reproduces the heartbeat-pause observation in this issue on Windows. Related Windows report: #52093. We left the reminder paused rather than deliberately reintroduce the load. Please investigate stale heartbeat target handling and bounded retries for normal
not-ready / inactive-windowresponses.Privacy: only redacted technical observations are posted; no private reminder text/name, chat IDs/content, account identifiers, usernames, local project paths, credentials or raw logs are included.
HalAlexander commentedon Oct 9, 2026
Additional independent Windows x64 confirmation on October 9, 2026, with a targeted heartbeat-pause test on the existing installation.
Environment
unavailablebecause the Store must check installation eligibility. This is not anup_to_dateresult.Exact target match and intervention
The conversation identifier in the repeated
maybe_resume_skipped_inactive_hotkey_windowevents exactly matched thetarget_thread_idof one old local heartbeat that was stillACTIVEand scheduled daily. The chat-reading tool could not determine whether that target exists; deletion is not established.After preserving the original manifest, only that heartbeat was changed to
PAUSEDthrough the supported app automation tool. A field comparison found onlystatusandupdated_atchanged. The other four automation manifests were byte-identical.All times below are UTC:
The same main app process and app-session identifier remained in use. No renderer was killed or suspended, and no app restart, cache reset, application-bundle patch, or database edit was used. The heartbeat remains paused.
The repeating record contained:
Pages-prewarm involvement was not independently established in this installation.
Separate crash evidence and limits
Earlier that day, the app unexpectedly closed. A Crashpad sidecar written at approximately 02:47:25 UTC contained:
{"capture_kind":"crash","osarch":"x86_64","ptype":"browser"}The old desktop log stopped at 02:47:25.040 UTC. No minidump remained in that reports directory. Before this crash, the retained log sample contained 143,376 repeated events over about 50.1 seconds. The loop recurred after relaunch.
The pause test establishes a useful session-level mitigation for the loop on this installation. It does not identify the native crash exception or prove that the loop caused the crash. A cold-start test with the heartbeat paused and long-duration crash prevention have not been verified.
Please investigate unavailable/stale heartbeat target handling and bounded retry behavior for normal
not-ready / inactive-windowresponses. This corroborates the heartbeat association already reported here; related Windows report: #52093.Only sanitized technical observations are included. No reminder name/text, conversation identifiers or content, account details, local usernames/paths, credentials, or raw diagnostic attachments are posted.