Skip to content

[Windows][Desktop 26.707.9981.0] Post-merge thread switching and prompt submission freeze with thread/resume latency and ResizeObserver errors #33524

Open

Description

@labilio

What version of the Codex App are you using (From “About Codex” dialog)?

26.707.9981.0

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

After the standalone Codex experience migrated to the unified ChatGPT/Codex desktop app, opening existing local conversations and submitting prompts began causing severe local UI stalls.

The symptoms are:

  • Clicking a previously unopened history conversation can blank or freeze the entire app window for several seconds to over a minute.
  • During the stall, the conversation, composer, mouse interaction, and the rest of the app UI stop responding.
  • Returning to an already warmed conversation can be faster, but the behavior is not reliably bounded.
  • Prompt submission now triggers a similar stall before the message is visibly accepted.
  • The experience feels like a local computer/UI freeze rather than network latency.

The regression became visible immediately around the ChatGPT/Codex desktop merge. The first precise slow-resume and renderer-error timestamps observed locally were:

  • First thread/resume over 5 seconds: 2026-07-10 11:40:03 Beijing Time (UTC+8) / 2026-07-09 20:40:03 US Pacific Daylight Time (PDT, UTC-7) / 2026-07-10 03:40:03 UTC. Duration: 10.121 seconds.
  • First ResizeObserver loop completed with undelivered notifications. error: 2026-07-10 11:48:05 Beijing Time / 2026-07-09 20:48:05 PDT / 2026-07-10 03:48:05 UTC.

Before/after measurements

Calendar-day aggregation below uses Beijing Time. For clarity, a Beijing calendar day spans 09:00 on the previous PDT date through 08:59:59 on the same-numbered PDT date.

Beijing-time observation window Corresponding PDT window ResizeObserver errors thread/resume median thread/resume max
2026-07-09 00:00–23:59 BJT 2026-07-08 09:00–2026-07-09 08:59 PDT 0 590 ms 2.245 s
2026-07-10 00:00–23:59 BJT 2026-07-09 09:00–2026-07-10 08:59 PDT 2,094 8.929 s 23.128 s
2026-07-13 00:00–23:59 BJT 2026-07-12 09:00–2026-07-13 08:59 PDT 1,395 24.698 s 44.634 s
2026-07-14 00:00–23:59 BJT 2026-07-13 09:00–2026-07-14 08:59 PDT 3,057 33.844 s 84.267 s
2026-07-15 00:00–23:59 BJT 2026-07-14 09:00–2026-07-15 08:59 PDT 1,728 15.277 s 38.524 s

Additional observed maxima:

  • thread/start: 37.530 seconds
  • mcpServerStatus/list: 97.056 seconds
  • plugin/list: 30.087 seconds
  • skills/list: 4.687 seconds
  • Ordinary thread/list calls were usually approximately 1–24 ms, so the conversation-list RPC/network path itself does not explain the foreground freeze.

The logs also repeatedly show Browser/sidebar lifecycle warnings, unknown-conversation events, and renderer-side ResizeObserver loops during the affected period.

Local-state observations

These are included as possible amplifiers, not as confirmed root causes:

  • 158 local session files, approximately 601.68 MiB total.
  • Session-file size does not explain the stalls: across 221 mapped resume events, the correlation between rollout size and thread/resume duration was approximately -0.058. Small sessions under 0.5 MiB also produced 50–60+ second resumes.
  • 10 enabled plugins and 3 configured MCP servers.
  • Plugin files total approximately 446.91 MiB.
  • Active %USERPROFILE%\.codex\logs_2.sqlite: 254.17 MiB, 96,923 rows, SQLite quick_check=ok.
  • The log DB had 65,068 pages with 27,858 freelist pages, approximately 42.8% reusable/free pages. This indicates substantial retained free space/fragmentation even though the database is structurally valid.
  • The unified ChatGPT/Codex process family used approximately 1.4 GiB working set during inspection.

No session history, database, plugin, MCP, or UI cache was reset before collecting these measurements. No destructive A/B cleanup was performed.

This appears to be a foreground orchestration/rendering regression in the unified desktop app, potentially amplified by persisted state. Opening a conversation appears to combine expensive resume/history work with plugin, skill, app, MCP, browser-sidebar, and renderer updates instead of keeping the UI responsive and progressively hydrating state.

