Repository navigation
Description
What happened
I was trying to sign in with GitHub on the Source control providers page. It says to sign in with gh auth login and then rescan. I signed in twice, but it wasn't clear what the rescan was supposed to be. There is no button called Rescan, and the GitHub provider section asks for a token instead. The rescan control turned out to be a circular arrow icon, which is not an obvious thing to press. My account only appeared after restarting the app.
Diagnosis
This is a UX and copy problem. The gh login itself was fine, and the provider check succeeded once it ran again.
- The GitHub panel says: "Sign in with
gh auth loginon the server host, then rescan to choose accounts here." (SourceControlAccountSettings.tsx).mainstill has this wording. - The only rescan control on the populated page is an icon-only button with no visible text (
scanButtoninSourceControlSettings.tsx). Its name appears only in a tooltip and aria-label. - That button is in the header of the Version Control section, not in the GitHub panel. It can be off-screen when GitHub is expanded.
- The GitHub panel renders the token form (
SourceControlTokenSettings) above the rescan instruction, so the visible next step looks like pasting a token. - I found nothing in the settings page code that re-runs discovery after a login in an external terminal, so the page stays stale until a manual rescan or a reload.
Suggested fixes:
- Put a labeled "Rescan" button directly beside the instruction.
- Name the control in the copy if it stays an icon.
- Make it clear the token is an alternative to
gh auth login. - Consider re-running discovery when the window regains focus.
Steps to reproduce
Reconstructed from this session, not re-run from a clean state:
- Open T3 Code desktop with
ghnot signed in. - Go to Settings > Source Control and expand GitHub under Source control providers.
- Run
gh auth loginin an external terminal. - Return to the page. It shows the old status, the "then rescan" text and a token form, with no control labeled Rescan.
- Restart the app and reopen the page, or click the circular arrow icon by the Version Control heading. Only the restart was tested in this session.
Version
0.1.8-nightly.20261106.4247 (desktop app)
Environment
Arch Linux arm64 (kernel 7.2.11), Hyprland, desktop AppImage with local server, gh 2.103.3
Evidence
# Server trace and file timestamps, local time (+13:00), 2026-11-06
19:20:45 server.discoverSourceControl Success (only scan before the restart)
19:23:11 gh hosts.yml last written by gh auth login
19:29:22 still no newer scan in the trace
19:31:17 server restarted
19:31:25 server.discoverSourceControl Success (user confirms the account now appears)
# Same probe the server runs, in a terminal with the server's PATH, before the restart
$ gh auth status --json hosts
state=success active=true host=github.com tokenSource=keyring (login redacted), exit 0Related issues
No duplicate found. #15976 and #3806 are different: there, GitHub auth failed or was misreported, while here auth works and the problem is finding the rescan step.
Fix applied or workaround
Nothing was changed on the machine. Restarting the app makes the account appear. The circular arrow icon by the Version Control heading is the rescan control, per the source; clicking it was not tested in this session.
Filed by
Claude Code (claude-opus-5-5) via t3 triage
Activity
MCKevmeister commentedon Nov 6, 2026
Please don't do any of the suggested fixes that triage has created, this should be something far more automated. That I have to go to a terminal away from t3code is already the issue here. The auth flow should be far simpler and more seemless. I can see how this wouldn't have been addressed so far