Sourcegraph self-hosted 6.5.1211
This is a patch release for Sourcegraph self-hosted 6.5.
This is a patch release for Sourcegraph self-hosted 6.5.
Enterprise customers can now use OAuth 2.0 to securely connect apps and scripts to Sourcegraph APIs with support for OIDC, PKCE, device auth, and M2M tokens. [...]
Service accounts let admins create non-UI actors with API access - ideal for secure, controlled integrations. [...]
We've increased input and output context limits across models to support more powerful, large-scale coding workflows. [...]
Backport 04be437 from #6180
[telemetry] add granular database telemetry.
fix(batches): GitLab webhooks for merge requests not associated with batch changes now return HTTP 204 instead of HTTP 500 errors
Backport b5e926187d14784ea9a51fefca626379a25bda3e from #6052
fix(batches): fixed an issue where Batch Changes would attempt to sync changesets from deleted namespaces resulting in delays and timeouts for active changesets
fix(batches): fixed an issue where GitLab merge request events would fail to handle labels
green ci
Fixed an issue where Sourcegraph would mark executor jobs as failed when briefly losing connection to a pod, even though the pod was still running.
This is a patch release for Sourcegraph self-hosted 6.4.
fix(batches): fixed an issue where Batch Changes would attempt to sync changesets from deleted namespaces resulting in delays and timeouts for active changesets
This is a patch release for Sourcegraph self-hosted 6.4.
@sourcegraph/release
Fixed an issue where Sourcegraph was not handling rate limit responses from GitHub correctly.
Backport bf997a77ecc58fe669b015aa6e8d2578c4e78607 from #5787
This is a patch release for Sourcegraph self-hosted 6.4.
Backport 1269f3af4920629aab9a6fbc6a770932a7b8e64f from #5689
release: add container test to verify glibc version does not get unintentionally upgraded in PostgreSQL container images`
Backport 68a8d54c9e8fd0a3ff0286d0141f07372209f19a from #5670
Backport 0bc959fd07f2f6d55da1f3e6ce6cc6f5e5b2d231 from #5643
You can now create changesets in Batch Changes that push code directly to a branch, no merge request required. [...]
You can now re-run changeset creation logic for selected workspaces in Batch Changes. [...]
Cody now supports Claude Sonnet 4 and Claude Opus 4. [...]
Site admins can set default search context across their instance to help users find relevant code faster. [...]
Quickly filter and focus on specific files and directories when comparing branches, even across thousands of files. [...]
Added suggested follow ups to deepsearch
Custom tool cards for GoToDefinition and FindReferences
When a deep search reaches it's turn limit, the user will be shown a summary of the search thus far and the next steps to determine if the search should continue
experimentalSettings.subRepoPermissions.allowInsights to truefeat(batches): site admins can feature library records
feat(batches): Add site admin setting to configure the number of displayed batch spec library records
feat(batches): auto-merge for github code hosts
Adds database-to-proto conversion for enterprise subscriptions and implements the GetEnterpriseSubscription handler in the AdministrationService. This enables user-authenticated access to subscription data via the Administration API.
This PR adds the ListEnterpriseSubscriptions RPC to the administrationservice, allowing Enterprise Portal to retrieve subscriptions. It has support for multiple filter types: subscription IDs, archived status, display name, Salesforce data, instance domains, verified domains, and instance types
N/A - internal change
N/A - not customer facing
N/A - internal tooling
N/A
Backport 4e0ca00f1e5fb1951a0f24bb7ccb3af918ce33ec from #5531
If the DISABLE_GITSERVER_JANITOR is set, the janitor routines for gitserver will no longer run.
N/A
N/A
N/A
Backport 413705d76b9e4b258f3718f884e3c3c2ddf4f6fd from #5602
N/A
N/A
fix: show correct number of filtered feature flags
This is a patch release for Sourcegraph self-hosted 6.3.
Expanded model support for Cody with new options from OpenAI and Google. [...]
We've added new configuration options to help customers better manage search jobs:
SRC_SEARCH_JOB_WORKER_INTERVAL, default: 1s)SRC_SEARCH_JOB_MAXIMUM_RUNTIME_PER_JOB, default: 5h)SRC_SEARCH_JOB_NUM_HANDLERS, default: 5)The grader service can now fix broken diagnostics that come out of a review, hopefully improving quality.
rules: ['builtin-rules', 'repo-rules']. Builtin rules allow you to start using the review agent without creating any *.rule.md files.Adds reflection to the review process to filter out bad diagnostics before posting.
sg release steps to be used in pipeline genN/A
Adds support for syntactic indexing for C++
It is possible for users to have rejectUnverifiedCommits site configuration enabled, and also apply changesets without having the necessary configurations for commit signing. This change provides a warning banner during the batch set preview stage in such a case.
| With commit signing fully configured | Warning showing because no GitHub commit signing configured |
|---|---|
NA
Fixed an error where Sourcegraph would display an error when an existing GitHub App was added in Site Admin, even though the adding succeeded.
Fixes issue https://linear.app/sourcegraph/issue/SRCH-1387/chime-workspaces-not-updating
The workspace preview components rely on the apollo client cache to coordinate the state. Queries are made in two places;
The desired effect is that both queries are cached under the same cache-key by apollo, and so when a query finds new results it triggers a component refresh with the new data.
The problem is that there is a subtle difference in the variables passed to the query - one has after: null and on does not provide the after field. This means that they are treated as different queries and the cache entries for the queries are separate.
Switch to Debian-based auto-indexing Docker image for scip-typescript, and official Node builds. The new image is compatible with recent Node versions (verified: 23.11.0).
This is a patch release for Sourcegraph self-hosted 6.2.
The repository graphql API now supports fetchinig the databaseID field.
Backport cac91705f82f1221766f1576cdadd0b5c2c7502a from #4953
This is a patch release for Sourcegraph self-hosted 6.2.
authz: Add Perforce IP rule interpretation modes (unified (default), directOnly, proxyOnly) in site configuration via rulesInterpretationMode field to provide more predictable sub-repo permissions behavior
Backport 774ac0c653371b0acbae62e233764dc6729fddf3 from #4713
Backport 0d9f70dd54a4c20621fe7404d3c7598e60264f59 from #4771
This is a patch release for Sourcegraph self-hosted 6.0.
fix: prompt templates should not fail when pasting linebreaks
This is a patch release for Sourcegraph self-hosted 6.2.
Backport 34dd46a20d9d9d3a52abaaeaa845b968bf781435 from #4528
Sourcegraph search results are now more relevant and tailored to each user. [...]
Site admins can now customize batch spec library examples using new GraphQL APIs. [...]
You can now search batch changes by title, making it easier to find the one you’re looking for - no more scrolling through long lists. [...]
Batch Changes now has experimental support for GitHub fine-grained access tokens for user and admin credentials. [...]
Batch Changes now supports a new bulk action to help teams working in fast-moving codebases - rebase changesets. [...]
Experimental support for SSH key–based commit signing in Batch Changes is now available for GitHub and GitLab. [...]
Claude 3.7 Sonnet is now available for Cody in two variants - standard and "extended-thinking" - to support both deep reasoning and fast, responsive edit workflows. [...]
We've enabled personalized ranking for search results in the new web app—marking the first step in integrating user-specific ranking signals into our search pipeline. As a result, queries spanning multiple repositories will prioritize results from repositories the user has frequently contributed to.
User can disable the feature by setting boostRelevantRepositories to false in the settings
{
"experimentalFeatures": {
"boostRelevantRepositories": false,
},
}
patterntype=nls for Cody context The GetCodyContext endpoint is now deprecated. Instead, clients should use the search API with patterntype=nls. Here's an example of how Cody calls the search API: (nlsSearchQuery).
feat(batches): new batch spec examples library api
feat(batches): Batch Changes now supports fine-grained access tokens as user and site-admin credentials
Feature is behind batches-commit-signing feature flag.
Adds the UI form elements needed for submitting a private SSH key and passphrase for git commit signing.
note: only UI elements and graphql changes in this PR, backend changes are still required.
"attribution.mode": "enforced", which configures Cody IDE extensions after v1.82 (VSCode) or v7.82 (JetBrains) to not display code until attribution checks have finished../api/rules API Added rule stats to the .api/agents/{agent_id}/rules REST endpoint when the query string ?include=revision.stats is present
When a pull request is merged, diagnostic feedback is auto-generated via LLM judge from the comments and reactions
POST /.api/agents/{agent_id}/runs to trigger a background review of a pull requestGET /.api/agents/{agent_id}/changesetsGET /.api/agents/{agent_id}/reposPOST /.api/agents/{agent_id}/runs.logic) and it was difficult to find the source of the rule. Now, it's easy to find both the rule instructions or identify the rule author (via git blame)./.api/completions/stream now returns the used "modelref" (Sourcegraph canonical representation) alongside the used "model" (LLM provider canonical representation).rules: ["repo-rules"] instead of rules: ["all-inferred"] to pick up *.rule.md files in the repository based on the changed files in the diff.N/A
Gerrit code host connections now support a projectQuery option that allows for any arbitrary query parameters supported by the Gerrit API.
Site admins can now add their own pre-existing GitHub Apps to Sourcegraph. This also allows site admins to supply the App details of Enterprise GitHub Apps.
feat: configurable runtime for codemonitor jobs
sg release create NA
na
feat: new GraphQL query evaluateFeatureFlags
Fixes a search bug where queries like repo:has.file(...) rev:1.0 would completely ignore the rev filter. Now, these types of searches are explicitly disallowed.
Fix a rare bug in repo:has.file queries where some searches could return no results.
With this change we delete all Rockskip indexes. In Sourcegraph v5.5.0 we shipped a bug in Rockskip which causes some unindexed symbol searches to return no results. The bug has been fixed in 6.2 and was backported to 6.1. However indexes that have been created prior to the fix are corrupted. Hence, we have to reindex all Rockskip repositories. A new index job will automatically be triggered. This requires no further action. However, during the reindex, symbol search at older revisions of very large repos will likely time out, so we encourage all customers to communicate this to their users ahead of the rollout of the new version.
POST /.api/llm/chat/completions now does not panic anymore when sending a bad request (HTTP 400), which was possible to trigger if you used tool with an incorrect schema.agents-auto-review. You must create this feature flag to have the trigger activate.feature_flag_enabled trigger feature_flag_enabled trigger. Instead, users must explicitly request reviews on draft PRs through a comment (comment_starts_with) or a label (label_exists)@sourcegraph review). This is makes the agent behave more like a colleague would.", " joined string. We plan to further improve the design of how rules are displayed in this page, so this is not a final solution, just a quick fix for the most immediate bug.na
na
na
N/A
na
fix(batches): batch workspaces to reduce memory pressure
NA
NA
NA
NA
na
This is a patch release for Sourcegraph self-hosted 6.1.
The "extended thinking" variant of Claude 3.7 Sonnet is now available on Google Cloud Platform (GCP) for Cody Enterprise customers. [...]
Add AWS Bedrock client support for non-AWS Bedrock-compatible endpoints
Backport 9054d7c14db0ecf96200c2985c5b550b6dd2ded0 from #4145
This is a patch release for Sourcegraph self-hosted 6.1.
Backport 04606e20fbc8f13ad473533820b8f5df71e20ad7 from #3989
This is a patch release for Sourcegraph self-hosted 6.1.
Team support in SvelteKit ownership panel Implement ownership information for the Sveltekit rewrite.
Backport 30f3ea6a6c115c633291c388ff599ff107d7f38b from #3738
This fixes a bug in Rockskip (symbol search) where we would miss symbol changes introduced by merge commits. This bug manifested in incorrect search results and errors of symbols service similar to "pathspec (...) did not match any files".
Backport d8426a9aec4930ce71922562fdebdcfd0d657cb4 from #3699
fix(batches): transformChanges.group.directory should not interpret file names as directories
Backport 6ffff463be1743b89ab865018e46a34ff4e549f5 from #3721
fix: prompt templates should not fail when pasting linebreaks
This is a patch release for Sourcegraph self-hosted 6.1.
Added support for chain-of-thought reasoning in Anthropic models, allowing users to see the model's thinking process for complex tasks.
Backport 389bf9a4f2cf8ed7762cf8876b0efe4064e2b234 from #3507
This is a patch release for Sourcegraph self-hosted 6.1.
Fixes a bug in SCIP index processing for instances with a long history
of processing large uploads.
Backport 48e7b47898ee7710f12270c6861c335a2ef75f48 from #3595
Source: {}, which wasn't helpful.
fix(rel): remove TimescaleDB from existing database if found during upgrade to Postgres 16 on the codeinsights database.
Backport 71b4af3d6faef054803db0151b2cc7b151bb1c0e from #3556
fix: transformChanges.group.directory now ignores file names
Backport 3b76fe4ab146565b0e736231353b1e24f1468241 from #3576
OpenAI o3-mini high reasoning model now available for Enterprise customers. [...]
Streamlined prompt template UI with context options in @-mentions menu. [...]
Deprecating and removing older models from Cody. [...]
opened and synchronize) based on a feature flag. Both boolean (true/false) and rollout (percentage-based ) feature flags are supported. For example, this means you can enable automatic reviews on 10% of all opened PRs.Code reviews deduplicate diagnostics from historical reviews
Adds a feedback UI for diagnostics within the Agents app.
GET /.api/agents/runs to list runs of an agent, and other related endpoints including the ability to view logsAdds HTTP handlers for /.api/conversations for creating and filtering conversations as well as a DB method for querying conversations.
Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro Experimental
sg upgradetest feat: prompt templates editor supports dynamic @ mentions
fix/auth: "http-header" auth provider can "allowSignup": false to disable automatic account creation
*.go) instead of regexp (.*\.go). Negative include patterns like !*.go will be interpreted as exclude patterns, and vice versa.fix(rel): fix migrator upgrade check
Fix bug where the URL of a Gerrit code host connection could not be updated.
The logic that translates Bitbucket clone URLs to repository names has been fixed to support:
"bitbucket.sgdev.org/sourcegraph/sourcegraph")ssh:// scheme prefix (like [email protected]:sourcegraph/sourcegraph.git)A bug on the user's account security page that could result in duplicated / buggy entries has been fixed.
fix: prompt templates should not fail when pasting linebreaks