Skip to content

feat(code-sources): one card per code source, consistent token variable - #2

Merged
qiansc merged 1 commit into
mainfrom
feat/unify-code-sources
Oct 14, 2026
Merged

qiansc merged 1 commit into
mainfrom
feat/unify-code-sources

Conversation

@qiansc

@qiansc qiansc commented Oct 14, 2026

Copy link
Copy Markdown
Contributor
  • Settings show one card per code source: connection fields (custom Git only) and the global token with its expiry, saved with one button. User settings show personal tokens per source.
  • Clearer wording: "Code sources" / "Code source tokens", "HTTPS username", host placeholders show the effective value.
  • GitHub's environment token is now SOURCEGRAPH_GITHUB_TOKEN; SOURCEGRAPH_GIT_TOKEN is still read while it is unset (legacy_token_env).
  • Credentials API gains move_to for retired kinds: the token is re-encrypted server-side for an empty target, then the old record is cleared.
  • Startup moves repositories registered with a retired provider to its target; pinned hosts are unchanged.

Checks: bun run check, go test ./..., bun run build; settings pages verified in a headless browser with mocked APIs.

Made with Cursor

…enamed with fallback

Co-authored-by: Cursor <cursoragent@cursor.com>
@qiansc
qiansc merged commit d07ce98 into main Oct 14, 2026
3 checks passed
@qiansc
qiansc deleted the feat/unify-code-sources branch October 14, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant