Skip to content

Persist credentials and add configurable Git timeouts - #7

Merged
qiansc merged 1 commit into
mainfrom
feat/sourcegraph-community-sync-20261027
Oct 27, 2026
Merged

qiansc merged 1 commit into
mainfrom
feat/sourcegraph-community-sync-20261027

Conversation

@qiansc

@qiansc qiansc commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Git operations now use a configurable global timeout (15 minutes by default), with per-repository inheritance or 15/30/45/60-minute overrides. The selected budget is captured when a task starts and can be changed without restarting the service.

Credentials now survive host replacement through database-backed storage for encryption material, service API credentials and OAuth client configuration. The first upgrade imports an existing credential key so saved code-source tokens remain readable; users can replace unreadable credentials through the UI. Existing database values take precedence over bootstrap environment variables. MCP sessions also work behind a reverse proxy when the application listens on a network interface.

Validation: full Go suite, targeted race tests, JavaScript checks, web/native builds, public-artifact audit, and a local startup/restart smoke test confirming persisted API authentication without a key file. Added SQLite migration/restart coverage and shared PostgreSQL/MongoDB storage-contract coverage for CI.

@qiansc
qiansc merged commit 2d29f55 into main Oct 27, 2026
3 checks passed
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