Skip to content

[Bug]: Choosing "Use existing CLI" in onboarding hides ChatGPT sign-in with no way back #30073

Closed

Description

@batmanscode

Before submitting

  • I searched existing issues and did not find an exact duplicate.
  • I included source evidence and steps to investigate the problem.

Area

apps/web — Codex provider onboarding (also used by the desktop app).

What happened

During initial Codex setup, the user chose the CLI path, found that the CLI was not installed, and then could no longer find the ChatGPT sign-in option or an obvious way to restart that choice.

Current source labels the initial options Continue with ChatGPT and Use existing CLI. Choosing the latter permanently replaces the choice card with the CLI setup card, even while Codex is missing or unauthenticated.

This report combines the user's observation with source inspection. The sequence has not been independently reproduced in a running app, and the affected release/OS were not captured.

Steps to reproduce

Minimal sequence inferred from the current source:

  1. Start with no Codex CLI available and no explicit Codex config.setupMode choice.
  2. Open onboarding (/welcome) and continue to Connect your agents.
  3. On Codex, click Use existing CLI.
  4. The Codex card now offers Install. Attempt or abandon the CLI setup, then close its terminal.
  5. Try to switch to Continue with ChatGPT.

The disappearance is triggered by step 3 itself; an installer failure is not required. It also applies when an installed CLI still needs authentication.

Expected behavior

A user who selected the CLI path should still have a discoverable way to return to ChatGPT sign-in when that path is unavailable or setup is unfinished, for example a Change setup method control or the original ChatGPT option.

Actual behavior

The initial two-button card disappears. Its replacement offers the CLI Install / Sign in action, with no control to return to ChatGPT setup.

Closing the setup terminal only closes it and refreshes providers. Reopening onboarding reads the saved CLI choice and selects the same CLI-only card.

Source evidence

Inspected main at cefb544af3c98224874419198c0359b652ca3c94 on 2026-11-03:

Impact

Minor bug or occasional failure.

A first-time user who chooses an unavailable CLI path loses the visible alternative that was just offered. This is a setup recovery/discoverability problem; other providers may remain usable.

Version or commit

Affected installed release: unknown. Source inspected: main @ cefb544af3c98224874419198c0359b652ca3c94.

Environment

OS and affected client build not supplied. Source evidence is in the shared web onboarding UI; mobile behavior was not investigated.

Related issues

Workaround

No workaround was verified in a running app. Reopening /welcome alone does not clear the persisted choice.

Prepared by Codex from the user's report and read-only GitHub source inspection. Not filed through t3 triage.

Activity

  1. t3dotgg commented on Nov 9, 2026

    @t3dotgg
    Member

    Note

    🤖 Claude Opus 5.5 responding on behalf of Theo

    Fixed by #33209, merged as 4f0b74e. The setup wizard is now the Welcome page. Its Codex card keeps Continue with ChatGPT after Use existing CLI until Codex is signed in, so the choice can be undone.

    Verified: CI passed on the merged head, including the Welcome page browser tests.

  2. juliusmarminge commented on Nov 9, 2026

    @juliusmarminge
    Member

    Thanks for the report! #33209, merged as 4f0b74e190, fixes this in the Welcome page.

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