Skip to content

fix(app): hide OpenCode Go from Settings popular providers - #65740

Merged
Hona merged 2 commits into
devfrom
fix/settings-hide-go-popular
Nov 23, 2026
Merged

Hona merged 2 commits into
devfrom
fix/settings-hide-go-popular

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Follow-up to #65466. That PR hid "OpenCode Go" from the connect dialog, TUI /connect and opencode auth login, but Settings → Providers builds its own "Popular providers" list and still showed Go first. Its Connect button opened the Go API key form, so new users were still asked for a Go key.

popularProviders stays as is because it also orders model groups, where Go models should still come first for people with a Go key.

How did you verify your code works?

  • bun run typecheck in packages/app, bun run lint:changed
  • ran the web app against a fresh local server with no providers and opened Settings → Providers before and after; screenshots are in the Slack thread

Screenshots / recordings

Before: "OpenCode Go" is the first popular row, and Connect opens "OpenCode Go API key".
After: "OpenCode" is the first row with no note, and Connect offers "OpenCode account" or "API key (service account)".

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Requested by: @Hona (Hona via Slack)

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct. It brings Settings → Providers in line with #65466: providers.popular() returned opencode-go first and the Popular list only filtered out connected providers, so a fresh user was offered the Go API key form. A saved Go key still shows under Connected providers, and removing the Go "Recommended" badge case is right since that row can no longer appear. Model ordering is unchanged.

I checked the code path, ran the packages/app type check (passes) and ran the tests in src/settings/providers (all 26 pass). I couldn't open the web Settings page here, so could you attach the before/after screenshots mentioned in the description to the PR?

Public API is unchanged.

@Hona
Hona merged commit 331010a into dev Nov 23, 2026
12 checks passed
@Hona
Hona deleted the fix/settings-hide-go-popular branch November 23, 2026 07:52
@amrkmn amrkmn mentioned this pull request Nov 23, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant