You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 676bcdf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/admin/code-hosts/github.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -462,7 +462,7 @@ GitHub connections support the following configuration options, which are specif
462
462
{
463
463
// If non-null, enforces GitHub repository permissions. This requires that there is an item in the [site configuration json](https://sourcegraph.com/docs/admin/config/site_config#auth-providers) `auth.providers` field, of type "github" with the same `url` field as specified in this `GitHubConnection`.
Copy file name to clipboardExpand all lines: docs/admin/code-hosts/gitlab.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,10 +278,12 @@ See [Internal rate limits](/admin/code-hosts/rate-limits#internal-rate-limits).
278
278
// A GitLab access token with "api" scope. Can be a personal access token (PAT) or an OAuth token. If you are enabling permissions with identity provider type "username", this token should also have "sudo" scope.
279
279
"token": null,
280
280
281
-
// The OAuth token expiry (Unix timestamp in seconds)
281
+
// ⚠️ DEPRECATED: DEPRECATED: This setting has no effect. The OAuth token expiry (Unix timestamp in seconds)
282
+
// DEPRECATED: This setting has no effect. The OAuth token expiry (Unix timestamp in seconds)
282
283
"token.oauth.expiry": 0,
283
284
284
-
// The OAuth refresh token
285
+
// ⚠️ DEPRECATED: DEPRECATED: This setting has no effect. The OAuth refresh token
286
+
// DEPRECATED: This setting has no effect. The OAuth refresh token
Copy file name to clipboardExpand all lines: docs/admin/config/site-config.mdx
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -577,8 +577,8 @@ All advanced configuration options and their default values are shown below.
577
577
// The number of concurrent external service syncers that can run.
578
578
"repoConcurrentExternalServiceSyncers": 3,
579
579
580
-
// Interval (in minutes) for checking code hosts (such as GitHub, Gitolite, etc.) for new repositories.
581
-
"repoListUpdateInterval": 1,
580
+
// Minimum interval (in minutes) between syncs of each code host (such as GitHub, Gitolite, etc.). Code hosts with no changes or with sync errors are synced less often, up to every 8 hours.
581
+
"repoListUpdateInterval": 2,
582
582
583
583
// Configuration for repository purge worker.
584
584
"repoPurgeWorker": {
@@ -643,6 +643,11 @@ All advanced configuration options and their default values are shown below.
643
643
// EXPERIMENTAL: Use content-based language detection for lang: filters (Zoekt only).
644
644
"searchContentBasedLanguageDetection": false,
645
645
646
+
// Policies the Sourcegraph instance applies to the src CLI. These are served unauthenticated at /.api/src-cli/config so the CLI can read them before authenticating, so do not place sensitive values here. The allowAccessTokenAuth policy is enforced server-side.
647
+
"srcCli": {
648
+
"allowAccessTokenAuth": true
649
+
},
650
+
646
651
// Syntax highlighting configuration
647
652
// Other example values:
648
653
// - {
@@ -778,7 +783,7 @@ All advanced configuration options and their default values are shown below.
778
783
// Enables users to change their username after account creation. Warning: setting this to be true has security implications if you have enabled (or will at any point in the future enable) repository permissions with an option that relies on username equivalency between Sourcegraph and an external service or authentication provider. Do NOT set this to true if you are using non-built-in authentication OR rely on username equivalency for repository permissions.
779
784
"auth.enableUsernameChanges": false,
780
785
781
-
// When enabled, users are required to connect at least one external account to their Sourcegraph account. Site admins are exempt from this requirement.
786
+
// When enabled, users are required to connect at least one external account to their Sourcegraph account. Site admins are exempt from this requirement. To require an account for a specific code host authentication provider, set `enforceAccountConnection` on that provider in `auth.providers`.
782
787
"auth.enforceExternalAccountConnection": false,
783
788
784
789
// Enables OAuth 2.0 Dynamic Client Registration (RFC 7591) for the Sourcegraph identity provider. When enabled, OAuth clients can self-register programmatically instead of requiring manual pre-configuration. This is used for MCP clients; if `mcp.enabled` is `false`, this setting is treated as `false`.
Copy file name to clipboardExpand all lines: docs/self-hosted/observability/alerts.mdx
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3198,6 +3198,7 @@ Generated query for critical alert: `(min((sum(src_worker_jobs{job=~"^worker.*",
3198
3198
**Next steps**
3199
3199
3200
3200
- Completed, unexpired SCIP uploads finished 1-96h ago are not represented in the persisted commit graph fast path.
3201
+
- Uploads whose commit is no longer reachable from any ref (for example, on a deleted branch) are excluded, so the remaining uploads are expected to become visible.
3201
3202
- Check whether the codeintel commit graph updater worker is running and healthy.
3202
3203
- Check worker logs for commit graph update failures.
3203
3204
- Inspect codeintel commit graph freshness and upload processing panels for related backlog or errors.
@@ -3876,7 +3877,7 @@ Generated query for warning alert: `min((max by (name) (src_github_rate_limit_re
3876
3877
3877
3878
**Descriptions**
3878
3879
3879
-
- <spanclass="badge badge-critical">critical</span> worker: less than 30 remaining calls to GitLab rest API before hitting the rate limit
3880
+
- <spanclass="badge badge-warning">warning</span> worker: less than 30 remaining calls to GitLab rest API before hitting the rate limit
3880
3881
3881
3882
**Next steps**
3882
3883
@@ -3886,7 +3887,7 @@ Generated query for warning alert: `min((max by (name) (src_github_rate_limit_re
0 commit comments