diff --git a/docs/admin/code-hosts/aws-codecommit.mdx b/docs/admin/code-hosts/aws-codecommit.mdx index fa2036d07..1acc427f9 100644 --- a/docs/admin/code-hosts/aws-codecommit.mdx +++ b/docs/admin/code-hosts/aws-codecommit.mdx @@ -37,7 +37,7 @@ AWS CodeCommit connections support the following configuration options, which ar {/* SCHEMA_SYNC_START: admin/code_hosts/aws_codecommit.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // REQUIRED: diff --git a/docs/admin/code-hosts/azuredevops.mdx b/docs/admin/code-hosts/azuredevops.mdx index 08fa385e6..72b459f72 100644 --- a/docs/admin/code-hosts/azuredevops.mdx +++ b/docs/admin/code-hosts/azuredevops.mdx @@ -69,7 +69,7 @@ Azure DevOps connections support the following configuration options, which are {/* SCHEMA_SYNC_START: admin/code_hosts/azuredevops.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json // Authentication alternatives: token OR windowsPassword diff --git a/docs/admin/code-hosts/bitbucket-cloud.mdx b/docs/admin/code-hosts/bitbucket-cloud.mdx index 3db5e7671..8a2774495 100644 --- a/docs/admin/code-hosts/bitbucket-cloud.mdx +++ b/docs/admin/code-hosts/bitbucket-cloud.mdx @@ -116,7 +116,7 @@ Bitbucket Cloud connections support the following configuration options, which a {/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_cloud.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // The workspace access token to use when authenticating with Bitbucket Cloud. diff --git a/docs/admin/code-hosts/bitbucket-server.mdx b/docs/admin/code-hosts/bitbucket-server.mdx index 75f36152d..92f1449ee 100644 --- a/docs/admin/code-hosts/bitbucket-server.mdx +++ b/docs/admin/code-hosts/bitbucket-server.mdx @@ -202,7 +202,7 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi {/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_server.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json // Authentication alternatives: token OR password diff --git a/docs/admin/code-hosts/gerrit.mdx b/docs/admin/code-hosts/gerrit.mdx index 819bb290e..7a6036c93 100644 --- a/docs/admin/code-hosts/gerrit.mdx +++ b/docs/admin/code-hosts/gerrit.mdx @@ -113,7 +113,7 @@ Gerrit connections support the following configuration options, which are specif {/* SCHEMA_SYNC_START: admin/code_hosts/gerrit.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // If non-null, enforces Gerrit 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 "gerrit" with the same `url` field as specified in this `GerritConnection`. diff --git a/docs/admin/code-hosts/github.mdx b/docs/admin/code-hosts/github.mdx index a5e4029c8..e8a857adc 100644 --- a/docs/admin/code-hosts/github.mdx +++ b/docs/admin/code-hosts/github.mdx @@ -454,7 +454,7 @@ GitHub connections support the following configuration options, which are specif {/* SCHEMA_SYNC_START: admin/code_hosts/github.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json // Authentication alternatives: token OR gitHubAppDetails OR externalAccount OR useRandomExternalAccount diff --git a/docs/admin/code-hosts/gitlab.mdx b/docs/admin/code-hosts/gitlab.mdx index b39ef4318..82471b932 100644 --- a/docs/admin/code-hosts/gitlab.mdx +++ b/docs/admin/code-hosts/gitlab.mdx @@ -189,7 +189,7 @@ See [Internal rate limits](/admin/code-hosts/rate-limits#internal-rate-limits). {/* SCHEMA_SYNC_START: admin/code_hosts/gitlab.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // If non-null, enforces GitLab repository permissions. This requires that there be an item in the `auth.providers` field of type "gitlab" with the same `url` field as specified in this `GitLabConnection`. diff --git a/docs/admin/code-hosts/gitolite.mdx b/docs/admin/code-hosts/gitolite.mdx index f674b45d7..753489c94 100644 --- a/docs/admin/code-hosts/gitolite.mdx +++ b/docs/admin/code-hosts/gitolite.mdx @@ -25,7 +25,7 @@ To connect Gitolite to Sourcegraph: {/* SCHEMA_SYNC_START: admin/code_hosts/gitolite.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // A list of repositories to never mirror from this Gitolite instance. Supports excluding by exact name ({"name": "foo"}). diff --git a/docs/admin/code-hosts/other.mdx b/docs/admin/code-hosts/other.mdx index 9a40ed537..b326bc6c6 100644 --- a/docs/admin/code-hosts/other.mdx +++ b/docs/admin/code-hosts/other.mdx @@ -68,7 +68,7 @@ Repositories must be listed individually: {/* SCHEMA_SYNC_START: admin/code_hosts/other_external_service.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // A list of repositories to never mirror by name after applying repositoryPathPattern. Supports excluding by exact name ({"name": "myrepo"}) or regular expression ({"pattern": ".*secret.*"}). diff --git a/docs/admin/code-hosts/phabricator.mdx b/docs/admin/code-hosts/phabricator.mdx index 2746adfd5..1483f5766 100644 --- a/docs/admin/code-hosts/phabricator.mdx +++ b/docs/admin/code-hosts/phabricator.mdx @@ -76,7 +76,7 @@ The Sourcegraph instance's site admin must [update the `corsOrigin` site config {/* SCHEMA_SYNC_START: admin/code_hosts/phabricator.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`. diff --git a/docs/admin/config/settings.mdx b/docs/admin/config/settings.mdx index 203b785ec..b0ed5b312 100644 --- a/docs/admin/config/settings.mdx +++ b/docs/admin/config/settings.mdx @@ -27,7 +27,7 @@ Settings options and their default values are shown below. {/* SCHEMA_SYNC_START: admin/config/settings.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { @@ -74,7 +74,7 @@ Settings options and their default values are shown below. // Whether to enable trace logging on the extension. "codeIntel.traceExtension": false, - // Whether the cody chat code snippets should be code highlighted. + // Whether the Cody chat code snippets should be code highlighted. "cody.chatCodeSyntaxHighlightingEnabled": true, // Custom informational messages to display to users at Cody clients locations. @@ -87,6 +87,9 @@ Settings options and their default values are shown below. // Disable the Slack community call-to-action banner on the Deep Search page. "deepSearch.slackCta.disabled": false, + // EXPERIMENTAL: When enabled, new Deep Search conversations will be automatically scoped to your default search context (if one is configured). If a question is pre-filled (e.g. from a URL parameter or draft), the context is not applied. + "deepSearch.useDefaultSearchContext": false, + // Experimental features and settings. "experimentalFeatures": { "batchChangeAgentsDisabledDefaultSkills": [], @@ -102,12 +105,8 @@ Settings options and their default values are shown below. "enableSidebarFilePrefetch": true, "goCodeCheckerTemplates": false, "keywordSearch": true, - "newSearchNavigationUI": false, - "newSearchResultFiltersPanel": false, "newSearchResultsUI": true, - "proactiveSearchResultsAggregations": true, "searchContextsQuery": false, - "searchQueryInput": "v1", "searchResultsAggregations": false, "showCodeMonitoringLogs": false, "symbolKindTags": false @@ -139,7 +138,8 @@ Settings options and their default values are shown below. // If enabled, all members of the org will be treated as admins (e.g. can edit, apply, delete) for all batch changes created in that org. "orgs.allMembersBatchChangesAdmin": false, - // Key-value pairs of code host URLs to Swarm URLs. Keys should have no prefix and should not end with a slash, like "perforce.company.com:1666". Values should look like "https://swarm.company.com/", with a slash at the end. + // ⚠️ DEPRECATED: DEPRECATED: This setting is no longer used. + // DEPRECATED: This setting is no longer used. Key-value pairs of code host URLs to Swarm URLs. Keys should have no prefix and should not end with a slash, like "perforce.company.com:1666". Values should look like "https://swarm.company.com/", with a slash at the end. "perforce.codeHostToSwarmMap": {}, // The default number of lines to show as context below and above search results. Default is 1. diff --git a/docs/admin/config/site-config.mdx b/docs/admin/config/site-config.mdx index 797c8b649..4f867e1a2 100644 --- a/docs/admin/config/site-config.mdx +++ b/docs/admin/config/site-config.mdx @@ -21,7 +21,7 @@ All site configuration options and their default values are shown below. {/* SCHEMA_SYNC_START: admin/config/site.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { @@ -64,13 +64,13 @@ All site configuration options and their default values are shown below. // Configuration for out-of-the-box coding agent steps in Batch Changes. When an access token is configured for an agent, Sourcegraph routes that agent's LLM traffic directly to the corresponding provider from the frontend proxy. Access tokens remain server-side and are never sent to executors. Agents without an access token continue to use the Sourcegraph Model Provider. "batchChanges.codingAgents": null, - // A list of permitted container registries for use in batch changes, e.g., docker.io. If empty, all container registries are allowed. It cannot be used together with 'batchChanges.containerRegistryDenylist' + // A list of permitted container registries for use in batch changes, e.g., docker.io. Applies to step 'container' images and 'buildImage' base images. If empty, all container registries are allowed. It cannot be used together with 'batchChanges.containerRegistryDenylist' // Other example values: // - "docker.io" // - "artifactory.acme.com" "batchChanges.containerRegistryAllowlist": null, - // A list of forbidden container registries for use in batch changes, e.g., docker.io. If empty, all container registries are allowed. It cannot be used together with 'batchChanges.containerRegistryAllowlist' + // A list of forbidden container registries for use in batch changes, e.g., docker.io. Applies to step 'container' images and 'buildImage' base images. If empty, all container registries are allowed. It cannot be used together with 'batchChanges.containerRegistryAllowlist' // Other example values: // - "docker.io" // - "artifactory.acme.com" diff --git a/docs/admin/repo/perforce.mdx b/docs/admin/repo/perforce.mdx index de5119380..1c4cc12e2 100644 --- a/docs/admin/repo/perforce.mdx +++ b/docs/admin/repo/perforce.mdx @@ -228,7 +228,7 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`, {/* SCHEMA_SYNC_START: admin/code_hosts/perforce.schema.json */} {/* WARNING: This section is auto-generated during releases. Do not edit manually. */} -{/* Last updated: 2026-07-06T19:37:47Z */} +{/* Last updated: 2026-07-15T16:45:00Z */} ```json { // If non-null, enforces Perforce depot permissions. diff --git a/docs/self-hosted/observability/alerts.mdx b/docs/self-hosted/observability/alerts.mdx index 8c7f23bde..316dcc9ec 100644 --- a/docs/self-hosted/observability/alerts.mdx +++ b/docs/self-hosted/observability/alerts.mdx @@ -2385,6 +2385,39 @@ Generated query for critical alert: `min((sum by (app) (up{app=~".*(pgsql\\|code
+## precise-code-intel-worker: codeintel_upload_queue_duration + +

maximum time a precise codeintel upload has been waiting to be processed

+ +**Descriptions** + +- warning precise-code-intel-worker: 3600s+ maximum time a precise codeintel upload has been waiting to be processed for 15m0s + +**Next steps** + +- Check the precise-code-intel-worker logs for upload processing errors. +- Check the codeintel-db and precise-code-intel-worker dashboards for e.g. CPU/memory/disk resource saturation. +- If the queue is growing and workers are healthy, consider scaling up precise-code-intel-worker. +- Learn more about the related dashboard panel in the [dashboards reference](dashboards#precise-code-intel-worker-codeintel_upload_queue_duration). +- **Silence this alert:** If you are aware of this alert and want to silence notifications for it, add the following to your site configuration and set a reminder to re-evaluate the alert: + +```json +"observability.silenceAlerts": [ + "warning_precise-code-intel-worker_codeintel_upload_queue_duration" +] +``` + +*Managed by the Sourcegraph Code Understanding team.* + +
+Technical details + +Generated query for warning alert: `max((max(src_workerutil_queue_duration_seconds{domain="codeintel_upload"})) >= 3600)` + +
+ +
+ ## precise-code-intel-worker: mean_blocked_seconds_per_conn_request

mean blocked seconds per conn request

diff --git a/docs/self-hosted/observability/dashboards.mdx b/docs/self-hosted/observability/dashboards.mdx index f7d09d118..5445b4b82 100644 --- a/docs/self-hosted/observability/dashboards.mdx +++ b/docs/self-hosted/observability/dashboards.mdx @@ -10955,6 +10955,28 @@ sum by(instance) (src_codeintel_upload_processor_upload_size{job="precise-code-i
+#### precise-code-intel-worker: codeintel_upload_queue_duration + +

Maximum time a precise codeintel upload has been waiting to be processed

+ +Refer to the [alerts reference](alerts#precise-code-intel-worker-codeintel_upload_queue_duration) for 1 alert related to this panel. + +To see this panel, visit `/-/debug/grafana/d/precise-code-intel-worker/precise-code-intel-worker?viewPanel=100002` on your Sourcegraph instance. + +*Managed by the Sourcegraph Code Understanding team.* + +
+Technical details + +Query: + +``` +max(src_workerutil_queue_duration_seconds{domain="codeintel_upload"}) +``` +
+ +
+ #### precise-code-intel-worker: codeintel_upload_processor_total

Handler operations every 5m