Repository navigation
Description
What version of Codex CLI is running?
codex-cli 0.147.0 (also the current npm release when checked on 2026-08-17).
What subscription do you have?
Logged in using ChatGPT; the CLI does not expose the exact subscription tier.
Which model were you using?
Not model-dependent. This occurred in the desktop app's Computer Use tool host.
What platform is your computer?
Darwin 25.5.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
ChatGPT/Codex desktop app on macOS.
Codex doctor report
Not included. This report concerns an observed pre-update runtime generation, and the current fresh runtime now succeeds. The in-client feedback was submitted without logs to avoid attaching unrelated session data.
What issue are you seeing?
An in-place Sparkle update left a pre-update node_repl host alive after the desktop app, packaged Node runtime, and Computer Use service had been replaced.
Measured timeline from 2026-08-11:
- The failing
node_replhost started at 11:40:17 local time. - Sparkle replaced the app's
node_repland Node binaries and started Computer Use helper26.804.1000633between 12:54:56 and 12:55:18. - At 13:38, the post-update helper logged 49 consecutive
Sender process is not authenticatederrors during one five-second retry loop. - A kernel reset produced a second loop of exactly 49 identical rejections because the replacement kernel was still a child of the old host.
lsofshowed the old host's text image mapped to a deleted Sparkle installation-staging inode. A fresh host mapped the current binary under/Applications/ChatGPT.app/Contents/Resources/cua_node/bin/node_repl.- A newly started post-update host immediately completed
sky.list_apps()and ordinary app-state reads without changing Accessibility, Screen Recording, or any other macOS permission.
The user-facing error was only:
Sky Computer Use native pipe startup failed
The nested service-side authentication rejection and the version-skew cause were not surfaced.
What steps can reproduce the bug?
This was observed once with exact process and filesystem evidence:
- Keep a desktop Computer Use
node_replhost alive. - Allow Sparkle to replace the desktop app and bundled Computer Use runtime in place.
- From the still-live pre-update host, call
sky.list_apps()(or another Computer Use operation). - Observe the generic native-pipe startup failure while the new service logs repeated
Sender process is not authenticated. - Reset only the JS kernel; the failure persists because the parent tool host is still pre-update.
- Start a genuinely fresh tool host from the updated app; the same call succeeds.
A deterministic test could hold a host from build N open across installation of build N+1, then exercise the new helper before the old host is retired.
What is the expected behavior?
After an app update, the desktop app should retire or refresh pre-update Computer Use/node_repl hosts before they call the new native service.
If an old host cannot authenticate, the UI should surface an actionable version-skew/restart message instead of only the generic native-pipe startup error.
Additional information
- OpenAI
/feedbackthread:01a010fa-6a6f-7c63-8ddc-8c538c4fa856(submitted without logs). - Current control on 2026-08-17: app
26.810.41047(build 6570), Computer Use helper26.812.1000717(build 1000717), and freshsky.list_apps()succeeds. - This is distinct from Computer Use native pipe rejects signed in-app sender as unauthenticated on macOS 26.5.2 #35234, where a fresh full relaunch still fails, and Codex for macOS accumulates Computer Use / MCP helper processes and unreaped zombie children, causing HID lag and WindowServer/TCC stalls #25744, which tracks helper/process accumulation. Here, only the pre-update live host failed and a fresh post-update host was the successful control.
Activity
Gonzih commentedon Oct 23, 2026
🐇 GitKB bug report
Important
Reproduced on macOS 26.6.2; recovery verified in the same resumed conversation.
Restarting only the affected Codex CLI invocation replaced the stale Computer Use host and restored Safari access. Other Codex sessions stayed running.
Sky Computer Use native pipe startup failedafter roughly 5–6 secondsnode_replstill mapped executables inside deleted Sparkle installation directories/Applications/ChatGPT.app; Safari accessibility reads and navigation succeededProblem
This matches the stale-host case in the issue. Resetting the JavaScript kernel and toggling Computer Use did not replace its long-lived parent host. Native authentication errors were surfaced to the agent only as a generic pipe startup failure. Inventory returned empty app/browser lists with the same error.
Impact
An active coding session could no longer use Safari. Repeated tool resets and permission toggles made no progress. A blanket process kill would also have disrupted unrelated coding sessions, so preserving those sessions was an explicit constraint during recovery.
🔬 Process and executable evidence
The failing Codex invocation, CUA host and kernel had been running since 2026-10-21 15:00 UTC. At the failure on 2026-10-23,
lsof -a -p <host>,<kernel> -d txt -Fnshowed their executable images under:Both reported paths no longer existed on disk. The old host also owned a live Codex child, making broad process-tree termination inappropriate.
The user restarted only the affected CLI invocation and resumed this conversation at 20:23 UTC. Its replacement CUA host and kernel mapped:
Safari access then worked through the same Computer Use interface. Other long-running Codex sessions were left intact.
🧾 Sanitized native logs and environment
Native helper logs around 2026-10-23 20:16:46 UTC included:
Authentication rejection repeated rapidly in one helper; a competing helper reported lock contention at roughly five-second intervals. A nearby browser-use log separately reported
reason=untrusted-process-ancestry; that is a related clue, not proof that both integrations use the same validation path.codesign --verify --deep --stricton the installed Computer Use helper exited 0. These versions were unchanged across the successful restart.Observed mechanism and remaining gap
Observed: a stale host retained deleted updater-staging executable paths; resetting its kernel did not replace that host; restarting the affected CLI produced hosts using the installed application and restored access.
Inference: stale executable identity or version skew may explain the native authentication rejection. We did not instrument the internal authentication check. The socket-lock contention may be a separate helper handoff race.
Regression coverage worth adding
🐇 GitKB diagnostics · Evidence checked against live process state and recovery · gitkb.com