What steps can reproduce the bug?

  1. Use ChatGPT/Codex Desktop 26.707.9981.0 on Windows x64 with existing local conversations.
  2. Fully launch the app and wait for the initial window to become idle.
  3. Click an existing history conversation that has not yet been opened during the current app run.
  4. Observe that the window becomes blank, frozen, or non-interactive while thread/resume completes.
  5. Repeat with several different existing conversations.
  6. Open a conversation and submit a new prompt.
  7. Observe that prompt submission can also freeze the app before the message is visibly accepted.
  8. Inspect Desktop logs and observe multi-second thread/resume, thread/start, plugin/skills/MCP status calls, plus repeated ResizeObserver loop completed with undelivered notifications. errors.

This reproduces with both small and large conversations. No model generation is required to reproduce the history-navigation stall.

What is the expected behavior?

  • Opening an existing conversation should show lightweight metadata and the recent visible turns immediately.
  • Older history should hydrate progressively without blocking the renderer or composer.
  • The composer should remain interactive while plugin, skill, app, MCP, Git, browser-sidebar, or diagnostic-log work continues in the background.
  • Read-only navigation should not eagerly initialize or retain expensive per-thread runtimes.
  • Slow local state, fragmented diagnostic storage, or one slow integration should not freeze the entire Electron window.
  • Prompt submission should be acknowledged immediately and must not wait on unrelated reconciliation work.

Additional information

Potentially related reports:

This report is intentionally separate because it provides a precise pre/post-merge local timeline, timezone-normalized onset timestamps, daily resume-latency measurements, renderer-error counts, session-size correlation, and diagnostic-DB page statistics from the current 26.707.9981.0 Windows build.

Raw logs and rollout files are not attached because they can contain private prompts, local paths, commands, and credentials. Sanitized excerpts can be provided if maintainers identify the preferred fields and collection procedure.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    on Jul 16, 2026
  2. hxu05816-star commented on Jul 16, 2026

    @hxu05816-star

    I can reproduce this issue on Windows with Codex App 26.707.9981.0, and my symptoms match this report closely:

    • switching to another existing task/conversation stalls before it opens
    • after sending a prompt, the text stays in the composer briefly before the app accepts it
    • the lag returned even after reinstalling the app twice

    I also did a deeper local investigation and found evidence that may help narrow the root cause.

    What I ruled out locally:

    • not caused by plugin/app/browser feature overhead alone
    • not caused by local state DB corruption
    • not explained by a single huge conversation alone
    • reinstalling the same package did not resolve it

    Additional findings:

    • repeated Windows application errors with exception code 0xC06D007F
    • the failures correlate with repeated attempts to load bundled native modules from the packaged Codex app
    • one failing packaged path includes @serialport/bindings-cpp/.../serialport.node
    • a related nested HID/native module path also appears affected
    • this looks consistent with repeated native-module delay-load failure inside the Windows desktop package

    So in my case, this may not be only a generic thread/history slowdown. It looks like the UI stalls may be amplified by repeated native module load failures in the packaged Windows app.

    If helpful, I can provide exact packaged file paths, timestamps, and the hash/details from my local diagnostic report.

  3. Weiniwithliks commented on Jul 16, 2026

    @Weiniwithliks

    I can independently reproduce this on Windows 11 with the Microsoft Store package OpenAI.Codex 26.707.12708.0.

    Symptoms

    • Switching to an old task or creating a new task freezes the desktop window.
    • Input typed during the stall is buffered and appears only after the UI recovers.
    • Switching focus away from Codex and back can make the UI recover.

    Sanitized local observations

    • mcpServerStatus/list: up to 33.701 s, errorCode=null
    • thread/resume: up to 4.091 s
    • plugin/list: about 205 ms after plugins were disabled

    A/B checks attempted

    • Updated the app and used Windows App Repair.
    • Cleared regenerable Chromium HTTP/code/GPU/shader caches.
    • Tested Windows graphics-driver reset.
    • Removed all user-configured MCP sections and disabled all plugins while Codex was fully exited, then restarted with that minimal configuration.
    • The foreground stall and multi-second mcpServerStatus/list calls still occurred.

    This is using a CCSwitch custom provider with the responses wire API, but the slow calls persisted after removing user MCP/plugin configuration. I am not attaching raw logs because they can contain prompt text, local paths, and credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformancesessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions