Skip to content

[Bug]: Desktop startup briefly warns about Codex provider status before its initial check completes #24527

Open

Description

@motelmalintzi-admin

Area

apps/web (desktop startup; initial provider status originates in apps/server)

What happened

T3 Code briefly displays an amber “Personal provider status” notification saying:

Codex provider status has not been checked in this session yet.

The notification disappears as initialization completes. This looks like a provider/configuration problem even though the message describes a check that has not run yet.

Steps to reproduce

Observed on an existing Windows desktop installation with both the local Windows environment and WSL Ubuntu enabled:

  1. Close T3 completely.
  2. Open T3 Code from the pinned Windows taskbar icon.
  3. Watch the initial new-thread screen while providers initialize.
  4. A provider-status warning briefly appears, then disappears without intervention.

A locally reviewed recording shows the notification at approximately 5.25 seconds into the recording and no notification at the 6-second sample. Those samples do not establish its exact duration. Frequency and reproduction on a clean installation have not been established.

Expected behavior

Represent an initial provider check as loading/checking, rather than showing a problem-style warning before the check finishes. Show an actionable warning or error when a check actually fails or times out.

Actual behavior

A pending initial state is presented as a warning, giving the impression that authentication or configuration is broken.

Version and environment

  • T3 Code desktop 0.1.2, packaged commit 044f072.
  • Windows desktop with local Windows and WSL Ubuntu environments enabled.
  • Codex provider.
  • “WSL only” disabled.

Evidence

The installed server bundle, apps/server/dist/binCli-BQvPfujE.mjs, creates the pending Codex provider snapshot with:

  • status: "warning"
  • auth: { status: "unknown" }
  • The notification message quoted above.

In the inspected 15-second startup trace window, all four Windows-server checkCodexProviderStatus operations ended with Success (durations: 2510.6, 2408.0, 1831.9, and 1692.4 ms). Span success establishes completion of those operations; it is not an end-to-end test of sending a model request.

The connection catalog loaded successfully in both reads during this launch. This warning is therefore separate from the catalog decryption failure discussed in #8341.

For timing context, in this one measured launch, the Windows backend's onReady span completed 2.681 seconds after the recorded desktop startup began; WSL's completed after 8.407 seconds. These are not averages, not timings from the taskbar click, and not evidence of a performance regression. The recording remained on the new-thread screen, so it does not measure opening an existing chat.

Impact

Minor UI issue: a normal initialization state appears to be a provider failure. It is especially confusing when checking whether saved connections and configuration survived a restart.

Related reports and scope

#16932 also mentions a pending-provider notification, but concerns a much longer macOS server stall. This report does not claim the same root cause. Its scope is the warning presentation before the initial Codex check finishes.

No raw logs, recordings, screenshots, personal paths, account details, or chat contents are attached.

Prepared with assistance from Codex from local video, trace, and installed-code inspection.

Activity

  1. jawaddepp commented on Oct 30, 2026

    @jawaddepp

    Also observed on macOS with T3 Code 0.1.6-nightly.20261030.3917, macOS 27.2 (Apple Silicon), and Codex CLI 0.166.0.

    Fully quitting and reopening the desktop app repeatedly shows an amber “Codex provider status” banner:

    Codex provider status has not been checked in this session yet.

    The banner clears automatically after the initial check completes; it returns on subsequent launches. The user repeatedly interpreted it as a broken Codex installation.

    Local trace evidence from October 30, 2026 (UTC):

    Initial checkCodexProviderStatus start Duration Span result
    10:27:41.436653 3247.8 ms Success
    10:29:43.137096 1869.1 ms Success
    10:33:31.993001 2226.5 ms Success

    User-supplied screenshots captured the pending banner during startup. A later live inspection showed it had cleared without opening Settings. Settings also reported Codex authenticated.

    Separately, an end-to-end check through T3's native Codex command tool ran printf "T3_CODEX_COMMAND_OK\\n"; pwd, returned the marker and a working directory, and exited with code 0. This confirms command execution worked in the repaired installation; the issue reported here is the pending-state warning presentation. An earlier missing command-host executable was repaired before these final checks and is not being reported as the cause of this UI behavior.

    Installed-code inspection found makePendingCodexProvider constructing the initial snapshot with installed: false, status: "warning", auth.status: "unknown", and the banner message above before the asynchronous probe completes.

    Suggested behavior: treat the initial pending snapshot as checking/loading, and reserve warning styling for a failed or timed-out probe. These observations support the existing report on another platform; they do not establish a warning that persists after a successful probe.

    Posted with the user's authorization, with assistance from Codex. No personal paths, account identifiers, chat contents, or raw logs attached.

  2. suhaasbadada commented on Nov 6, 2026

    @suhaasbadada

    A proposed fix is available in #31732: #31732. It distinguishes the initial provider check from real warnings, so normal startup no longer shows a problem alert while completed failures remain visible. The PR includes regression tests and before/after browser evidence. It is awaiting maintainer review and has not been merged.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions