Repository navigation
Description
Summary
A Codex Desktop thread can become extremely slow/hang during normal work. Reasoning/progress updates become very delayed, and stopping/restarting the Codex app temporarily improves the behavior, but the slowdown returns later.
Feedback ID from the in-app feedback dialog: 019eb235-67aa-7b23-9d66-9b4213b63d45
Environment
- Codex Desktop:
26.608.12217/ build3722 - Bundled CLI:
codex-cli 0.138.0-alpha.7 - Bundled Node:
v24.14.0 - Chromium framework:
149.0.7827.54 - macOS:
26.5.1 (25F80) - Architecture: Apple Silicon / arm64
- Memory: 8 GB
Observed behavior
- One active thread becomes very sluggish after some time.
- The reasoning/progress stream appears to stall or advance very slowly.
- Restarting Codex Desktop seems to help temporarily.
- After continuing work, the same kind of slowdown can reappear.
Local diagnostics
A process snapshot during the slowdown did not show Codex helper processes consuming high CPU at that exact moment. However, there were multiple active helper groups related to Codex/browser tooling, including processes like:
codex app-server --listen stdio://node_replnpm exec @playwright/mcp@latestplaywright-mcp
At the same time, some macOS system processes were relatively busy, including syspolicyd, trustd, and WindowServer.
Memory/disk notes from the same machine:
- System memory: 8 GB
memory_pressurereported about41%free memory at the sample moment, but swap activity counters were high.- Data volume was around
90%used, with about44 GiBfree.
Possibly related installation/signing state
This same Codex Desktop installation also reports an invalid app signature:
/Applications/Codex.app: invalid signature (code or signature have been modified)
In architecture: arm64
The app/helper entitlements also appear invalid locally:
warning: binary contains an invalid entitlements blob. The OS will ignore these entitlements.
This may or may not be related, but I am including it because the slowdown coincided with visible syspolicyd/trustd activity, and the same installation is also involved in a separate in-app Browser crash report: #27349.
Privacy note
I intentionally did not include local project names, local file paths, username, hostname, serial/UUID/UDID values, full process output, or screenshots.
Activity
github-actions commentedon Jun 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
donDinDonDev commentedon Jun 11, 2026
Additional live data from a recurrence after restarting Codex Desktop:
memory_pressurereported about46%free memory at the sample moment.state_5.sqlite: about47 MBlogs_2.sqlite: about1.7 GBsessions: about1.5 GBSkyComputerUseClientorphan accumulation was present at the sample time:SkyComputerUseClient_total=0SkyComputerUseClient_ppid1_orphans=0codex app-server --listen stdio://:2processes, about69.5 MBRSS total,0.0%CPU at that instantnode_repl:2processes, about14.4 MBRSS total,0.0%CPU at that instant~1.6 GBRSS total, with moderate CPU activity but no obvious runaway processnotify = [..., "turn-ended"]hook pointing atSkyComputerUseClient(path redacted). That overlaps with SkyComputerUseClient processes spawned for turn-ended events remain alive as PPID=1 orphans #26293, but noSkyComputerUseClientorphans existed in this specific live snapshot.197 MB, mostly waiting on condvar/semaphore/kevent/pread paths378 MB/ peak about491 MB, mostly mach_msg/kevent/V8-related framesSo this recurrence after restart looks related to the broader Desktop responsiveness/helper lifecycle/log-state family, but it was not a direct reproduction of hundreds of
SkyComputerUseClientorphans at the time sampled.donDinDonDev commentedon Jun 11, 2026
Second recurrence captured after the task in the affected thread finished and the user started it again:
SkyComputerUseClientleak at the sample time:SkyComputerUseClient_total=0SkyComputerUseClient_ppid1_orphans=0codex app-server --listen stdio://ornode_replprocesses in this snapshot.memory_pressurereported about40%free memory.state_5.sqlite: about47 MBlogs_2.sqlite: about1.7 GBsessions: about1.5 GB21, about873 MBRSS total, CPU sum around63%3, about173 MBRSS total, CPU sum around14%playwright_mcp:4, about28 MBRSS totalnode_repl:2, about8 MBRSS totalThis reinforces that the slowdown is reproducible after restarting/re-running, but in these two samples it is not explained by hundreds of stale helper processes or immediate system-wide memory exhaustion.
donDinDonDev commentedon Jun 11, 2026
More precise local evidence tied to the affected conversation ID (
019eb235-67aa-7b23-9d66-9b4213b63d45):IAB_LIFECYCLEentries.This looks like a stale/inconsistent Desktop state issue: the conversation appears to have Browser/IAB route state attached even though the user is not actively using Browser in that thread, and a completed turn can be restored as
markedStreaming=true. That may explain why the thread appears stuck/sluggish after restart/re-run without a clear CPU/memory runaway.donDinDonDev commentedon Jun 11, 2026
Update after reinstalling Codex Desktop:
The user reinstalled Codex Desktop from a fresh app install, but the local code-signing state is still broken on the newly installed app.
Environment/build after reinstall:
26.608.12217/ build3722codex-cli 0.138.0-alpha.7Post-reinstall checks:
codesign -dv --verbose=4also shows:So a normal app reinstall did not restore a valid signature/entitlements state. This may be relevant to the repeated Desktop sluggish/hung thread behavior and the related Browser/IAB crash issue.
twentyOne2x commentedon Jun 11, 2026
Adding a larger current-build slow-load datapoint and cross-linking #27601.
Environment:
From one day of local Desktop logs:
This matches the user-visible behavior where a thread can look blank/stuck for minutes and it is unclear whether it will eventually load. Hard quitting/reopening Codex Desktop improves the behavior temporarily, which suggests live Desktop/app-server state degradation rather than missing local thread data.
donDinDonDev commentedon Jun 11, 2026
Update after applying the latest Codex Desktop update:
The app updated successfully, but the local code-signing/entitlements problem still reproduces on the new build.
Version after update:
26.609.30741/ build3808codex-cli 0.140.0-alpha.2149.0.7827.54Checks after update:
codesign -dv --verbose=4still shows:So the update changed the app/CLI build but did not resolve the invalid signature/entitlements state locally.