Repository navigation
Description
Environment
- macOS, arm64; desktop app 26.1027.30824, build 22943, production channel.
- Configured app updater reports up_to_date on 31 October 2026.
- Bundled in-app browser and supported CUA/browser APIs. No Chrome fallback.
Problem A: a newly created background chat lacks its browser owner
- Create a normal local chat through the supported create_thread tool and let it run without selecting it.
- Ask it to open a neutral HTTPS page in its own hidden in-app browser.
- It fails with "Browser is not available: iab" and inventory lacks an IAB endpoint for that chat.
- Select that chat once. Desktop logs show browser owner-sync capturing its route before a page webview exists.
- The unchanged tool runtime then discovers IAB and opens/reads the neutral page successfully.
Observed twice in existing normal chats. In the independent diagnostic chat, conversation-stream ownership preceded browser-route ownership by several minutes. No restart, runtime reset, or permission change was used for recovery.
Problem B: completing a subagent removes the browser connection, and followup_task does not recreate it
Three separate diagnostic subagents each opened and read a neutral HTTPS page successfully, then ended a turn with one of these states:
- Only tab explicitly closed; empty tab inventory verified before completion.
- Temporary tab left open without a retention mark.
- Tab marked with markHandoff; presence verified after marking and before completion.
All three lost IAB on followup_task. The preserved browser binding failed, and inventory lacked IAB. In the first two cases, one fresh IAB tab-creation attempt also failed. The marked-tab case did not attempt fresh creation; logs establish that its whole route was disposed and its marked tab closed.
An additional completed file-only turn did not repair the first agent: another resumed turn failed both the preserved binding and one fresh IAB creation attempt.
Controls
- The ordinary parent survived its own completed turn with zero tabs and the same browser binding, then created and read a fresh page.
- That parent remained usable while the resumed child tests failed.
- Closing the final tab during an active turn returns a valid empty list; a replacement can be created through the existing binding.
- A stale closed-tab handle produces a tab-specific error while another tab remains usable.
- Reading a page with panel visibility false succeeds.
Read-only packaged-code trace
- The active host browser hook captures child routes on initial subAgentActivity kind="started". Saved followup_task activities are kind="interacted", which this hook ignores.
- Child routes use disposeAfterSessionActivity=true. endSessionActivity disposes the route/backend independently of tab handoff marks. Logs show no route recapture before failed resumes.
- A broader renderer registration hook exists, but its manager initializer has an unconditional false gate in this build.
- The active host thread/started registration path requires a child source with a parent. The ordinary chats' source is "vscode", so that branch performs no registration.
- Selecting a chat invokes browser-sidebar-owner-sync -> syncOwner -> bindSessionRouteOwner, supplying the missing ordinary-chat route.
- Eighteen isolated tests of extracted installed functions support these findings. Those tests use mocked dependencies; the live reproductions above are separate evidence.
Requested correction and verification
- Register and await an exact, trusted window/owner association before the first browser-capable turn of an ordinary background chat.
- Ensure a resumed child's browser route exists at actual turn admission/start using its verified parent association. Preserve handoff-marked tabs when ending a child turn. Recreating an empty route alone cannot restore an already destroyed tab.
- Preserve per-chat isolation. A generic "interacted" event can also be messaging, so it is not by itself a reliable new-turn boundary.
- Verify never-selected background creation, all three child cases, an intervening file-only turn, retained original-tab survival, and unaffected parent/unrelated-chat tabs.
Discovery warning counts are not failure counts: probing wrong-session endpoints can produce "No ChatGPT browser route is available" alongside a successful matching endpoint in the same pass.
Related: #58419 reports IAB discovery failure on the same macOS app version, but its cause and equivalence to these two reproductions are not established.
Scope and privacy
No installed application files, permissions, security checks, profiles, or unrelated chats were changed. No app restart was performed. Test tabs were cleaned up. This report omits usernames, local paths, chat/session/tab identifiers, private websites, account details, raw logs, screenshots, transcripts, credentials, and proprietary source excerpts. No permanent repair has been applied or verified.
Activity
github-actions commentedon Oct 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
stran12 commentedon Nov 5, 2026
Reproduced on Codex desktop 26.1029.61003, build 24614, production channel, on macOS 27.0.1 (26A434). The app updater reports
up_to_date. Locked Use is enabled. Observed November 5, 2026.This blocks unattended browser verification in hourly scheduled jobs and in newly spawned workers. A controlled test also reproduces with the Mac unlocked, so the failure is not limited to automatic unlock.
Controlled reproduction
https://example.com.await cua.getState(). Both see native apps, no inventory errors, andbrowsers: [].Browser is not available: iabbefore creating a tab.Example Domain.A contemporaneous system check reports
IOConsoleLocked = No. This differs from a resume-only failure: both newly spawned workers failed on their initial browser attempt as well as their follow-up. Concurrent page interaction could not be tested because worker session creation failed.Scheduled-run evidence
Several hourly scheduled chats also lack IAB. Selected diagnostic messages, with identifiers removed:
Some individual scheduled runs recover after opening a Browser panel in their own chat with
open_in_codex, showing that chat throughnavigate_to_codex_page, and binding the resulting tab by ID. In one recovered run, native computer-use inventory still reported that automatic unlock had failed, while actual IAB interaction succeeded.This supports investigating per-conversation browser registration/lifecycle separately from native Mac unlocking. The exact root cause is not established.
Please support reliable browser initialization for never-selected scheduled chats and new/resumed workers, with each worker retaining its own browser association. The panel-opening workaround has not been validated for concurrent unattended workers.
No email addresses, private URLs, chat/session identifiers, local paths, raw logs, or credentials are included.
yuya2017 commentedon Nov 16, 2026
Reproduced on Codex desktop
26.1111.21308(build27194), macOS27.2.1(arm64).A standalone local scheduled run started a new chat while the Mac was unlocked. Opening
about:blankin a hidden in-app browser tab failed withBrowser is not available: iab. The desktop log showedIAB browser belongs to another task.After I opened that chat once in the app, the desktop log showed that its browser route was registered. A scheduled run targeting the same chat then opened and closed the hidden tab successfully while the Mac was locked.
Expected behavior is for a standalone scheduled chat to initialize its own browser connection before its first browser request, without requiring someone to open the chat. I haven’t tested whether the same-chat workaround survives an app restart.
SisyphusSQ commentedon Nov 18, 2026
I observed the same failure after a desktop app restart in an existing local chat with an hourly heartbeat. This adds the restart-and-resume case to the reproduction above. Environment: ChatGPT desktop / Codex
26.1111.21308(build27194), macOS27.0(26A428), arm64.November 18, 2026, UTC
cua.listBrowsers()listed only the extension, with noiab. A hidden-tab creation attempt returnedBrowser is not available: iab.js_resetsucceeded, but the same creation attempt still failed afterward.getInfoand created a hidden tab at 03:03:23. It then read the target page and submitted its monitoring result at 03:19:44.Selected desktop log fields (
<chat>identifies the same original chat throughout):The observed sequence suggests that background resume after a desktop restart can begin before the original chat has a usable IAB route. A regression test would restart the desktop app while a browser heartbeat is running, leave the original chat out of view, and verify that the resumed turn can create and read a hidden tab in its own chat. This was one observed incident. The source of the quit event and reproducibility across restarts are unverified.
kryptoraquantum commentedon Nov 21, 2026
Additional reproduction on desktop release 26.1117.31558, macOS 27.0.1 (arm64), November 21, 2026, around 18:20 CET.
Browser is not available: iab. Desktop diagnostics recorded two browser discovery failures withIAB browser belongs to another task.during the attempt.Browser is not available: iab.The original preview stayed visible and no live scroll occurred. The app log confirms an ownership rejection for the first delegated attempt. The reason the resumed subagent could not open its own tab was not independently established. This looks relevant to the resumed-subagent behavior described here.
yifei-ambr commentedon Nov 24, 2026
Related macOS evidence for Problem B. On 26.1117.41037 (build 29803), a fresh local child had an IAB route, then lost it 7 ms after capture, before its first browser request. The same child failed again on continuation; the parent opened the target successfully.
The three-step reproduction, trace, and regression fixture are together in #59350. A candidate build can be checked against both first use and continuation with the same child.