Skip to content

[Windows] In-app Browser fails to bind during a background heartbeat and recovers when the chat is shown #59469

Open

Description

@kieransimkin

Environment

  • Windows 10 22H2 x64, build 19045.6466.
  • Codex desktop with the bundled Browser plugin 26.1027.30824 installed and enabled. Bundled CLI reported 0.166.0-alpha.5.1. The About dialog version was not captured.
  • Local Codex chat with a scheduled heartbeat. Observed on 4 November 2026.

Observed sequence

  1. Leave the scheduled chat out of view in the desktop app and let a heartbeat attempt to use the built-in Browser for a read-only check.
  2. The documented Browser runtime initialises, but agent.browsers.get("iab") returns Browser is not available: iab. agent.browsers.list() returns []. The supported app tool to open the Browser panel returns {"status":"queued"}. This blocked multiple scheduled reads before the target sites could be inspected.
  3. Bring that same chat into view in the Windows desktop app. In the observed recovery, supported Codex navigation reported success. Browser selection and tab listing then worked. The agent read two previously blocked dashboard tabs directly and verified both again in the same chat.

The active-page context shortcut still returned No active in-app browser page is available even though explicit tab reads worked and the user reported the pane open. Showing the chat restored direct tab control in this instance. The underlying cause and whether the binding persists after the chat is hidden again are unverified.

Expected behavior

A heartbeat authorised to use the built-in Browser should be able to attach to its own chat's Browser while the chat is out of view. If foreground visibility is required, return that requirement explicitly and provide a supported recovery path. Please also check why active-page lookup and explicit tab reads can disagree after the binding is restored.

Related reports

Activity

  1. added
    bug
    app
    windows-os
    on Nov 4, 2026
  2. Rhino-HT commented on Nov 20, 2026

    @Rhino-HT

    I can confirm this on a separate Windows installation, with a previously working scheduled run. Two existing Codex scheduled chats that use the built-in browser for LinkedIn now fail before opening the site. An active Codex chat can still create and read a hidden built-in browser tab.

    Local evidence (UTC)

    • 4 November 2026, 10:03:13 — the scheduled invitation task successfully opened LinkedIn in the built-in browser.
    • 17 November 2026, 12:32:02 — the scheduled invitation task returned Browser is not available: iab. The desktop log, on 26.1106.6628.0, recorded No ChatGPT browser route is available for browser session [chat ID].
    • 20 November 2026, 09:56:44 — the same scheduled task failed during browser discovery. On 26.1111.9664.0, the desktop log recorded iab backend info request failed for getInfo with IAB browser belongs to another task.
    • 20 November 2026, 15:59 UTC — a separate scheduled follower tracker failed when creating a hidden tab. On 26.1117.3838.0, the desktop log recorded the same getInfo ownership error.
    • Later that day, bringing each affected chat into view produced browser_use_iab_backend_startup_ready for its own session. That confirms browser startup in the open chats. Unattended recovery remains unverified.

    To reproduce, schedule a chat to open and read a page using the built-in browser, leave the desktop app running, and switch to another chat before the scheduled time. Compare the scheduled attempt with the browser startup after selecting the scheduled chat.

    Could the Codex desktop team fix browser session registration and selection for unattended scheduled runs and confirm the fix on Windows with the owning chat out of view? Leaving the chat selected defeats the purpose of scheduling.

  3. kamkie commented on Nov 27, 2026

    @kamkie

    I can reproduce this on Windows with a local recurring automation that reads Medium through the built-in browser. The October 23 run of the same automation completed using the built-in browser with no recorded step to show the chat.

    Environment: Windows x64, Codex Desktop 26.1120.50957 (MSIX package 26.1120.6357.0), bundled Browser plugin enabled.

    November 27, 2026 (Europe/Warsaw):

    Time Observed behavior
    18:05:11.684 While the scheduled chat was hidden, built-in browser discovery (getInfo) failed with IAB browser belongs to another task. The run had yet to open Medium.
    18:05:55.307 After the same chat was brought into view, Codex synchronized browser ownership and registered the browser session route for that chat.
    18:05:58.637 Browser discovery succeeded. The run then read Medium through the built-in browser.

    To reproduce, schedule a local read-only task that uses the built-in browser and leave another chat selected when it starts. The expected behavior is for the scheduled chat to open and read a page through its own built-in browser session while it stays hidden. Please verify any fix with a scheduled page read that leaves the chat hidden and uses the built-in browser without desktop Computer Use.

  4. ViktorBirka commented on Nov 30, 2026

    @ViktorBirka

    Windows cold-start reproduction across three background chats

    On Windows 10 Pro x64 (build 19045), with Codex Desktop MSIX package 26.1120.6357.0, three existing local chats received instructions while a fourth chat stayed selected. All three failed to create their first hidden built-in browser tab after a full app restart. This also reproduces with an explicit message to each chat, independently of the heartbeat scheduler.

    Impact. An unattended read cannot reach its destination until the affected chat has a usable browser session. Selecting each chat in the main window interrupts the user's work. Background message delivery itself succeeded.

    Steps to reproduce

    1. Start with a coordinator chat and three existing chats that have previously opened and closed their own built-in browser tabs successfully. Fully quit and relaunch the desktop app. Verify that a new main process started.
    2. Keep the coordinator selected. Leave the three other chats out of view. From the coordinator, send each one the same read-only request in sequence. Wait for one to finish before starting the next.
    3. In each chat, request a new hidden tab using cua.createBrowserTab("iab", targetUrl, {visible: false}). In our run the target was a previously used HTTPS page. On success, verify the page and signed-in identity, close only the created tab, and verify its ID is absent from the tab list.
    4. On failure, inspect the available browsers and retry the hidden-tab request once. Record actual create calls separately from internal discovery events.

    Latest cold run, 30 November 2026

    New main process started at 06:57:51 UTC. The test harness allowed one chat to use the browser at a time. Each chat acquired and released that slot successfully.

    Background chat First to last ownership error (UTC) Create attempts Tabs created
    A 07:02:54 to 07:03:07 2 0
    B 07:05:22 to 07:05:38 2 0
    C 07:06:43 to 07:06:52 2 0

    All six calls returned Browser is not available: iab. All three chats reported an empty browser inventory. The main process log contained iab backend info request failed, request=getInfo, and IAB browser belongs to another task. for each corresponding chat. No attempt reached site navigation or sign-in. No tab was created to clean up. We independently verified the local scheduling slot was free at the end.

    Controls on 28 November, same machine and package

    • A previous cold run also failed in all three chats, with two attempts per chat.
    • In that same app process, we then selected chat A for about 3.5 seconds and switched back to the coordinator before sending the next browser request. At 12:14:31 UTC the log recorded the browser session becoming ready for A. At 12:14:47 UTC A opened a hidden tab, verified its signed-in identity, closed it at 12:14:55 UTC, and verified its tab ID was gone. The coordinator remained selected during these browser actions.
    • In a separate run with all three browser sessions already ready, all three chats opened, verified and closed their own hidden tabs on the first attempt.

    Expected behavior and acceptance test

    After a full restart, leave the coordinator selected for the entire test. Each of the three background chats should be able to acquire its own authorized browser session, open one hidden tab, verify the page, and close its own tab. The selected chat and user-owned tabs should stay in place. Cross-chat access is unnecessary. If visibility is an intentional prerequisite, please document it and return an actionable diagnostic at the point of failure.

    The logs identify the failing operation and the controls show the effect of selecting a chat. We have not established why the initial session binding is missing.

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

    appautomationsbrowserbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions