diff --git a/public/llms.txt b/public/llms.txt
index 89c54c5e5..4cd2fcc89 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -1,9501 +1,3 @@
-
-# Technical Changelog
-
-This page documents all notable changes to Sourcegraph. For more detailed changelog posts, please [read here](https://sourcegraph.com/changelog/).
-
-{/* CHANGELOG_START */}
-
-# 6.3 Patch 0
-
-## v6.3.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.3.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.3.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.3.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.3.0)
-
-### Features
-
-#### Agents
-
-- Add true positive and impact filters `(PR #4911)`
-- Improve task page, abstract out changeset header, add rerun buttons `(PR #4834)`
-- Implement agentic chat on top of conversation API `(PR #4809)`
-- New agent action menu added `(PR #4761)`
-- Allow grader to rewrite or relocate diagnostics [AGENT-302] `(PR #4728)`
- - The grader service can now fix broken diagnostics that come out of a review, hopefully improving quality.
-- Add additional graphs and metrics to agent overview `(PR #4709)`
-- Reformat overview stats, add user list and CSS tidy ups `(PR #4668)`
-- Add feedback page `(PR #4656)`
-- Add filters for reviews and diagnostic pages `(PR #4564)`
-- Improved agents page `(PR #4557)`
-- Add review statuses everywhere `(PR #4520)`
-- Generic query param parser `(PR #4434)`
-- Add default rules `(PR #4418)`
- - New default for the review setting `rules: ['builtin-rules', 'repo-rules']`. Builtin rules allow you to start using the review agent without creating any `*.rule.md` files.
-- Add a dropdown to access sibling reviews from the changeset `(PR #4375)`
-- Grade diagnostics before posting [AGENT-196] `(PR #4205)`
- - Adds reflection to the review process to filter out bad diagnostics before posting.
-
-#### Auto-Edit
-
-- Add auto-edit long suggestion model `(PR #4965)`
-- Use user's sourcegraph instance endpoint for authentication `(PR #4759)`
-- Create a new fireworks backend for fine-tunes-proxy `(PR #4661)`
-- Implement websocket upgrade logic for the fine-tuned proxy proxy `(PR #4582)`
-- Create a new fireworks proxy service for Cody auto-edit `(PR #4538)`
-
-#### Batch Changes
-
-- Add search for batch changes template library `(PR #4280)`
-
-#### Code Intelligence
-
-- Dont upload empty syntactic indexes `(PR #4738)`
-
-#### Cody
-
-- Add OpenAI o3 and o4-mini models `(PR #4958)`
-- Add OpenAI 4.1 models support `(PR #4926)`
-- Add gemini 2.5 preview support `(PR #4802)`
-- Add entitlements UI to site admin `(PR #4742)`
-- Support tool results for anthropic and gemini `(PR #4493)`
-- Update context limits (CODY-5022) `(PR #4321)`
-
-#### Cody-Gateway
-
-- Add gemini 2.5 flash preview support `(PR #4970)`
-
-#### Codygateway
-
-- Block Enterprise usage of Google models `(PR #4534)`
-
-#### Completions
-
-- Enable system prompts for all newer Claude models `(PR #4989)`
-
-#### Gitserver
-
-- Add heuristic and eager strategies from Gitaly `(PR #4588)`
-
-#### Graph
-
-- Syntactic for C# `(PR #4236)`
-
-#### Msp
-
-- Allow configurable Cloud SQL version `(PR #4959)`
-
-#### Multi Tenant
-
-- Add coupon sale percentage UI `(PR #4699)`
-
-#### Release
-
-- Add a sg release steps command `(PR #4206)`
- - New internal release command `sg release steps` to be used in pipeline gen
-
-#### Search
-
-- Diff comparison page UI enhancements `(PR #5097)`
- - Users can now filter diffs on the diff comparison page
- Backport a2725da3281de64d2d2e41438222d0f38700e441 from #4398
-- Expose ENVs for search jobs config `(PR #4975)`
- -
-- Add tool selection and stats to deep search `(PR #4744)`
-- Add support for chaining multiple filePaths in URL `(PR #4333)`
- - Add support for chaining multiple filePaths together in URL
-
-#### Searchplatform
-
-- Deep Search Client Side plumbing `(PR #4531)`
-
-#### Source
-
-- Gitserver: add env var for forcing all janitor optimizations to use eager strategy for debug purposes `(PR #4949)`
-- Support sub-repo perms for all repo types `(PR #4935)`
-- Gitserver: add new chaos testing for git maintenance commands `(PR #4929)`
-- Add prometheus dashboards and logs for new janitor `(PR #4861)`
-- Adapt Gitaly's stats package and adapt test suite to run in our codebase `(PR #4365)`
- - N/A
-
-#### Telemetry
-
-- Add `billingMetadata` to batch change events `(PR #3732)`
-
-#### Workspaces
-
-- Show admin analytics menulink `(PR #5027)`
- - Backport 0b9ee7390bca046462737172c39d8ad2e13b99fb from #4652
-
-#### Others
-
-- Syntactic indexing support for C++ `(PR #4606)`
- - Adds support for syntactic indexing for C++
-- Unsigned commits warning `(PR #4525)`
- - 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 configuredWarning showing because no GitHub commit signing configuredimageimage
-- Expose relationships through GraphQL API `(PR #4330)`
-- Add metrics for periodic goroutines `(PR #4317)`
-
-### Fix
-
-#### Agents
-
-- Delete agents codebase `(PR #4982)`
-- Agent intro banner css tweaks `(PR #4912)`
-- Fix chunker calculation bug `(PR #4904)`
-- Switch to non-thinking agent for diagnostic grader `(PR #4903)`
-- Use empty snippets when old revision cannot be found `(PR #4902)`
-- Enable new chat pages for old UI `(PR #4896)`
-- Update review and task page headers to more clearly show states `(PR #4891)`
-- Fixes commit sha badge on review item `(PR #4866)`
-- Show correct line range for diagnostics on `diagnostics` page `(PR #4860)`
-- Change changeset ordering by default `(PR #4840)`
-- Basic tidy ups for conversations page `(PR #4829)`
-- Improve changesets page `(PR #4828)`
-- Improve styling of repo page `(PR #4827)`
-- Minor CSS updates to `rule` page `(PR #4826)`
-- Improve `rules` page UX `(PR #4822)`
-- Post process diagnostics based on rule filters (AGENT-15) `(PR #4808)`
-- Tweaks to agents page `(PR #4757)`
-- CSS tweaks to the diagnostic page `(PR #4754)`
-- Handle empty impact string `(PR #4741)`
-- Improve page layout, agent navigation and breadcrumbs `(PR #4727)`
-- Minor spacing issues with layout `(PR #4712)`
-- Minor visual improvements to reviews page `(PR #4711)`
-- Rename fix rate to true positives `(PR #4706)`
-- Link to reviews when available `(PR #4698)`
-- Only show review tasks in latest runs `(PR #4686)`
-- Limit CSS height on authors filter `(PR #4673)`
-- Don't fail fast on missing revisions `(PR #4672)`
-- Skip diagnostics for hallucinated file paths `(PR #4608)`
-- Improved GitHub app creation step `(PR #4586)`
-- Improve review cards `(PR #4580)`
-- Rename agent "run" to agent "task" `(PR #4567)`
-- Updates run/review card linking `(PR #4560)`
-- Don't fail fast on invalid rule tag `(PR #4555)`
-- Make report diagnostic tool skippable `(PR #4542)`
-- Allow models to have "tools" capability in site-config `(PR #4529)`
-- Improve run animation `(PR #4523)`
-- Improve visually the review cards list `(PR #4505)`
-- Filter out diagnostics outside the diff (AGENT-6) `(PR #4283)`
-
-#### Auto-Edit
-
-- Fix invalid JSON string `(PR #4864)`
-- Fix incorrect naming of environment variables `(PR #4670)`
-
-#### Billing
-
-- Prevent applying coupons that expire before subscription period ends `(PR #4244)`
-
-#### Ci
-
-- Fix syntax in node heap size override `(PR #4595)`
-- Remove error logging to avoid OOMs in CI for react integration tests `(PR #4424)`
-
-#### Code Nav
-
-- Add client side caching for file content `(PR #5073)`
-
-#### Completions
-
-- Track context token usage in completions client `(PR #4208)`
-
-#### Dev
-
-- Fix running storybook `(PR #5013)`
-- Fix 'pnpm build' command in web-sveltekit `(PR #4851)`
-
-#### Entitlements
-
-- Fix interval handling, rename to window `(PR #4495)`
-
-#### Github
-
-- Synchronize at least 100 GitHub issue/PR comments, not 30 `(PR #4410)`
- - When syncing conversations from GitHub, we now fetch 100 comments by default instead of the default 30 comments
-
-#### Modelconfig
-
-- Fix gemini-1.5-flash cost `(PR #4441)`
-
-#### Multi Tenant
-
-- Don't show no seats left tooltip always `(PR #4688)`
-- Do not show upsell banner when we have user space `(PR #4413)`
-- Do not show error in loading state in coupon field `(PR #4370)`
-
-#### Release
-
-- Set development branch name by default `(PR #4357)`
- - NA
-
-#### Search
-
-- Fix global navigation grow/shrink functionality `(PR #5062)`
-- Improve global navigation overflowing `(PR #4804)`
-- Limit client range highlights `(PR #4354)`
-
-#### Source
-
-- Bump retry timeout on gqlutil tests to lessen flakiness `(PR #4952)`
-- Fix error that happens when adding an existing GitHub App `(PR #4558)`
- - Fixed an error where Sourcegraph would display an error when an existing GitHub App was added in Site Admin, even though the adding succeeded.
-- Bump default user permission back-off time `(PR #4297)`
-
-#### Style
-
-- Fix a gomft issue that made it to main `(PR #4535)`
-
-#### Others
-
-- Create wrapper to reduce risk of `NewGaugeFunc` causing deadlocks `(PR #4960)`
-- Do not hard-fail when calculating file stats for large files `(PR #4950)`
-- Do not use store methods, which can deadlock because they make observation `(PR #4944)`
-- [SRCH-1387] workspace refresh caching using incorrect key `(PR #4859)`
- - Fixes issue [https://linear.app/sourcegraph/issue/SRCH-1387/chime-workspaces-not-updating](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;
-- /client/web/src/enterprise/batches/batch-spec/edit/workspaces-preview/useWorkspacesPreview.ts
-- /client/web/src/enterprise/batches/batch-spec/edit/workspaces-preview/useWorkspaces.tsThe 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.
-- Update auto-updating script to use correct scip-typescript Docker tag `(PR #4722)`
- - 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).
-- Add docs link for github apps `(PR #4563)`
-
-### Chore
-
-#### Agents
-
-- Limit tool calls in grader `(PR #4813)`
- - Added `ToolCallLimit` to `InternalCompletionParams` for limiting the number of allowed LLM tool calls in a loop.
-- Always trace and show traceID in run logs `(PR #4685)`
-- Enable string-enums in go-typespec code generation `(PR #4599)`
-- Bazel build hygiene `(PR #4556)`
-- Minor changes for localhost development `(PR #4554)`
-- Adds more information into de-duplicate error `(PR #4385)`
-
-#### Ci
-
-- Add test github action for partially published changesets flow `(PR #4807)`
-- Refactor web-sveltekit build process `(PR #4382)`
-- Bump typescript in bazel to 5.4.2 `(PR #4367)`
-- Update prechecks to handle bzl mod tidy and go mod tidy `(PR #4288)`
-
-#### Database/Entitlements
-
-- Test entitlements grants deletion `(PR #4838)`
-
-#### Dev
-
-- Cleanup client/vscode dependencies `(PR #4781)`
-- Cleanup client/ui dependencies `(PR #4769)`
-- Cleanup client/testing dependencies `(PR #4768)`
-- Cleanup client/template-parser dependencies `(PR #4714)`
-- Cleanup client/shared dependencies `(PR #4696)`
-- Cleanup client/observability-server dependencies `(PR #4695)`
-- Cleanup client/observability-client dependencies `(PR #4694)`
-- Cleanup client/jetbrains dependencies `(PR #4693)`
-- Cleanup client/http-client dependencies `(PR #4692)`
-- Cleanup client/common dependencies `(PR #4666)`
-- Cleanup client/codeintellify dependencies `(PR #4665)`
-- Cleanup client/client-api dependencies `(PR #4664)`
-- Cleanup client/build-config depdendencies `(PR #4663)`
-- Cleanup client/browser dependencies `(PR #4561)`
-- Cleanup client/branded dependencies `(PR #4552)`
-- Cleanup unused dependencies `(PR #4516)`
-
-#### Entitlements
-
-- Hide site admin navbar item behind feature flag `(PR #5058)`
-
-#### Gateway
-
-- Use Authorization: Bearer as header for reranker `(PR #4513)`
-- Change URL for reranker model `(PR #4511)`
-
-#### Local
-
-- Use docsite 1.9.6 `(PR #3823)`
-
-#### Release
-
-- Improve upgrade error message for out of policy upgrade attempts `(PR #4943)`
- - Improve migrator error for invalid upgrade ranges
-
-#### Search
-
-- Batch Changes PAT dialog - Fix wording `(PR #4660)`
-- Migrate filter UI to svelte 5 `(PR #4479)`
-
-#### Searchplatform
-
-- Add deep search route to backend `(PR #4581)`
-
-#### Security
-
-- Update to s3proxy 2.6.0 `(PR #4515)`
-
-#### Telemetrygateway
-
-- Remove old proto symlink `(PR #4584)`
-
-#### Workspaces
-
-- Inject GoogleTagManagerContainer when serving index.html `(PR #4956)`
-
-#### Others
-
-- Update third-party licenses `(PR #4967)`
-- Remove unused pipeline job implementation `(PR #4951)`
-- Remove unused dbworker option `(PR #4920)`
-- Update third-party licenses `(PR #4919)`
-- Fix batch change codehost links `(PR #4707)`
- - Fix some broken links to documentation
-- Update third-party licenses `(PR #4671)`
-- Remove non-nil pre-condition for pagination function `(PR #4473)`
-- Document nil propagation for PaginationArgs `(PR #4468)`
-- Summarize linked Slack thread in code `(PR #4460)`
-- Update third-party licenses `(PR #4448)`
-- Release anish from changelog duties `(PR #4435)`
-- Change default to match documented default `(PR #4429)`
-- Remove search from gitserver `(PR #4420)`
-- Bump up page size for repo cleanup scheduling `(PR #4419)`
-- Mark TotalCount method as unreachable `(PR #4254)`
-- Remove large.String -> replace back with []byte `(PR #4146)`
-
-### Refactor
-
-#### Others
-
-- Remove deprecated batchChangePreview component `(PR #4384)`
- - Refactor to remove old duplicated component
-
-### Reverts
-
-- Revert pnpm upgrade (back to v9) `(PR #-1)`
-- Revert "Revert "fix(cody-gateway): migrate Google client from from Gemini to Vertex API"" `(PR #4705)`
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.3.x] Add ability for admins to set the default context for all users within an instance `(PR #5052)`
-- Authz: Don't error when external account isn't usable for sync `(PR #5011)`
-- Perforce: Remove top-level maxChanges setting `(PR #5010)`
-- Gitserver: Observe vcs syncer from other shard `(PR #5009)`
-- Gitserver: Rename variable and remove experimental disclaimer for v2 janitor `(PR #5008)`
-- Add KUBERNETES_IMAGE_PULL_POLICY environment variable for the Executor service to allow setting the image pull policy `(PR #4995)`
- - Acepted values for KUBERNETES_IMAGE_PULL_POLICY:
- - Always - Kubelet always attempts to pull the latest image. Container will fail If the pull fails.
- - Never - Kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present.
- - IfNotPresent - Kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
-- Bump zoekt `(PR #4991)`
-- Gitserver: Add option to disable janitor `(PR #4980)`
-- Perforce: Don't drop rules for proxy catchalls `(PR #4978)`
-- Perforce: Make changelist mapper recover automatically `(PR #4954)`
- - Fixed an issue where perforce changelist mapping could fall into an unrecoverable state after recloning.
-- Batches: Don't use stateful periodic goroutine `(PR #4946)`
-- Refactor cross domain login service to allow re-use in other services `(PR #4942)`
- - Moved userauth and xdomain login service from workspaces to managed services, to allow import from other services
- - Refactored userauth and xdomain login service to not be workspaces-specific, removing all workspaces references and allowing to specify the path for cross-domain login.## Test plan
- Tetsted changes locally from workspaces service
-- Workerutil: Streamline heartbeat and stalled intervals `(PR #4934)`
-- Workerutil: Streamline maximum resets `(PR #4932)`
-- Fix(agents) use .at(0) instead of [0] for safe array access `(PR #4918)`
-- Mail-gatekeeper: increment abuse score for Google abusers `(PR #4916)`
-- Janitor: Don't schedule jobs too far into the future `(PR #4906)`
-- Workerutil: Unify settings for resetter interval `(PR #4870)`
-- Workerutil: Simplify resetter metrics `(PR #4865)`
-- Contributors: Fix updating last_processed `(PR #4841)`
-- Gitserver: Fix error parsing empty author/committer times `(PR #4832)`
-- Contributors: Add missing resetter job `(PR #4831)`
-- Tenant: Add deletion routine for searcher cache `(PR #4821)`
-- Replace python with explicit python3 for pre-commit hook `(PR #4803)`
-- Feat/Deep search: Show reasoning steps during execution `(PR #4795)`
-- Database: Add missing indexes for repo hard deletions `(PR #4789)`
-- Bug(agents): fixed spend page formatting `(PR #4763)`
-- Repoupdater: Initialize subrepoperms `(PR #4756)`
-- Bug(agents): fixed repo id bug `(PR #4755)`
-- Analytics(telemetry): trim whitespace in comma separated list `(PR #4750)`
-- Increase the max tokens to sample `(PR #4749)`
-- Adds github only badge to plans page (and style tweaks) `(PR #4747)`
-- Change the smart apply deployment to arizona region `(PR #4702)`
-- Dotcom: Some cleanups after migration `(PR #4683)`
-- Gitserver: Fix panic in ListRepositories error handling `(PR #4682)`
-- Telemetry: Add DB index to optimize sorting in memory `(PR #4667)`
-- Gitserver: Update error filter for backend metrics `(PR #4629)`
-- Mail-gatekeeper: gRPC client and DNS improvements `(PR #4628)`
-- Gitserver: Always disable gc.auto and maintenance.auto `(PR #4613)`
-- Perforce: Fixup changelist ID parsing `(PR #4597)`
-- Gitserver: Add gRPC method and basic UI for repo stats `(PR #4544)`
-- Gitserver: Add OptimizationStrategy interface and runner for it `(PR #4540)`
-- Gitserver: Add CleanStaleData function for new janitor `(PR #4532)`
-- Gitserver: Address a few compiler warnings `(PR #4458)`
-- Gitserver: Improve configuration for fetch `(PR #4439)`
-- Gitserver: Implement maintenance methods in Git backend `(PR #4438)`
-- Gitserver: Fix bad observable owner `(PR #4437)`
-- Gitserver: Cleanup leftovers of coursier `(PR #4436)`
-- Add no results page tutorial info `(PR #4432)`
-- Add telemetry `(PR #4274)`
-- Update subscription page `(PR #4241)`
-- Database: Add primary keys to all tables `(PR #4144)`
-- Gitserver: Implement scheduler for janitorial tasks `(PR #2519)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- [backport 6.2] perforce: Don't drop rules for proxy catchalls (#4978) `(PR #4993)`
-- [backport 6.2.x] repoupdater: Initialize subrepoperms (#4756) `(PR #4760)`
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4723)`
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4601)`
-Revert "Revert "[Backport 6.2.x] fix(agents): filter out empty diagnostic paths"" `(PR #4427)`
-Revert "Revert "[Backport 6.2.x] fix(agents): make reviews and diagnostics pages order by -created_at"" `(PR #4428)`
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4466)`
-- Add support for chaining multiple filePaths in URL (#4333) `(PR #4433)`
-Revert "[Backport 6.2.x] fix(agents): make reviews and diagnostics pages order by -created_at" `(PR #4403)`
-Revert "[Backport 6.2.x] fix(agents): filter out empty diagnostic paths" `(PR #4409)`
-- Update context limits (CODY-5022) (#4321) `(PR #4426)`
-- Add release as branch code owners `(PR #4421)`
- - N/A - Not customer facing
-
-{/* RSS={"version":"v6.3.0", "releasedAt": "2025-04-30"} */}
-
-
-# 6.2 Patch 3
-
-## v6.2.3841
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.2.3841)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.2.3841)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.2.3841)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.2.3841)
-
-### Features
-
-#### Source
-
-- Graphql: add databaseID field to repository graphql field `(PR #4999)`
- - The `repository` graphql API now supports fetchinig the `databaseID` field. Backport cac91705f82f1221766f1576cdadd0b5c2c7502a from #4953
-
-### Reverts
-
- There were no reverts for this release
-
-#### Others
-
-- [backport 6.2] perforce: Don't drop rules for proxy catchalls (#4978) `(PR #4993)`
-
-{/* RSS={"version":"v6.2.3841", "releasedAt": "2025-04-23"} */}
-
-
-# 6.2 Patch 2
-
-## v6.2.2553
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.2.2553)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.2.2553)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.2.2553)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.2.2553)
-
-### Features
-
-#### Source
-
-- Create different proxy interpretation modes for sub repo ip perms matching `(PR #4745)`
- - 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
-
-### Fix
-
-#### Cody
-
-- Add new bedrock fields to legacy completions config `(PR #4940)`
- - Backport 0d9f70dd54a4c20621fe7404d3c7598e60264f59 from #4771
-
-### Chore
-
-#### Security
-
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4723)`
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.2.x] completions/azureopenai: reasoning and API version configuration `(PR #4936)`
-- [backport 6.2.x] repoupdater: Initialize subrepoperms (#4756) `(PR #4760)`
-
-{/* RSS={"version":"v6.2.2553", "releasedAt": "2025-04-16"} */}
-
-
-# 6.2 Patch 1
-
-## v6.2.1106
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.2.1106)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.2.1106)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.2.1106)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.2.1106)
-
-### Features
-
-#### Source
-
-- Create graphql endpoint for viewing sub repo perms for a repository `(PR #4572)`
- - Backport 34dd46a20d9d9d3a52abaaeaa845b968bf781435 from #4528
-
-### Fix
-
-#### Others
-
-- Use internal actor for symbols archive fetching and downgrade error `(PR #4539)`
-- Fetch user by username for Bitbucket Server `(PR #4514)`
- - Fixes an issue where we OAuth would fail for Bitbucket Server users with special characters in their usernames
- Backport 28317328924ae0139edacc3711d169b37179c31f from #4490
-
-### Chore
-
-#### Release
-
-- [backport 6.2.x] Update jaeger-all-in-one `(PR #4611)`
- - Update jaeger-all-in-one to 1.67.0
-
-#### Security
-
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4601)`
-
-#### Others
-
-- Log output of p4 protects commands `(PR #4549)`
-
-### Reverts
-
-- Revert "Revert "[Backport 6.2.x] fix(agents): filter out empty diagnostic paths"" `(PR #4427)`
-- Revert "Revert "[Backport 6.2.x] fix(agents): make reviews and diagnostics pages order by -created_at"" `(PR #4428)`
-
-### Uncategorized
-
-#### Others
-
-- [backport 6.2.x] ci: Improve runtime of integration test suite (#4632) `(PR #4715)`
- - (see original PR [https://github.com/sourcegraph/sourcegraph/pull/4632](https://github.com/sourcegraph/sourcegraph/pull/4632))
-- [Backport 6.2.x] Prevent invalid Basic Auth header in webhook alert notifiers `(PR #4708)`
- - Fix(rel): prevent invalid authorization headers in webhook alert configurations when no credentials are provided Backport eefbf38fc2ba6024d028ba968dedf397235714d3 from #4635
-- [Backport 6.2.x] perforce: Implement mode for subrepo that doesn't hide commits `(PR #4591)`
-- [Backport 6.2.x] perforce: Add test to cover nested subdirs `(PR #4569)`
-
-{/* RSS={"version":"v6.2.1106", "releasedAt": "2025-04-08"} */}
-
-
-# 6.2 Patch 0
-
-## v6.2.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.2.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.2.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.2.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.2.0)
-
-### Features
-
-#### Agents
-
-- First draft of new review page `(PR #4324)`
-- Add rule stats to the `./api/rules` API `(PR #4320)`
- - Added rule stats to the `.api/agents/{agent_id}/rules` REST endpoint when the query string `?include=revision.stats` is present
-- Wire data into Agent overview page `(PR #4302)`
-- Add support to create rules from the web UI `(PR #4229)`
-- Cool orb animation `(PR #4199)`
-- New overview page `(PR #4172)`
-- Always run merge base when computing base OID (AGENT-203) `(PR #4163)`
-- Make review API return changeset and file diff `(PR #4159)`
-- Add connected indicator next to agent title `(PR #4132)`
-- Updated card design for changesets `(PR #4110)`
-- Agent overview updates `(PR #4034)`
-- Improved create new agent page `(PR #4023)`
-- Add multiple table view UIs `(PR #4016)`
- - New UIs to view an agent repos, conversations, PRs, reviews, and diagnostics
-- Auto-generate feedback from changeset conversations `(PR #3996)`
- - When a pull request is merged, diagnostic feedback is auto-generated via LLM judge from the comments and reactions
-- Visual update to agents page `(PR #3963)`
-- Mirror pull requests in our database `(PR #3880)`
- - It's now possible to `POST /.api/agents/{agent_id}/runs` to trigger a background review of a pull request
- - It's now possible to list pull requests for an agent with `GET /.api/agents/{agent_id}/changesets`
- - It's now possible to list repositories for an agent with `GET /.api/agents/{agent_id}/repos`
- - It's now possible to trigger a background sync of pull requests via `POST /.api/agents/{agent_id}/runs`.
-- Link to original rule URL in GitHub review comments `(PR #3816)`
- - Review comments on GitHub now link to the original rule. Previously, it only displayed the rule slug (short ID like `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).
-- Rules Table [AGENT-145][AGENT-169] `(PR #3797)`
-- Add $-based cost estimates in agent overview `(PR #3632)`
- - There is now a new "Spend" tab in the agent overview that gives insights into how expensive it is to run an operate an agent, which is helpful among other reasons when making a decision about what LLM model to use.
- - The LLM API `/.api/completions/stream` now returns the used "modelref" (Sourcegraph canonical representation) alongside the used "model" (LLM provider canonical representation).
-- Rule builder with testing on a specific PR `(PR #3614)`
-- Sync PR conversations on merge or error [CODY-5010] `(PR #3569)`
-- Rename all-inferred to repo-rules `(PR #3476)`
- - Use the setting `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.
-
-#### Autocomplete
-
-- Redict starcoder traffic to Deepseek from CG `(PR #4310)`
-
-#### Batch Changes
-
-- Add sorting to changesets `(PR #4085)`
-- New api for batch spec examples `(PR #4050)`
- - Feat(batches): new batch spec examples library api
-- Add title-search capabilities to batch changes `(PR #3837)`
-
-#### Batch Changes
-
-- Enable ssh key commit signing for site admins `(PR #4013)`
-- Add fine-grained access tokens to credential modal `(PR #4007)`
- - Feat(batches): Batch Changes now supports fine-grained access tokens as user and site-admin credentials
-- Update commit signing to display public key `(PR #3968)`
-- Commit signing with ssh keys `(PR #3817)`
- - 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.imageimage
-- Implement changeset rebasing `(PR #3600)`
-
-#### Cloudapi
-
-- Database configuration `(PR #3779)`
-
-#### Code Intelligence
-
-- Syntactic indexing for Scala `(PR #2393)`
-
-#### Code Nav
-
-- Add metadata and topics to repo home `(PR #3984)`
-
-#### Cody
-
-- Update context limits (CODY-5022) (#4321) `(PR #4426)`
-- Add entitlements CRUD endpoints `(PR #4402)`
-- Add a site config for "enforced" Guardrails and transmit it to Cody clients `(PR #4286)`
- - Adds a site config setting, `"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.
-- Add support for logging to Search using Cody credentials `(PR #3585)`
-
-#### Cody-Gateway
-
-- MSP based version of cody gateway exposes sync sources endpoint `(PR #4261)`
-- Return consumption in standardised trailer headers `(PR #3680)`
-- Deprecate legacy /anthropic endpoint `(PR #3677)`
-
-#### Codygateway
-
-- Allow lookup failures to check Enterprise Portal again `(PR #3936)`
-
-#### Completioncredits
-
-- Disable request-count-based limiting when enforcement is enabled `(PR #4222)`
-- Generate flattened usage view `(PR #3971)`
-
-#### Completions
-
-- Add token usage to traces `(PR #4180)`
-- Credit consumption tracking `(PR #3917)`
-- Apply cost estimate from Cody Gateway as source `(PR #3681)`
-- Refactor cost estimation to 'credits' from 'pennies' `(PR #3667)`
-
-#### Database/Completioncredits
-
-- Improved List, add Count `(PR #4323)`
-- Track raw token counts `(PR #4322)`
-
-#### Dev
-
-- Enable SvelteKit dev server in sourcegraph command set by default `(PR #3084)`
-
-#### Dotcom
-
-- Bring workspaces hype to Cody Pro upsell page `(PR #3768)`
-
-#### Entitlements
-
-- Init tables `(PR #3944)`
-
-#### Gitserver
-
-- Commit signing with ssh keys `(PR #3592)`
-
-#### Graphqlbackend
-
-- Add prototype completionCreditsUsage query `(PR #4346)`
-
-#### Graphqlbackend/Completioncredits
-
-- Prototype entitlement usage query `(PR #4483)`
-
-#### Llmapitelemetry
-
-- Allow consumers to GetTokenUsages `(PR #4181)`
-
-#### Multi Tenant
-
-- Bring onboarding UI a bit closer to original design `(PR #4217)`
-- Add disabled tooltip to invite users button `(PR #3981)`
-- Update public repositories picker tab `(PR #3923)`
-- Add exit survey and delete re-typing confirmation UX `(PR #3859)`
-
-#### Release
-
-- Add timeout to migrator test `(PR #4237)`
-
-#### Sams
-
-- Extend workspaces session cookie to 30 days `(PR #4213)`
-- Bump IntrospectTokenCacheSize for multi-tenant services `(PR #3850)`
-
-#### Search
-
-- Add support for chaining multiple filePaths in URL (#4333) `(PR #4433)`
-- Rename scope refinement options for (hopefull) better clarity `(PR #4341)`
-- Enable personalized ranking by default `(PR #4148)`
- - 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
-
-```json
-{
- "experimentalFeatures": {
- "boostRelevantRepositories": false,
- },
-}
-```
-
-- (new web ui) Add support for capture group aggregation `(PR #4122)`
-- Add repo metadata editing `(PR #4086)`
-- Add simple form validation/handling library `(PR #4084)`
-- Code Monitors - Change the display order of the tabs in the page `(PR #3959)`
-- Load 100 batch changes at a time instead of 15 `(PR #3739)`
-- Use `patterntype=nls` for Cody context `(PR #3709)`
- - 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: ([https://github.com/sourcegraph/cody/blob/62d73f78c432036d1f99bc9631ed534cc2ed846b/lib/shared/src/sourcegraph-api/graphql/client.ts#L1386-L1404](https://github.com/sourcegraph/cody/blob/62d73f78c432036d1f99bc9631ed534cc2ed846b/lib/shared/src/sourcegraph-api/graphql/client.ts#L1386-L1404)).
-- Add BlamePopover for blame view in new webapp `(PR #3659)`
-- Improve cody web warmstart performance `(PR #3333)`
-
-#### Smart-Apply
-
-- Allow smart apply models on dotcom `(PR #4104)`
-- Add instant apply model for smart apply `(PR #3857)`
- - Feat(smart-apply): Add instant apply models
-
-#### Source
-
-- Add projectQuery option to Gerrit code host connections `(PR #3807)`
- - Gerrit code host connections now support a `projectQuery` option that allows for any arbitrary query parameters supported by the Gerrit API.
-- Allow adding details of an already existing GitHub App `(PR #3370)`
- - 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.
-
-#### Workspaces
-
-- Implement workspace membership filter `(PR #4038)`
-- Add Google Tag Manager via WORKSPACES_GOOGLE_TAG_MANAGER_ID `(PR #3611)`
-- Add plans-viewed event `(PR #3503)`
-- Check Enterprise Portal for potential overlap `(PR #3500)`
-
-#### Workspaces/Internal
-
-- Add button to find by workspace ID `(PR #3607)`
-- Add link to Looker for workspace `(PR #3588)`
-- Add search workspaces UI `(PR #3566)`
-
-#### Others
-
-- Configurable runtime for codemonitor jobs `(PR #4289)`
- - Feat: configurable runtime for codemonitor jobs
-- Show an info message that commit signing is set up `(PR #4216)`
-- Hide commit signing integration when no github code host is available `(PR #4022)`
-- Create new package /lib/releases `(PR #3835)`
-- Implement commit search on searcher `(PR #3541)`
- - Added a feature flag to run commit search on searcher, goal being to improve stability and resource usage of gitserver
-- New GraphQL query evaluateFeatureFlags `(PR #3513)`
- - Feat: new GraphQL query evaluateFeatureFlags
-- Add C++ support for ctags `(PR #3301)`
-
-### Fix
-
-#### Agents
-
-- Render context lines against head (AGENT-195) `(PR #4430)`
-- Add missing sg enable to +page.svelte files `(PR #4399)`
-- Simplify onboarding `(PR #4386)`
-- Fix broken changeset titles `(PR #4372)`
-- Use MarshalCursor.idField as an override if "Id" is explictly listed `(PR #4352)`
-- Add minor touches to review page `(PR #4347)`
-- Make agent overview page load again `(PR #4338)`
-- Generate meaningful name for newly created agents `(PR #4334)`
-- Make agent page load with empty connections `(PR #4331)`
-- Make `/.api/reviews?include=changesets` actually work `(PR #4328)`
-- Fix explicit changeset revision ID and improve logging `(PR #4304)`
-- UI improvements to reviews list `(PR #4294)`
-- Improve overview review cards `(PR #4293)`
-- Updated review list design `(PR #4271)`
-- Fix detection of generated files (AGENT-202) `(PR #4238)`
-- Agent orb z-index removed `(PR #4235)`
-- Links the "View review" button in review list `(PR #4234)`
-- Handle diffs with deleted files `(PR #4221)`
-- Remove review rule `(PR #4214)`
-- Fix overview page bugs `(PR #4193)`
-- Fix prompt rendering issues `(PR #4186)`
-- Updated spend page for new schema `(PR #4166)`
-- Settings moved to top-level nav `(PR #4135)`
-- Link buttons and links on connection card `(PR #4129)`
-- Moves sidebar items into context menu `(PR #4126)`
-- CSS and changeset logic fixes `(PR #4113)`
-- Added whitelisted prefix to system prompts `(PR #4090)`
-- Import create images properly `(PR #4073)`
-- Agents Intro Hero visual update `(PR #4070)`
-- Visual update agent hero section `(PR #3990)`
-- Conversations have Upsert semantics `(PR #3915)`
-- Display stable number of agent runs `(PR #3822)`
-- Skip draft PRs with the `feature_flag_enabled` trigger `(PR #3820)`
- - The review agent no longer automatically reviews draft PRs with the `feature_flag_enabled` trigger. Instead, users must explicitly request reviews on draft PRs through a comment (`comment_starts_with`) or a label (`label_exists`)
-- Track spend even when not posting GitHub review `(PR #3819)`
-- Automatically add feature-flag trigger `(PR #3815)`
- - When creating a new agent program, it now automatically includes a feature flag trigger for the feature flag named `agents-auto-review`. You must create this feature flag to have the trigger activate.
-- Run items condensed `(PR #3813)`
-- Run status indicators changed to circles `(PR #3811)`
-- Get review agent working again `(PR #3766)`
-- 404 link `(PR #3763)`
-- Added another migration to fix edited agent_conversation migration `(PR #3686)`
-- Add migration to fix edited migration [AGENT-157] `(PR #3641)`
-- Use non-cancelable context for telemetry reporting `(PR #3630)`
-- Correctly chunk diffs wrt generated files `(PR #3628)`
- - Fix a bug where the review agent would error if a generated file had more than 100k tokens.
- - Updated docs to describe the algorithm to detect and ignore generated files
-- Mark run as "errored" on panic `(PR #3627)`
- - Fixed a bug where an agent run would be stuck in "running" mode forever. Now, these runs get correctly marked as "errored"
-- Improve wording of a log entry `(PR #3626)`
-- Remove outdated suggestion `(PR #3625)`
-- Fix flaky test failure `(PR #3578)`
-- Several small fixes for agents `(PR #3571)`
- - The review agent now posts a comment reply when it's triggered by a comment trigger (example: `@sourcegraph review`). This is makes the agent behave more like a colleague would.
- - The agent run page now links back to the pull request at the top of the page
- - "Duration: 0s" is no longer shown on the agent run page while it's running.
- - The links to the "applied_rules" in the agent run page now work correctly. Previously, the links were a 404 because they were one long `", "` 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.
-- Fix bug where `POST /reviews` always failed `(PR #3520)`
-
-#### Analytics
-
-- Deprecate admin analytics `(PR #3930)`
- - Deprecate the admin analytics pages (/site-admin/analytics) and redirect users to Sourcegraph Analytics (analytics.sourcegraph.com).
-
-#### Batch Changes
-
-- Don't show ssh keys if they're not applicable `(PR #4009)`
-- Make batch changes restriction more visible `(PR #3860)`
-
-#### Ci
-
-- Fix pnpm patch file paths `(PR #3519)`
-
-#### Search
-
-- Fix bug that wasn't setting a default tab selection `(PR #4107)`
- - Fixes a bug where default selections were not being set.
-
-#### Code Intelligence
-
-- Allows explicitly specifying scala for scip-syntax `(PR #3875)`
-- Allow failed and errored uploads to expire in accordance with retention policy `(PR #3393)`
-
-#### Code Nav
-
-- Enable code intel for graphql and protobuf `(PR #4264)`
-- Change file tree alignment `(PR #4246)`
-- Fix inline diff view `(PR #4232)`
-
-#### Cody
-
-- Allow "edit" model capability in site config `(PR #4377)`
-- Endpoint and token definition in requests to Cody Gateway `(PR #3980)`
-- Cody Gateway client config `(PR #3978)`
-- Cody Gateway enabled definition `(PR #3977)`
-- Cody Gateway endpoint and token resolution on Sourcegraph instance `(PR #3950)`
-- Update auditlog API to have cursor-based pagination `(PR #3942)`
- - Improve usability of auditlog API
-- Remove Cody quota usage check worker `(PR #3922)`
-- Prevent panic in chat completions API by checking error first `(PR #3918)`
- - The API `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.
-
-#### Cody-Gateway
-
-- Added missing call of InitCodyGatewayModelConfig to MSP version of Cody Gateway `(PR #4266)`
-
-#### Cody-Gateway/Dotcomuser
-
-- Shorter TTL for failure case `(PR #3847)`
-
-#### Codygateway
-
-- Fix Enterprise actor cache fail-open `(PR #3559)`
-
-#### Completioncredits
-
-- Fix aggregation generating >1 row per user `(PR #4178)`
-
-#### Completions
-
-- Soft-fail aggregated token usage recorder `(PR #4284)`
-
-#### Completions/Client
-
-- Check for resp nil-ness before deref `(PR #4218)`
-
-#### Completions/Entitlements
-
-- Do not hard-fail on missing usage data `(PR #4446)`
-- Ignore code completions `(PR #4185)`
-- Fix fallback calculation `(PR #4115)`
-
-#### Dev
-
-- Fix pnpm test:preview command `(PR #4314)`
-- Fix `pnpm dev` `(PR #4219)`
-
-#### Enterpriseportal
-
-- Remove bad log scopes `(PR #3536)`
-
-#### Entitlements
-
-- Use bigint limits `(PR #4176)`
-
-#### Modelconfig
-
-- Correct modelcost calculation `(PR #4179)`
-- Remove invalid modelcost, add enforcement `(PR #4100)`
-
-#### Multi Tenant
-
-- Fix add repositories error layout, workspace redirection, added repositories search `(PR #4167)`
-- Fix variable preservation for add repositories picker pagination query `(PR #4030)`
-
-#### Perf
-
-- Remove quadratic behavior in rune counting `(PR #3665)`
- - (perf) Fixed quadratic behavior in commit and diff search
-
-#### Prompts
-
-- Do not allow to create prompts if you're not a site admin `(PR #4011)`
-
-#### Search
-
-- Make form input directions more clear `(PR #4093)`
-- Remove unscoped css `(PR #4080)`
-- Disallow rev filters with repo predicates `(PR #4035)`
- - 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.
-- Ensure we ignore context canceled errors in searcher client `(PR #3992)`
- - Fix a rare bug in `repo:has.file` queries where some searches could return no results.
-- Truncate all Rockskip tables `(PR #3976)`
- - 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.
-- Code monitors tab logic `(PR #3961)`
-- Fix 'case:' and 'patterntype:' parsing bug `(PR #3927)`
-- Server returns new app for /agents/* Routes `(PR #3762)`
-- Improve error for clashing revisions `(PR #3714)`
-- Make repo readme fill available space `(PR #3707)`
-- Fix streaming search in vscode and jetbrains extension `(PR #3510)`
-- Workaround settingscasacde error checks `(PR #3364)`
-
-#### Smart-Apply
-
-- Change the deployment id for the custom model `(PR #3921)`
- - Fix(smart-apply): Change deployment id
-
-#### Workspaces
-
-- Only check eTLD+1 if domain might have a subdomain `(PR #3561)`
-
-#### Workspaces/Web
-
-- Fix tag manager ID interpolation `(PR #3664)`
-
-#### Others
-
-- Escape LIKE queries for users `(PR #4311)`
-- Add ssh-keygen to gitserver to enable commit signing `(PR #4300)`
-- Clean up indexes for user_relevant_repos `(PR #4281)`
-- Skip check for github app commit signing if configured by SSH `(PR #4169)`
-- Init subrepo perms before enterprise init hooks `(PR #4064)`
-- Only show commit signing for gitlab and github `(PR #4027)`
-- Use pathspec literal to avoid colons `(PR #3928)`
- - Fixed a bug where paths that start with colons may be reported as not found.
-- (Agents) Modify agent submenu styling `(PR #3810)`
-- (Agents) Remove description field in agent creation step `(PR #3808)`
-- Enforce file size limits for highlighting `(PR #3697)`
- - Enforces limits of 1.5 MiB and 50K lines for highlighting code files.
-- Remove vertical scrollbar from pre block `(PR #3678)`
- - (minor bugfix) Fixed an issue where we would show scrollbars on unscrollable items in the dynamic search filters sidebar
-- Fetch modified files for `DiffModifiesFile` `(PR #3654)`
-- Clean up cmd leak `(PR #3642)`
-- A few bugfixes for the experimental commit search on searcher `(PR #3639)`
-- Close diff reader `(PR #3636)`
-- A few small fixes for commit search on searcher experiment `(PR #3620)`
-- Change developer dialog back to cache first `(PR #3548)`
-
-### Chore
-
-#### Agents
-
-- Add support for 'sg test agents' `(PR #4336)`
-- Add extra debugging statement `(PR #4326)`
-- T.Equal argument order `(PR #4290)`
-- Replace openapi-generator with custom typespec emitter `(PR #4249)`
-- Optimize Go coding style rule `(PR #3848)`
-- Minor fixes for spend page `(PR #3757)`
- - API documentation for `GET /.api/reviews` now correctly shows the supported query parameters
- - The agent spend overview now correctly displays the oldest date in the title (not newest date)
- - The agent spend overview page now no longer has a 404 in the page title
-- Move internal dev docs to Notion `(PR #3675)`
-- Conversation Reactions [AGENT-17] `(PR #3618)`
-- Remove less useful rules `(PR #3598)`
-- Add rules related to emitting telemetry events `(PR #3582)`
-
-#### Batch Changes
-
-- Commit signing polish `(PR #4287)`
-
-#### Ci
-
-- Migrate hermetic cc toolchain to bzlmod + ubuntu 24.04 (v2) `(PR #3979)`
-- Remove linter_deps `(PR #3778)`
-- Handle pushing of images with tag `internal-image` `(PR #3701)`
-- Move hermetic_cc_toolchain to bzlmod `(PR #1665)`
-
-#### Code Intelligence
-
-- Remove stray comment `(PR #3616)`
-- Reduce frequency of auto-indexing summary builder `(PR #3615)`
-- Add test for Int4 overflow fix `(PR #3597)`
-- Delete dependency syncing code `(PR #2947)`
-
-#### Code Nav
-
-- Fetch file content from raw endpoint in React app `(PR #4299)`
-- (new web ui) Use raw endpoint to fetch file content `(PR #4136)`
-
-#### Cody
-
-- Roll Cody Web to 0.32.4 `(PR #4404)`
- - Cody Web is updated to 0.32.4
- Backport 70119119b25a883d94571770aafe7846c161a79d from #4401
-- Fix max tokens default values for dev env `(PR #4125)`
-- Make Cody Gateway accept incoming trace as a direct parent `(PR #4003)`
-- Remove teams mention from pro plan description `(PR #3749)`
-- Remove "New" from Claude 3.5 Sonnet name (SRCH-1627) `(PR #3530)`
- - No-changelog
-
-#### Cody-Gateway
-
-- 10x all blocking/flagging limits `(PR #4184)`
-
-#### Codygateway
-
-- QA fixups `(PR #4099)`
-
-#### Completioncredits
-
-- Increase aggregation interval to 5s `(PR #4251)`
-
-#### Deps
-
-- Bump vulnerable dependencies `(PR #4329)`
-
-#### Dev
-
-- Extracted constant time string comparison into a utility function `(PR #4278)`
-- Upgrade playwright `(PR #4272)`
-- Clean up web-sveltekit and ui package.json files `(PR #4269)`
-- Improve stability of top level navigation test `(PR #4259)`
-- Improve playwright test stablility `(PR #4162)`
-- Remove sourcegraph.yaml code path in auto-indexing `(PR #2957)`
-- Delete most package repo code `(PR #2955)`
- - Removes experimental support for creating, configuring and using package code hosts such as NPM dependencies, JVM dependencies, Go modules etc.
-
-#### Docs
-
-- Add link to telemetry naming best practices guide `(PR #4012)`
-
-#### Dotcom
-
-- Remove deprecated events pubsub client `(PR #3662)`
-
-#### Enterpriseportal
-
-- Wrap error instead of using safedetails `(PR #3937)`
-- Include error in lookup error log `(PR #3935)`
-- Log subscription-not-found GetCodyGatewayAccess requests `(PR #3734)`
-
-#### Gitserver
-
-- Clarify correctness of code in CommitsIter `(PR #3547)`
-
-#### Graph
-
-- Upgrade auto-indexer images (Adds support for .NET 9.0) `(PR #4057)`
-
-#### Graphql
-
-- Split specific functionality of `GitTreeResolver` and `GitBlobResolver` out of shared `GitTreeEntryResolver` `(PR #3744)`
-
-#### Local
-
-- On MacOS use `login` keychain `(PR #3975)`
-- Add analytics sentinel value to events `(PR #3853)`
-- Remove GOWORK from sg.config `(PR #3851)`
-
-#### Modelconfig
-
-- Update Gemini 2.0 Flash-Lite model info `(PR #3887)`
-
-#### Monitoring
-
-- Add completions latency dashboards `(PR #3741)`
-
-#### Perf
-
-- Stream commits `(PR #3661)`
- - (internal, perf) Modified commits endpoint on gitserver to stream end-to-end, increasing raw listing throughput by ~20x.
-
-#### Refactor
-
-- Extract subrepo permissions checking into a Client wrapper `(PR #3634)`
-
-#### Release
-
-- Add release as branch code owners `(PR #4421)`
- - N/A - Not customer facing
-
-#### Release
-
-- Move operations package out of internal `(PR #4164)`
- - Move buildkite and operations packages into public package from internal
-- Remove duplication of SBOM generation in internal releases `(PR #4061)`
- - Remove SBOM from internal release
-- Publish basic initcontainer to use in deployments `(PR #3974)`
-
-#### Search
-
-- Convert toReadable to toLoadable `(PR #4121)`
-- Standardize on valibot for runtime data validation `(PR #4082)`
-- Blame popover polish `(PR #3908)`
-- Update cody web to v0.32.2 `(PR #3904)`
-- Remove fuzzy finder access for unauthorized users `(PR #3776)`
-- Change os.Setenv to t.Setenv and move the env closer to the tests `(PR #3557)`
-- Add tests for KUBERNETES_GIT_CA_CERT `(PR #3539)`
-
-#### Security
-
-- Backport: Update to src-cli 6.1.1 `(PR #4477)`
- - Update src-cli version to 6.1.1
-- [6.2.x] Auto-update all packages in Sourcegraph container images `(PR #4466)`
-- Pin GH actions `(PR #4134)`
-- Remove database dependency from security event logs `(PR #3907)`
- - Removed ability to write audit logs to database.
- - Audit logs can no longer be disabled, and will always stream to stderr.
-- Auto-update all packages in Sourcegraph base images `(PR #3483)`
-- Auto-update all packages in Sourcegraph base images `(PR #3274)`
-
-#### Source
-
-- Move subrepo filtering to gitserver client for `StreamRawDiffs` `(PR #3799)`
-
-#### Telemetry
-
-- Update `NonActiveUserEvents` to include `cody.auth.connected` `(PR #4517)`
-- Cody.api and requestclient cleanups `(PR #3769)`
-
-#### Workspaces
-
-- Remove redundant custom utm_source `(PR #3531)`
-
-#### Workspaces/Blocklists
-
-- Make fuzzy-match more lenient `(PR #3770)`
-
-#### Others
-
-- Activate commit signing by default `(PR #4373)`
- - Backport 5f9519cec1e7edea1880dd44af25161f9d4fc88b from #4343
-- Update styling for batch changes search `(PR #4291)`
-- Simplify logic for occurrence resolvers `(PR #4253)`
-- Update third-party licenses `(PR #4250)`
-- Try again to fix test flake `(PR #4231)`
-- Fix racy test `(PR #4227)`
-- Remove packages from GraphQL & site config `(PR #4220)`
-- Disable flaky test in CI `(PR #4212)`
-- Clarify + add more o11y for HandleRawUpload `(PR #4177)`
-- Add ability to fetch repo by database ID `(PR #4161)`
-- Fix commit search test `(PR #4143)`
-- Remove last log15 from repo-updater `(PR #4140)`
-- Cleanup code that was not implemented `(PR #4127)`
-- Update third-party licenses `(PR #4097)`
-- Remove unused gitserver_repos_statistics table `(PR #4087)`
-- Enable diff-search-on-searcher by default `(PR #4052)`
- - Internal: moved commit and diff search from gitserver to searcher to help stabilize gitserver memory usage
-- Add ability to migrate in parallel `(PR #4017)`
-- Fixup copy for bitbucket.org `(PR #3993)`
-- Update third-party licenses `(PR #3967)`
-- Remove intent detection model call in frontend, always return chat `(PR #3938)`
- - The ChatIntent endpoint is now deprecated and will always return chat as the chosen intent.
-- Include context for inference logic (o11y) `(PR #3899)`
-- Add historical context for Rand parameter `(PR #3896)`
-- Remove fmt.Printf in test code `(PR #3895)`
-- Base language detection limit on measurements `(PR #3893)`
- - Language icons for files with ambiguous extensions (such as `.h` files, which is used for both C and C++) are more likely to be accurate.
-- Add tool for language detection measurements `(PR #3873)`
-- Add constant for language detection limit `(PR #3854)`
-- Add Go style guide to rules `(PR #3845)`
-- Update third-party licenses `(PR #3840)`
-- Remove unused WebBuilderDevServer field `(PR #3812)`
-- Update teams.yml for product platform changes `(PR #3748)`
-- Refactor content fetching `(PR #3742)`
-- Add `rawURL` `(PR #3740)`
- - (feat) Added `rawURL` to git blob GraphQL resolver to encourage fetching file contents from in a more performant manner.
-- Reduce vite logging to warn `(PR #3727)`
-- Serialize commit search `(PR #3715)`
-- Remove evaluated feature flags from event logging for performance `(PR #3700)`
-- Erase errors returned from *FileChecker types `(PR #3693)`
-- Add LargeString type to avoid string copies `(PR #3692)`
-- Change constants casing `(PR #3691)`
-- Add printing functions for units.Size `(PR #3690)`
-- Update third-party licenses `(PR #3688)`
-- Ignore debug binaries produced by delve `(PR #3679)`
-- Bump auto-indexing image SHAs `(PR #3676)`
- - Updates default auto-indexing images for scip-go (to v0.1.23), scip-ruby (to v0.4.6) and scip-dotnet (to v0.2.10).
-- Remove client-side code for packages `(PR #3671)`
- - Removes UI settings for experimental package repos feature.
-- Add test for patch.go `(PR #3655)`
-- Remove tree-sitter-based semantic chunker `(PR #3645)`
-- Update Emi's mentions to 'emidoots' `(PR #3624)`
-- Notify Varun on changes to codeintel dashboard `(PR #3623)`
-- Update Entitle Link for documentation `(PR #3613)`
-- Update third-party licenses `(PR #3572)`
-- Migrate react hook useFeatureFlag to use batch query `(PR #3550)`
-- Migrate developer dialog to evaluateFeatureFlags `(PR #3546)`
-- Rename Search to CommitSearch `(PR #3464)`
-
-### Refactor
-
-#### Search
-
-- Rename boost: query params to repo:boost `(PR #4332)`
- - `boost:repo()` and `boost:relevant.repos()` query params have been renamed to `repo:boost()` and `repo:boost.relevant()`.
-
-#### Security
-
-- Remove security event patterns from audit logging `(PR #4154)`
- - Security events have been removed in favor of improved audit logging
-
-#### Others
-
-- Batch settings requests `(PR #4315)`
- - Perf: reduced DB roundtrips when fetching settings, lowering floor latency for API requests
-- Move after commit logic into server source implementations `(PR #4224)`
- - The executor shouldn't know about code host specific logic. This change moves github specific logic - Duplicating commits when signing with a GH app - Out of the executor and into the Github ChangeSetSource.This is behind a generic AfterCommit interface method of ChangeSetSource interface, for which other code host implementations are simply no-ops.
-
-### Reverts
-
-- Revert "chore: add Zoekt indexserver GRPC client" `(PR #4024)`
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.2.x] bitbucketserver: Properly refresh OAuth credentials in API calls `(PR #4522)`
- - Fixed an issue where Bitbucket Data Center/Server OAuth2.0 credentials were sometimes not refreshed correctly, causing errors when syncing repository permissions. Backport fb4e51d25cc2ac0713e9af3d7ed39fc6e9d01500 from #4521
-- [Backport 6.2.x] modelconfig: refresh model costs `(PR #4400)`
-- [Backport 6.2.x] Update deployment types to show accurate types in telemetry `(PR #4361)`
- - Backport a09017f5ef6e75ec083fc0c9444baa64b0354989 from #4319
-- Cody-gateway: Fixed (Read/Write)Timeout in MSP version of cody gateway; those were misaligned compared to legacy version `(PR #4296)`
-- Database: Add support for CloudSQL connector in monolith `(PR #4282)`
-- Uploadpack: Fixup metrics reporting `(PR #4279)`
-- Session: Store loaded user on actor `(PR #4276)`
-- Increase request duration `(PR #4275)`
-- Api: Fix panic in randomizeUserPassword mutation `(PR #4265)`
-- Upgrade rules_rust 0.59.2 and remove rules_rust patch `(PR #4260)`
-- Monitoring: tweak entitlements docs `(PR #4252)`
-- Migration: Fixup performance of packages migration `(PR #4228)`
-- Gitserver: Update on-disk format again `(PR #4203)`
-- Monitoring: add entitlements panels `(PR #4201)`
-- Repoupdater: RecloneRepo removes repo from all shards `(PR #4187)`
-- Extract user setting link to a separate nav item `(PR #4182)`
-- Gitserver: Change janitor default interval to 2h `(PR #4175)`
-- Dev: add debug image `(PR #4174)`
-- Tenant: Fix missing tenant errors in updates to repo_statistics `(PR #4165)`
-- Internal/database: add initial entitlements store `(PR #4153)`
-- Fix some linter warnings `(PR #4147)`
-- CORE-814: soureces.Worker is used in MSP cody-gateway not only in non-MSP version `(PR #4133)`
-- Chore(cloud ephemeral): allow extend lease for expired/incomplete ins… `(PR #4128)`
-- CORE-814: MSP version of Cody Gateway exposes all endpoints exposed by the non-MSP version `(PR #4123)`
-- Gitserver: Recalculate size only after fetches `(PR #4116)`
-- Update Cody Web to 0.32.3 `(PR #4105)`
-- Add support for tool_results `(PR #4101)`
-- Gitserver: Simplify refspecoverrides `(PR #4096)`
-- Frontend: Unexport packages not used outside of frontend `(PR #4095)`
-- Gitserver: Implement upload-pack in gitcli package `(PR #4094)`
-- Workspaces: Deprecate code.repositoryInfo:succeeded event `(PR #4089)`
-- Gitserver: Don't persist shard_id in database anymore `(PR #4088)`
-- Tenant: Add deletion routine for the database `(PR #4071)`
-- Initialise subrepo permissions checker in syntactic worker `(PR #4069)`
-- Feat(cody gateway): Update default chat model to Claude 3.7 Sonnet without Thinking enabled `(PR #4063)`
-- Cleanup: fail if subrepo perms is not initialized `(PR #4056)`
- - (Infra) Searcher now requires a database connection, so must be able to reach Postgres,
-- Mark Scala import packages as namespaces `(PR #4046)`
-- Repo-updater: Fix bad log field `(PR #4041)`
-- CORE-814: MSP version of Cody Gateway exposes basic HTTP API `(PR #4036)`
-- Gitserver: Fix goroutine leak `(PR #4033)`
-- Fix bug where penny-based model configurations would result in site config validation errors `(PR #4021)`
-- Symbols: Fix column reference in rockskip repo deletion `(PR #4020)`
-- Added EventLogger to the Cody Gateway supporting BigQuery configuration created by MSP `(PR #4004)`
- - Added EventLogger to the Cody Gateway supporting BigQuery configuration created by MSP
-- Fix merge order conflict `(PR #3997)`
-- Stream: Fix unintentional buffering in streaming APIs `(PR #3994)`
-- Fix(cody gateway): disable chat vision by default `(PR #3988)`
-- Add trace events for external requests `(PR #3987)`
- - Internal: added trace logs for HTTP lifecycle events
-- Feat(cody gateway): unblock vision models requests `(PR #3986)`
-- Reapply "fix: batch workspaces to reduce memory pressure (#3657)" (#3965) `(PR #3982)`
-- Symbols: enabled ad-hoc file parsing by default `(PR #3970)`
- - We have enabled a new performance improvement for unindexed symbol search. Requests asking for all symbols of a file will now be handled by ad-hoc file parsing instead of by Rockskip or sqlite-based symbol search. This solves an issue many customers have reported for larger repositories, where the symbol sidebar in the blob view would often show errors related to timeouts. The feature can be disabled by setting `DISABLE_FILE_SYMBOLS_PARSING=true` as ENV for the symbols service.
-- P4fusion: Use the latest version in localdev `(PR #3955)`
-- P4fusion: Remove old p4-fusion wolfi package `(PR #3954)`
-- Ci: Skip perforce IP tests as well in backend integration tests `(PR #3953)`
-- Search: add tracing for revision resolution `(PR #3934)`
-- Bug(agent): Set display_name when fetching rules `(PR #3931)`
-- Gitserver: Run p4-fusion operations in quarantined repo directory `(PR #3929)`
-- Gomod: bump Zoekt for test scoring change `(PR #3926)`
-- Fix(mi2 cloud eph): support older Sourcegraph versions `(PR #3920)`
-- CORE-759: Added MSP skeleton to Cody Gateway `(PR #3902)`
- - Added feature flag for MSP and added skeleton of MSP app into Cody Gateway
-- Fix incorrect enqueuing of syntactic indexing jobs `(PR #3877)`
- - Fix incorrect enqueuing of syntactic indexing jobs `(PR #3877)`
-- Tenant: Add deletion routine for blobstore `(PR #3876)`
-- Gitserver: Fix testbed setup in git 2.48 `(PR #3867)`
-- Index C++ concepts using scip-ctags `(PR #3843)`
- - Use scip 0.5.2 to identify C++ concepts
-- Map "c++" -> "cpp" for scip-ctags parsing `(PR #3842)`
- - Maps `c++` to `cpp` when selecting `scip-ctags` parser, instead of falling back to `universal-ctags`.
-- Update to src-cli 6.1.0 `(PR #3818)`
- - Update src-cli version to 6.1.0
-- Gitserver: Support fetching repo from other gitserver after resharding `(PR #3800)`
-- Tenant: Add deletion routine for zoekt `(PR #3782)`
-- Changing Gemini Flash Lite model from Preview to GA `(PR #3752)`
-- Tenant: Forbid changing the primary email `(PR #3747)`
-- Tenant: Add deletion routine for gitserver `(PR #3745)`
-- Bug(agents): db.Conversations().Create also has update semantics [AGT-172] `(PR #3743)`
-- Tenant: Add small framework and first task for tenant deletion reconciler `(PR #3735)`
-- Vsce: minor release v2.4.0 `(PR #3718)`
-- Feat(cody gateway): change the reasoning effort for Claude 3.7 Sonnet model to low `(PR #3710)`
-- Feat(cody gateway): add Claude 3.7 Sonnet model `(PR #3705)`
-- Tenant: Fix local dev not starting up `(PR #3684)`
-- Fix: Mark releases as development in the releaseregistry `(PR #3682)`
- - NA
-- Monitoring: add new CPU/ memory group for all services `(PR #3666)`
-- Cody: Change some unlimited wording to increased `(PR #3640)`
-- Searcher: Add missing logger `(PR #3617)`
-- Updated marketing to reflect Pro chat limits are not unlimited `(PR #3586)`
-- Add 'clear search' feature to search input bar. `(PR #3583)`
-- Monitors: Fix logo URL and use new branding in notification email `(PR #3570)`
-- Gateway: Increase ES LLM limits to match Pro `(PR #3564)`
- - Increased ES LLM limits to match Pro
-- Gitserver: Adopt zoekt charts for IO and memory pressure `(PR #3533)`
-- Search: actually enable scip-ctags for C `(PR #3532)`
-- Remove Waitlist for O1 Models `(PR #3509)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Telemetry: allowlist key "chatAgent" in feature:"cody.chat-question" `(PR #3484)`
-- Update svelte/react storybook `(PR #3472)`
-- Don't let users see event logs page on dotcom (we don't store v2 tele… `(PR #3430)`
-- Search: expose bestLineMatch via GraphQL `(PR #3291)`
-- Authz: Clean up requirement to validate authz providers when creating code host connection `(PR #2863)`
-- Searcher: Remove RepoName field from requests `(PR #2520)`
-- Gitserver: Don't reclone repos after random GC failures `(PR #2517)`
-- Gitserver: Drop Git attributes janitor task `(PR #2516)`
-- Repoupdater: Slightly simplify repo loading and clean up RepoNames in gRPC `(PR #2515)`
-- Repoupdater: Move internal actor impersonation to caller `(PR #2514)`
-- Gitserver: Consolidate purge worker and state syncer `(PR #2513)`
-- Gitserver: Switch to IDs for all requests `(PR #2493)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Feat(cody gateway): Update default chat model to Claude 3.7 Sonnet wi… `(PR #4207)`
- - See [https://github.com/sourcegraph/sourcegraph/pull/4063](https://github.com/sourcegraph/sourcegraph/pull/4063)
-- Update Caddy `(PR #3906)`
-- Fix bug where POST /reviews always failed `(PR #3522)`
-- Auto-update all packages in Sourcegraph base images `(PR #3482)`
-
-{/* RSS={"version":"v6.2.0", "releasedAt": "2025-04-02"} */}
-
-
-# 6.1 Patch 5
-
-## v6.1.5633
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.5633)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.5633)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.5633)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.5633)
-
-### Features
-
-#### Cody
-
-- Allow non-aws bedrock endpoints with Bedrock provider `(PR #4196)`
- - Add AWS Bedrock client support for non-AWS Bedrock-compatible endpoints
- Backport 9054d7c14db0ecf96200c2985c5b550b6dd2ded0 from #4145
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- Feat(cody gateway): Update default chat model to Claude 3.7 Sonnet wi… `(PR #4207)`
- - See [https://github.com/sourcegraph/sourcegraph/pull/4063](https://github.com/sourcegraph/sourcegraph/pull/4063)
-- [Backport 6.1.x] Add thinking/chain-of-thought support for Anthropic models via Vertex AI `(PR #4202)`
-- [Backport 6.1.x] bitbucket: Add support for subpath in cloneurl resolution `(PR #4195)`
-
-{/* RSS={"version":"v6.1.5633", "releasedAt": "2025-03-21"} */}
-
-
-# 6.1 Patch 4
-
-## v6.1.4020
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.4020)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.4020)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.4020)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.4020)
-
-### Features
-
-#### Source
-
-- Sub-repo-perms: add limited support for IPv4 wildcard semantics `(PR #4018)`
- - Backport 04606e20fbc8f13ad473533820b8f5df71e20ad7 from #3989
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v6.1.4020", "releasedAt": "2025-03-12"} */}
-
-
-# 6.1 Patch 3
-
-## v6.1.2889
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.2889)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.2889)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.2889)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.2889)
-
-### Features
-
-#### Search
-
-- Adds `Team` support in SvelteKit ownership panel `(PR #3830)`
- - Implement ownership information for the Sveltekit rewrite. Backport 30f3ea6a6c115c633291c388ff599ff107d7f38b from #3738
-- Add ownership panel MVP to sveltekit app `(PR #3829)`
- - Adds read-only ownership panel to Sveltekit frontend
- - Gated behind 'svelte-ownership' feature flag
- Backport 469f2ea37a214f3c0eb1cbde012625bdbef84b6f from #3558
-
-### Fix
-
-#### Batch Changes
-
-- TransformChanges.group.directory should not interpret file names as directories `(PR #3726)`
- - Fix(batches): transformChanges.group.directory should not interpret file names as directories Backport 6ffff463be1743b89ab865018e46a34ff4e549f5 from #3721
-
-#### Cody-Gateway
-
-- Removes ModelCapabilityEdit from Claude 3.7 Sonnet `(PR #3737)`
-
-#### Search
-
-- Missing symbol changes from merge commits in Rockskip `(PR #3844)`
- - 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
-
-#### Source
-
-- Fix bug where the token always has to be entered when editing certain code host connections `(PR #3751)`
- - Fixed issue where the code host connection editor would always ask for the token to be re-entered. Backport 428c1eef19d68b38037bd35457632a007a78494d from #3719
-
-#### Workspaces
-
-- Apply jitter to global reconciler `(PR #3772)`
-
-#### Others
-
-- Update cody web to 0.31.1 to fix issue with pasting linebreaks (#3696) `(PR #3729)`
- - Fix: prompt templates should not fail when pasting linebreaks
-
-### Chore
-
-#### Security
-
-- Update Caddy `(PR #3906)`
-
-### Refactor
-
-#### Search
-
-- Normalize `displayName` across `Person` and `Team` types `(PR #3825)`
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v6.1.2889", "releasedAt": "2025-03-05"} */}
-
-
-# 6.1 Patch 2
-
-## v6.1.1295
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.1295)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.1295)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.1295)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.1295)
-
-### Features
-
-#### Cody-Gateway
-
-- Add thinking/reasoning support to Anthropic models `(PR #3708)`
- - 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
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v6.1.1295", "releasedAt": "2025-02-25"} */}
-
-
-# 6.1 Patch 1
-
-## v6.1.376
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.376)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.376)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.376)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.376)
-
-### Features
-
-#### Agents
-
-- Add support for globally enabled rules (#3480) `(PR #3502)`
-- Simplify agent admin onboarding experience `(PR #3501)`
- - You can now create a GitHub App with all the right permissions/events for code review agents. Previously, you had to manually customize the apps. Backport 87e8d77f464912cbd4356a8c3c39fba1d099e3b6 from #3473
-
-#### Cody
-
-- Add "autocomplete" capability to Claude Haiku models `(PR #3638)`
-
-#### Tenant
-
-- Telemetry for adding code `(PR #3560)`
-
-### Fix
-
-#### Agents
-
-- Fix bug when using global rules in default revision `(PR #3524)`
-- Fix bug where POST /reviews always failed `(PR #3522)`
-- Improve error reporting in `POST /reviews` `(PR #3518)`
-- Render errors as strings in agent run logs `(PR #3516)`
- - Errors are now rendered as strings in agent run logs. Previously, they rendered as `Source: {}`, which wasn't helpful.
- Backport d1f18d280fc9d3a985a284c31e819412d2add606 from #3514
-- Hide listing of rules to fix unconditional error `(PR #3498)`
-
-#### Code Intelligence
-
-- Correctly handle document counts exceeding MaxInt32 `(PR #3596)`
- - Fixes a bug in SCIP index processing for instances with a long history
-of processing large uploads. Backport 48e7b47898ee7710f12270c6861c335a2ef75f48 from #3595
-
-#### Release
-
-- Check for and remove timescaledb extension `(PR #3584)`
- - Fix(rel): remove TimescaleDB from existing database if found during upgrade to Postgres 16 on the codeinsights database.
- Backport 71b4af3d6faef054803db0151b2cc7b151bb1c0e from #3556
-
-#### Security
-
-- Allow the admin's HTTP auth provider headers in CORS preflight requests `(PR #3540)`
- - HTTP header auth username and email headers, if configured, are no longer blocked by CORS. Backport 782b98a780dac335576b8f43affb4b1a10123882 from #3512
-
-#### Others
-
-- TransformChanges.group.directory should ignore file names `(PR #3594)`
- - Fix: transformChanges.group.directory now ignores file names
- Backport 3b76fe4ab146565b0e736231353b1e24f1468241 from #3576
-- Fix missing JSON schema on serve-git connection page `(PR #3567)`
-- Do not close stream when tab is unfocused `(PR #3529)`
- - Fixes an (unreleased) issue that could cause duplicate search results when switching between tabs.
- Backport 746a29a25d6e54dfe7ab38f70855a9f58a652426 from #3528
-
-### Chore
-
-#### Agents
-
-- Allow non-site-admins to read agent endpoints [CODY-4962] `(PR #3511)`
- - GET access to `/.api/agent/*` endpoints for non-site admins Backport 321543c38aab312c7d3924e19617f9f247c3a5fa from #3504
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- Backport 3542 to 6.1.x `(PR #3612)`
-- [Backport 6.1.x] tenant: Report newRepositoryTotalSizeBytes for setSelectedRepos `(PR #3568)`
-
-{/* RSS={"version":"v6.1.376", "releasedAt": "2025-02-19"} */}
-
-
-# 6.1 Patch 0
-
-## v6.1.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.1.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.1.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.1.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.1.0)
-
-### Features
-
-#### Agents
-
-- Allow code review agent to auto-run based on feature flags `(PR #3477)`
- - Code review agents can now automatically run on GitHub Pull Requests (actions: `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.
-- Review Diagnostic Feedback [CODY-4951] `(PR #3456)`
- - Adds a feedback UI for diagnostics within the Agents app.
-- Report progress with GitHub Commit Status API `(PR #3445)`
- - The Code Review Agent now reports live status with the GitHub Commit Status API making it possible to open Agent logs directly from GitHub.
-- Make Review Agent leverage PR title and description (CODY-4749) `(PR #3431)`
-- Make review triggers configurable `(PR #3368)`
- - You can now request review from the Review Agent by posting a pull request comment with a configurable substring
-- Code reviews deduplicate diagnostics from historical review [CODY-4743] `(PR #3355)`
- - Code reviews deduplicate diagnostics from historical reviews
-- Add basic review rules to repo `(PR #3335)`
-- Rules-related API improvements `(PR #3305)`
-- Read the cody repo for rules as well `(PR #3212)`
-- Show rules that apply to a file in the code view `(PR #3200)`
-- More agents UI updates `(PR #3177)`
-- Add Run API, view live progress on agent runs `(PR #3171)`
- - Add `GET /.api/agents/runs` to list runs of an agent, and other related endpoints including the ability to view logs
-- Make Review agent handle large diffs `(PR #3136)`
- - The Review agent can now review larger diffs.
-- Expose rules API endpoints and use rule URIs instead of IDs `(PR #3056)`
-- Adds Conversation HTTP handlers and generated DB columns [CODY-4751] `(PR #3021)`
- - Adds HTTP handlers for `/.api/conversations` for creating and filtering conversations as well as a DB method for querying conversations.
-- Agents UI and requisite new APIs `(PR #2818)`
-
-#### Code Intelligence
-
-- Syntactic indexing job resetter `(PR #3336)`
-- Periodically delete old audit logs from syntactic jobs `(PR #3278)`
-
-#### Cody
-
-- Add Prompt Caching to Code Context (CODY-4807) `(PR #3198)`
-
-#### Cody-Gateway
-
-- Add actor-auth-status metric `(PR #3460)`
-- Add cache related token usage data to telemetry(CODY-4808) `(PR #3396)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Roll out new Gemini Models `(PR #3357)`
- - Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro Experimental
-
-#### Enterpriseportal
-
-- Add tracking for verified domains `(PR #3447)`
-
-#### Lib/Msp
-
-- Add OTEL instrumentation to gRPC clients by default `(PR #3428)`
-
-#### Local
-
-- Install mise as part of `sg setup` and deprecate asdf `(PR #2877)`
-
-#### Model-Config
-
-- Implement reasoning parameters for OpenAI models `(PR #3489)`
-
-#### Msp/Auditlog
-
-- Add trace ID to response headers `(PR #3248)`
-
-#### Release
-
-- Add init subsection to release.yaml `(PR #3223)`
- - Feat: add init cmd subsection to release.yaml parser
- - Feat: add init section to release.yaml
-
-#### Release
-
-- `sg upgradetest` `(PR #3388)`
- - Allow the upgradetest to be run locally without knowing the bazel invocation required to stamp the build etc
- - Unlock local minor and major branch upgradetests
-
-#### Search
-
-- Add enterprise starter cta to dotcom search home `(PR #3090)`
-
-#### Telemetry
-
-- Add events for repo page views `(PR #3265)`
-- Add billing metadata to toggles `(PR #3264)`
-
-#### Tenant
-
-- Fix workspace management UI quirks `(PR #3227)`
-
-#### Web
-
-- Update cloning status to new designs `(PR #2760)`
-
-#### Workspace
-
-- Workspace creation error UX `(PR #3383)`
-
-#### Workspaces
-
-- Attach cf ray id to otel traces `(PR #3387)`
-- Add WORKSPACES_ROUTER_DISABLE_RECONCILERS `(PR #3382)`
-- Upsert/delete route on manual reconcile `(PR #3378)`
-- Contact support to claim a name `(PR #3340)`
-- Record clientside payment errors `(PR #3319)`
-- Remove profanity blocks `(PR #3317)`
-- Add cancellation/churn notifications in Slack `(PR #3314)`
-- Add 'code search and code navigation' to plan page `(PR #3267)`
-- Allow creation form to be pre-filled with a coupon `(PR #3228)`
-- Seat-purchase notifications for Slack `(PR #3225)`
-- Allow Stripe promo codes only, enforce short-lived promo codes `(PR #3222)`
-- Enforce SAMS client per instance, add instance debug UI `(PR #3138)`
-- Metric for Cloudflare interactions, include status from Stripe `(PR #3117)`
-- Internal admin trigger to reconcile workspace `(PR #3070)`
-- Add instance class option for employees `(PR #3067)`
-- Write snapshot of workspace details into BigQuery on creation `(PR #3049)`
-- Plans page refresh `(PR #2983)`
-
-#### Workspaces/Billing
-
-- Add workspace name/displayname to Slack notifications `(PR #3262)`
-- Include total seats in slack notification `(PR #3260)`
-
-#### Workspaces/Slack
-
-- Make coupons links, refactor slack formatting `(PR #3332)`
-
-#### Workspaces/Telemetry
-
-- Add marketingtracking and anonymous UID `(PR #3343)`
-
-#### Others
-
-- Prompt templates editor supports @ current mentions `(PR #3397)`
- - Feat: prompt templates editor supports dynamic @ mentions
-- Add event for codeintel highlights `(PR #3261)`
-- Add support for VoyageAI reranker `(PR #3155)`
-
-### Fix
-
-#### Agents
-
-- Redirect to settings page after creating agents `(PR #3471)`
- - Creating a new agent now redirects to the settings page for further setup
-- Correct typo in system prompt `(PR #3421)`
-- Disable Agents unless feature flag is enabled `(PR #3420)`
-- Show diagnostics on review page `(PR #3358)`
-- Fix bug where review agent posted comments on wrong lines `(PR #3347)`
-- Add fallback when rules list is empty (CODY-4834) `(PR #3285)`
-- Use globs instead of regexp for include/exclude filters `(PR #3277)`
- - Rule include/exclude patterns are now interpreted as globs (`*.go`) instead of regexp (`.*\.go`). Negative include patterns like `!*.go` will be interpreted as exclude patterns, and vice versa.
-- Remove agents from the navbar on dotcom `(PR #3166)`
-
-#### Auth
-
-- Add missing allowSignup option to HTTP header auth provider `(PR #3232)`
- - Fix/auth: "http-header" auth provider can "allowSignup": false to disable automatic account creation
-
-#### Ci
-
-- Disable puppeteer browser tests `(PR #3298)`
-- Disable client checks `(PR #3290)`
-- Update licenses script and rerun it `(PR #3053)`
-
-#### Code Intelligence
-
-- Optimize GetSymbolUsages core query `(PR #3035)`
-- Decorrelate subquery for hover docs `(PR #3031)`
-- Bound number of docs read for GetHover `(PR #3000)`
-
-#### Cody
-
-- Include token usage in OpenAI streaming requests `(PR #3441)`
-- Check that completion exists `(PR #3410)`
-- Include token usage in OpenAI streaming requests `(PR #3376)`
-- Use max_completion_tokens field for OpenAI `(PR #3362)`
-- Pull correct client-name param `(PR #3167)`
-- Show actual chat quota usage for free-tier users `(PR #2970)`
-- Filter allowed models by capability for PLG users `(PR #2506)`
-
-#### Cody-Gateway
-
-- V1/limits handler `(PR #2908)`
-
-#### Dev
-
-- Internal/memcmd: add support for using mise in tests `(PR #3256)`
-
-#### Local
-
-- Set GOWORK=off for frontend in sg `(PR #3111)`
-
-#### Models
-
-- Update OpenAI o3-mini model pricing `(PR #3303)`
-
-#### Msp/Iam
-
-- Grant Cloud Deploy executor access to images `(PR #3175)`
-
-#### Msp/Runtime
-
-- Fix pgx pool stats metric `(PR #3126)`
-
-#### Multi Tenant
-
-- Bring back description text to the github add account setup step `(PR #3325)`
-- Improve workspace validation states `(PR #3093)`
-
-#### Multitenant/Mt-Router
-
-- Fix up routes and redirect `(PR #3195)`
-
-#### Release
-
-- Fix migrator update check `(PR #3173)`
- - Fix(rel): fix migrator upgrade check
-
-#### Search
-
-- Change chevrons in in-file search panel `(PR #3367)`
-- Web app broken if settings contains 'message' key `(PR #3363)`
-- Bust cache for new logo (favicon) `(PR #3350)`
-- Use separate light and dark SG logo variants `(PR #3280)`
-- Link to correct dashboard page in extensions CTA `(PR #3182)`
-- Fix search aggregation chart popover `(PR #3046)`
-- Chat tips modal covered by file sidebar `(PR #3016)`
-
-#### Source
-
-- Fix Gerrit clone URL resolution `(PR #3446)`
-- Fix inability to update Gerrit code host config URL `(PR #3361)`
- - Fix bug where the URL of a Gerrit code host connection could not be updated.
-- Web: ensure list of external accounts has unique entry for each key `(PR #3323)`
- - A bug on the user's account security page that could result in duplicated / buggy entries has been fixed.
-- RepoSource.BitbucketServer.CloneURLToRepoName(): support more URL shapes `(PR #3224)`
- - The logic that translates Bitbucket clone URLs to repository names has been fixed to support:
- - URLs that have no scheme (like `"bitbucket.sgdev.org/sourcegraph/sourcegraph"`)
- - SSH clone urls that don't have a `ssh://` scheme prefix (like `git@bitbucket.sgdev.org:sourcegraph/sourcegraph.git`)
-- Gitserver: merge base: add explicit test to ensure ordering of RevisionNotFoundErrors `(PR #2779)`
-
-#### Tenant/Repositories
-
-- Do not show search text if empty `(PR #3321)`
-
-#### Ui
-
-- Display Revision not found instead of Empty repo `(PR #3235)`
-
-#### Web
-
-- Add missing separator under organizations `(PR #3253)`
-
-#### Workspaces
-
-- Correctly apply management retries `(PR #3384)`
-- Spread out routerreconciler workload more `(PR #3377)`
-- Reduce frequency of custom input telemetry event `(PR #3342)`
-- Apply coupon when estimating price on existing subscription `(PR #3331)`
-- Tweak plan page copy again `(PR #3328)`
-- Use display name on join page `(PR #3326)`
-- Drill coupon from homepage, make sure coupon is applied immediately `(PR #3312)`
-- More sentence-casing fixes `(PR #3255)`
-- Fix capitalization in creation form `(PR #3218)`
-- Hide open-invites toggle when email domain is not allowed `(PR #3213)`
-- Price is monthly `(PR #3197)`
-- Fix name validation `(PR #3165)`
-- Include class in unseen instance counts, remove unseen instances from normal counts `(PR #3134)`
-- Log check-name errors as unexpected errors `(PR #3075)`
-- Test that post-normalization bad words are caught `(PR #3047)`
-
-#### Workspaces/At-Capacity
-
-- Capitalize error message `(PR #3381)`
-
-#### Workspaces/Metrics
-
-- Report all workspace/instance states `(PR #3297)`
-
-#### Others
-
-- Color removed from filter sidebar in search `(PR #3399)`
-- Change workspace icon in profile menu `(PR #3241)`
-- Fix yaml file `(PR #3183)`
-- Index matches safely `(PR #3168)`
-- Server checks reindex at 5.10 now `(PR #2881)`
- - Single docker server checks for 5.10-reindex.completed instead of 5.1-reindex.completed
-
-### Chore
-
-#### Agents
-
-- Basic Telemetry for Code Review [CODY-4903] `(PR #3389)`
-- [CODY-4830] Update Conversation and Review store patterns `(PR #3259)`
-- Remove typebox for runtime type validation `(PR #3214)`
-
-#### Ci
-
-- Migrate rules_oci to MODULE.bazel `(PR #3352)`
-- Fixes gazelle issues `(PR #3296)`
-- Migrate rules_go and gazelle to bazel mod `(PR #1716)`
-
-#### Cloud
-
-- Update cloud-mi2 wolfi base image `(PR #3199)`
-
-#### Code Intelligence
-
-- Make scip-syntax parallelism configurable `(PR #3206)`
-- Use clearer names & error propagation in SCIW initialization `(PR #2997)`
-
-#### Deps
-
-- Upgrade sourcegraph-accounts-sdk-go `(PR #3142)`
-
-#### Dev
-
-- Upgrade to pnpm v9.15.4 `(PR #3266)`
-- Delete go.mod for monitoring/ directory `(PR #2951)`
-
-#### Modelconfig
-
-- Remove spammy logs `(PR #3452)`
-
-#### Msp/Cloudsql
-
-- Remove pgx.Acquire span `(PR #3141)`
-
-#### Release
-
-- Update src-cli dependencies for 6.0.0 release `(PR #3186)`
- - Release src-cli 6.0.0
-
-#### Search
-
-- Permanently enable the new web app on dotcom `(PR #3448)`
-- Remove new branding branching logic `(PR #3270)`
-
-#### Security
-
-- Auto-update all packages in Sourcegraph base images `(PR #3482)`
-- Auto-update all packages in Sourcegraph base images `(PR #3239)`
-
-#### Workspaces
-
-- Remove cody upsell in workspace creation `(PR #3391)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Update ES Cody limits to 2x Enterprise `(PR #3069)`
-- Make user metadata available on userauth.UserInfo `(PR #3051)`
-
-#### Workspaces/Blocklists
-
-- Add 'unconfigured' to blocked names `(PR #3043)`
-
-#### Workspaces/Web
-
-- Rename 'quickJoin' vars to 'openInvite' `(PR #2974)`
-
-#### Others
-
-- Update list of allowed headers for untrusted clients `(PR #3486)`
-- Add events for hoverables `(PR #3433)`
-- Update third-party licenses `(PR #3414)`
-- Output formatting updates based on feedback `(PR #3349)`
-- Entitle URL updates `(PR #3345)`
-- Add more doc comments for file checker types `(PR #3307)`
-- Update third-party licenses `(PR #3273)`
-- Fix integration tests `(PR #3263)`
-- Update teams.yml for product platform changes `(PR #3252)`
-- Remove orphaned modules / import to non-exisiting module `(PR #3219)`
-- Drop hubspot logging from non-dotcom auth methods `(PR #3132)`
-- Update third-party licenses `(PR #3095)`
-- Remove gorilla/context `(PR #3089)`
-- Layout finetuning of Creating Workspaces and Tenant Onboarding `(PR #3065)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-
-### Reverts
-
-- Revert: use max_completion_tokens field for OpenAI and the inclusion of token usage in OpenAI streaming requests `(PR #-1)`
-- Revert "Omnibox: route likely code generation commands to Chat (#2969)" `(PR #2969)`
-
-### Uncategorized
-
-#### Others
-
-- Update Cody Web v0.31.0 `(PR #3474)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Gateway: Bump limits for ES `(PR #3409)`
-- Gomod: update Zoekt for file language fix `(PR #3408)`
-- Msp: use TFC robot email for IAP `(PR #3400)`
-- Alexjean baptiste cody 4813 azure gpt model enum update or override `(PR #3380)`
-- Web: Make CTA for workspaces correctly reload page for marketing content `(PR #3341)`
-- Fix path to pt to updated `useObservables` family of hooks `(PR #3322)`
-- Removing DeepSeek V3 model `(PR #3309)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Workspaces: Never show wallet payments `(PR #3304)`
-- Sg: Extend the mise check to early-exit if env var is set `(PR #3302)`
-- Refactor(cody-gateway) Remove support for OpenAI o1-mini model (CODY-4839) `(PR #3295)`
- - Remove support for OpenAI o1-mini model.
-- Refactor(cody-gateway) Deprecate Gemini 1.5 Flash, Claude 3 Opus, Claude 3 Haiku, and Mixtral 8x7B (CODY-4839) `(PR #3293)`
- - Deprecate Gemini 1.5 Flash, Claude 3 Opus, Claude 3 Haiku, and Mixtral 8x7B
-- Gomod: bump Zoekt after package restructuring `(PR #3271)`
-- Adding O3 mini model to OpenAI `(PR #3254)`
- - Adding O3 mini model to OpenAI `(PR #3254)`
-- Telemetry: add ClientFeature for more granular reporting of search events `(PR #3229)`
-- Search: enable scip-ctags for C `(PR #3215)`
-- Cleanup: simplify search observables and switch to fetch-event-source `(PR #3196)`
-- Completions: improve prometheus metrics for code/chat completions `(PR #3181)`
-- Partially fix erroneous `svelte-check` errors in local dev `(PR #3180)`
-- Adding DeepSeek V3 support through fireworks `(PR #3170)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Lib/marketingtracking: publish module for SAMS to consume `(PR #3169)`
-- Web: Some more user menu polish `(PR #3140)`
-- Remove builtin rules from code review agent `(PR #3086)`
-- Workaround for `sg start minimal-sveltekit` and other "minimal" entrypoints `(PR #3085)`
-- Doc/workspaces: fix link to chargeback playbook `(PR #3076)`
-- Generate TypeScript types and runtime type validators for Agent API `(PR #3055)`
-- Update sg setup for employees `(PR #2990)`
-- Chore(Workspaces) Fix repo size increment from 500mb to 1 gig `(PR #2977)`
-- Feat(agents) Conversations API DB Tables [CODY-4683] `(PR #2964)`
- - Adds `agent_conversations` and `agent_conversation_messages` tables as well as `ConversationStore`
-- Replace o1 preview model with o1 `(PR #2924)`
- - OPTIONAL; info at [https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c](https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c)
-- Feature(codeintel): add syntax highlighting for Svelte `(PR #2690)`
- - Added syntax highlighting for `.svelte` files
-- Mt-router: allow passthrough for instance health check endpoint `(PR #2689)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Fix Gerrit clone URL resolution (#3446) `(PR #3449)`
-- Fix inability to update Gerrit code host config URL (#3361) `(PR #3439)`
- - Fix bug where the URL of a Gerrit code host connection could not be updated.(cherry picked from commit e6da1ceb9586bf109339f06220c1fdbbf570a6d9)
-- Prompt templates editor supports @ current mentions (#3397) `(PR #3436)`
- - Feat: prompt templates editor supports dynamic @ mentionsPR description tips: [https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e](https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e)
-- Roll out new Gemini Models (#3357) `(PR #3412)`
- - Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro ExperimentalCo-authored-by: arafatkatze [arafat.da.khan@gmail.com](mailto:arafat.da.khan@gmail.com)
-(cherry picked from commit 4aa5aa41cc0f5e2be80c77e8e8709e198ff54b94)PR description tips: [https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e](https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e)
-- Backport 3254 to 6.0.x `(PR #3300)`
-- [backport] fix/web: add missing separator under organizations (#3253) `(PR #3282)`
-- Auto-update all packages in Sourcegraph base images `(PR #3237)`
-- [backport] feat/tenant: fix workspace management UI quirks (#3227) `(PR #3230)`
-- [backport] feat/web: Update cloning status to new designs (#2760) `(PR #3158)`
-- Layout finetuning of Creating Workspaces and Tenant Onboarding (#3065) `(PR #3139)`
-Revert "Fix: Buildkite Pipeline generates images with specific cloud tags for S2 deployments" `(PR #2985)`
-Revert "fix: set the tag in the push_all.sh script" `(PR #2989)`
-- Fix: Buildkite Pipeline generates images with specific cloud tags for S2 deployments `(PR #2985)`
- - NA - No customer facing changes
-
-{/* RSS={"version":"v6.1.0", "releasedAt": "2025-02-17"} */}
-
-# 6.0 Patch 2
-
-> Attention - This patch contains security fixes for a know issue in previous 6.0 releases. This issue does not affect
-> 6.1 and later Sourcegraph releases. Customers on previous 6.0 releases are advised to upgrade to the latest version of Sourcegraph.
-> If you are required to continue on 6.0 release series, please upgrade to 6.0 Patch 2.
-
-## v6.0.12741
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.0.12741)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.0.12741)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.0.12741)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.0.12741)
-
-### Features
-
-#### Dev
-
-- Enable gcloud beta `(PR #3490)`
-
-#### Release
-
-- Fix post-release version selection `(PR #4659)`
-
-#### Others
-
-- Update cody web to 0.31.1 to fix issue with pasting linebreaks (#3696) `(PR #3728)`
-- Fix: prompt templates should not fail when pasting linebreaks
-
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.0.x] security/fix: don't print access tokens `(PR #4801)`
-
-{/* RSS={"version":"v6.0.12741", "releasedAt": "2025-04-09"} */}
-
-# 6.0 Patch 1
-
-> Attention - This patch contains a known security issue. This issue does not affect 6.1 and later Sourcegraph releases.
-> Customers on previous this release are advised to upgrade to the latest version of Sourcegraph.
-> If you are required to continue on 6.0 release series, please upgrade to 6.0 Patch 2.
-
-## v6.0.2687
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.0.2687)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.0.2687)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.0.2687)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.0.2687)
-
-### Features
-
-#### Cody-Gateway
-
-- Roll out new Gemini Models (#3357) `(PR #3412)`
- - Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro ExperimentalCo-authored-by: arafatkatze [arafat.da.khan@gmail.com](mailto:arafat.da.khan@gmail.com)
-(cherry picked from commit 4aa5aa41cc0f5e2be80c77e8e8709e198ff54b94)PR description tips: [https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e](https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e)
-
-#### Multitenant
-
-- Add support for alternate default tenant hostname `(PR #3176)`
-
-#### Security
-
-- Create Binary Authorization attestations when promoting images to public `(PR #3478)`
-
-#### Others
-
-- Prompt templates editor supports @ current mentions (#3397) `(PR #3436)`
- - Feat: prompt templates editor supports dynamic @ mentionsPR description tips: [https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e](https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e)
-
-### Fix
-
-#### Multi Tenant
-
-- Fixing paper cuts for mt marketing launch (#3242) `(PR #3281)`
-- Misc wording fixes in workspaces onboarding `(PR #3207)`
-- Fixes welcome message alert `(PR #3174)`
-
-#### Source
-
-- Fix Gerrit clone URL resolution (#3446) `(PR #3449)`
-- Fix inability to update Gerrit code host config URL (#3361) `(PR #3439)`
- - Fix bug where the URL of a Gerrit code host connection could not be updated.(cherry picked from commit e6da1ceb9586bf109339f06220c1fdbbf570a6d9)
-- Normalize code host URLs during code host config unmarsha… `(PR #3438)`
-- Gitserver: Unambiguously identify commit boundaries in git log `(PR #3411)`
- - Commit listing should work correctly for repos which contain arbitrary characters in commit messages. This also affects downstream functionality such as commit graph updates needed for precise code navigation.Backport 2eae8e1 from #3359
-
-### Chore
-
-#### Security
-
-- Auto-update all packages in Sourcegraph base images `(PR #3237)`
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.0.x] gitserver: Fix API endpoint for installation token creation `(PR #3432)`
-- [backport] chore/source: Update src-cli to 6.0.1 (#3365) `(PR #3416)`
- - Update src-cli version to 6.0.1
-- [backport] fix/tenant: fix invitation expiry, user management UX improvements (#3353) `(PR #3356)`
-- [Backport 6.0.x] tenant: Also allow to add fork repos `(PR #3348)`
-- Backport 3254 to 6.0.x `(PR #3300)`
-- [backport] feat/prompts: support public prompts/saved-searches in workspaces using RBAC (#3257) `(PR #3294)`
-- [backport] fix/web: add missing separator under organizations (#3253) `(PR #3282)`
-- [backport] feat/tenant: fix workspace management UI quirks (#3227) `(PR #3230)`
-
-{/* RSS={"version":"v6.0.2687", "releasedAt": "2025-02-12"} */}
-
-
-# 6.0 Patch 0
-
-> Attention - This patch contains a known security issue. This issue does not affect 6.1 and later Sourcegraph releases.
-> Customers on previous this release are advised to upgrade to the latest version of Sourcegraph.
-> If you are required to continue on 6.0 release series, please upgrade to 6.0 Patch 2.
-
-> Attention - Postgres 12 is no longer supported! If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v6.0.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v6.0.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v6.0.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v6.0.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v6.0.0)
-
-### Features
-
-#### Agents
-
-- Make review agent configurable via program files `(PR #2962)`
- - The Review agent now requires the program file `.sourcegraph/review-agent.json` with at least the content `"{}"` to enable posting Pull Requests review through the GitHub App. The JSON file may contain additional configuration options to override defaults of the `ReviewRequestConfiguration` object (see OpenAPI spec)
-
-#### Ci
-
-- Publish images with branch tag on release branch `(PR #3039)`
-- Tag release branch images with branch image tag `(PR #3032)`
-
-#### Cloud
-
-- Add support to collect web vitals metrics to web-svelte `(PR #2735)`
-
-#### Code Intelligence
-
-- Add audit logs for changes to syntactic jobs `(PR #2893)`
-- Highlights json files with tree-sitter `(PR #2469)`
- - Improved highlighting for JSON files
-
-#### Cody
-
-- Improve rendering of diagnostics as GitHub comments `(PR #2954)`
- - The Review Agent now includes the rule ID when posting comments on pull requests. By default, the minimum review severity is errors (previously it was warning). When the minimum severity is overridden to be warnings, then the review comments will also include the severity.
-- Make Review Agent rule detection configurable `(PR #2913)`
- - Configure custom review rules for the Review Agent by adding `*.rule.md` files nested under `.sourcegraph/` directories in any ancestor director of files in the diff.
-- Sourcegraph Agents `(PR #2739)`
- - New `/.api/agents/**` endpoints to manage the creation of Sourcegraph Agents (EAP feature).
- - New support to automatically review GitHub Pull Requests with a Review Agent via GitHub Apps (EAP feature).
-- First stab at a Code Review Agent API `(PR #2568)`
- - New `GET /.api/tools` endpoint to list tool definitions for Sourcegraph API endpoints to use with the LLM /chat/completions endpoint for function calling.
- - New `POST /.api/review/diff` endpoint to get a list of code review comments given a git diff (including GitHub pull requests and Gitlab merge requests).
-
-#### Dev
-
-- Add support to export otel metrics to prom in local dev `(PR #2781)`
-
-#### Dotcom
-
-- Support Svelte workspace switcher in dotcom `(PR #2675)`
-- Enable workspaces-prod proxy `(PR #2664)`
-- Add feature flag to enable React switcher in dotcom POC `(PR #2659)`
-
-#### Msp
-
-- Add client details to MSP audit logs `(PR #2887)`
-- Enable CloudSQL Enterprise Plus with postgresql.highAvailability `(PR #2682)`
-- Upgrade CloudSQL to POSTGRES_16 `(PR #2667)`
-- Support BigQuery table partitioning `(PR #2597)`
-
-#### Multi Tenant
-
-- Enable extension setup step for everyone `(PR #3137)`
-- Add org wasn't added modal UI `(PR #3072)`
-- Add cancel subscription UI `(PR #3044)`
-- Polish join workspace and status pages `(PR #2900)`
-- Support 3ds and redirection-based payment flow for workspace creation `(PR #2865)`
-- Enable the new Sourcegraph branding by default `(PR #2801)`
-- Polish workspace creation flow `(PR #2787)`
-- Prepare common svelte UI for workspaces app `(PR #2734)`
-- Connect repositories management page to API `(PR #2688)`
-- Improve switch tenant UI `(PR #2656)`
-- Add workspace billing settings page `(PR #2600)`
-- Add workspace settings users page `(PR #2504)`
-- Add workspace settings general page `(PR #2503)`
-- Add workspace settings main layout `(PR #2502)`
-
-#### Multi-Tenant/Mt-Router
-
-- Add prod deployment `(PR #2622)`
-
-#### Multitenant
-
-- Add UseRandomExternalAccount code host connection option and use it in MT `(PR #2821)`
-- Disable web app toggle by default on workspaces `(PR #2771)`
-- No pings, no telemetry redaction `(PR #2491)`
-
-#### Rbac
-
-- Add USER_EXTERNAL_ACCOUNTS#READ_ALL_USERS for workspace admin `(PR #2512)`
-
-#### Release
-
-- Address pg12 -> pg16 drift with normalization `(PR #2950)`
- - Normalize drift detection to handle for postgres 12 to 16 upgrade
-
-#### Search
-
-- Code search is homepage for workspaces `(PR #3127)`
-- Add upsell menu items `(PR #3122)`
-- Update production favicon `(PR #2909)`
-- Add omnibox routes `(PR #2797)`
-- Add new main navigation (feature flagged) `(PR #2768)`
-- Use new brand logo to web apps (feature flagged) `(PR #2767)`
-- (new web app) Add download option to file page `(PR #2461)`
-- (new web app) Add padding and messages to end of search results `(PR #2455)`
-
-#### Source
-
-- Multitenant: add "edit" state when editing workspace repositories `(PR #2849)`
-
-#### Telemetry
-
-- Allowlist model metadata on `privateMetadata` `(PR #2832)`
-
-#### Tenant/Billing
-
-- Use EstimateWorkspaceSubscriptionSubtotal in UpdateSeatsModal `(PR #2930)`
-
-#### Tenants/Telemetry
-
-- Report external URL for workspace identifier `(PR #2602)`
-
-#### Web/Tenant
-
-- Update selected repos and repo size with pending state `(PR #2925)`
-
-#### Workspace
-
-- Open up instance url inside of vs code `(PR #2782)`
-- Add billing link to request-to-join template params `(PR #2596)`
-
-#### Workspaces
-
-- Add background goroutine job that emits telemetry about repo count and size `(PR #3130)`
-- Metrics for subscription renewals and debt collection `(PR #2886)`
-- Prevent workspace ID prefix from being used in names `(PR #2841)`
-- Import suspiciousnames to blocklist `(PR #2803)`
-- Add AdministrationService, /internal UI for suspending workspaces `(PR #2786)`
-- Add some plans telemetry `(PR #2783)`
-- Restrict display name length `(PR #2776)`
-- Add suspension states `(PR #2751)`
-- Bypass some workspace name checks with SAMS user metadata `(PR #2733)`
-- Allow configurable sender address `(PR #2729)`
-- Add seat count events `(PR #2665)`
-- State transition log `(PR #2661)`
-- Required email domains `(PR #2614)`
-- Improve wording of name-check errors, add telemetry `(PR #2593)`
-- Initial web and service telemetry `(PR #2522)`
-- Global creation control `(PR #2498)`
-- Status pages for workspace not found and suspended `(PR #2438)`
-- Handle SAMS user deletion `(PR #2384)`
-
-#### Workspaces/Billing
-
-- Counter for stripe API usage `(PR #2855)`
-
-#### Workspaces/Internal
-
-- Support ID lookup `(PR #2839)`
-
-#### Workspaces/Routerreconciler
-
-- Make upsert reconcile incremental `(PR #2848)`
-
-#### Workspaces/Settings
-
-- Add workspace ID to sidebar `(PR #2728)`
-
-#### Workspaces/Web
-
-- Add telemetry events for workspace plans `(PR #2840)`
-- Set title to Sourcegraph Workspaces `(PR #2834)`
-
-#### Others
-
-- Add CTA for agents API `(PR #2799)`
-- Prompt templates now support specific @ mentions `(PR #2793)`
- - Feat: prompt templates now support specific @ mentions
-- Propagate bestScoringLine and use that to center chunks in the search UI `(PR #2683)`
- - For broad matches, we now center the best-scoring line in search results
-- Add tools support to LLM API (aka. function calling) `(PR #2537)`
- - The `/.api/llm/chat/completions` endpoint now support function calling via the `tools` property. This feature works when using the LLM providers: OpenAI, Anthropic, Fireworks, AWS Bedrock, and Gemini.
-- Add ability to boost user-relevant repos for `patterntype:nls` `(PR #2489)`
-
-### Fix
-
-#### Actor
-
-- Better preserve anonymous user ID for telemetry `(PR #2546)`
-
-#### Agents
-
-- Remove leftover printf statement `(PR #3079)`
- - Backport 9639850855bb169f7dee4fbcff869c77c17f9328 from #3007
-- Fix bug in AgentStore.ListByWebhookID and LLMChatClient `(PR #3054)`
- - Fixed bug in Review Agent where it didn't post review comments even
-for small diffs
-Backport 4710b59 from #3019
-
-#### Auth
-
-- Improve session expiration behavior `(PR #2765)`
- - We are changing the behavior of session expiration to be a hard-cap instead of a rolling window.
-`auth.sessionExpiry` will now set a hard-limit on the sessions lifetime, and users will have to re-authenticate after this period.
-To preserve the previous behavior where sessions would be invalidated after they haven't been used for a while, a new configuration option named `auth.maxSessionIdleDuration` has been introduced that controls session expiration based on inactivity.
-- Don't expire sessions based on OAuth token validity `(PR #2761)`
- - Fixed an issue where Sourcegraph user sessions initiated via OAuth integrations did not respect the `auth.sessionExpiry` configuration and expired much earlier.
-
-#### Ci
-
-- Include push version tag to private registry `(PR #3074)`
-- Add handling for unbound variable in push_all.sh `(PR #3036)`
-
-#### Cloud
-
-- Add explicit bucket to lcp metrics `(PR #2846)`
-- Typo in metric attrs name `(PR #2804)`
-
-#### Code Intelligence
-
-- Better cleanup in syntactic indexing worker `(PR #3156)`
-- Don't create unscoped Logger `(PR #2945)`
-- Overwrite old->new commit for syntactic indexing jobs `(PR #2764)`
-- Handle missing committer date in policy code `(PR #2696)`
-- Add DB constraints for syntactic jobs+policies `(PR #2566)`
- - In the site admin configuration for code graph policies, restricts the creation of policies for syntactic indexing to HEAD-only. This restriction may be lifted in the future. Policies for precise auto-indexing are not affected.
-- Enforce auth conditions in repo scheduling `(PR #2549)`
-
-#### Cody
-
-- Add billing metadata to prompt library events `(PR #3116)`
-- Make public OpenAPI docs work again `(PR #3081)`
- - Backport dc8deea005067145855b03a3344675386bc75be7 from #3078
-- Minor fixes `(PR #2916)`
-
-#### Cody-Gateway
-
-- Fail-open Enterprise subscription sync `(PR #2775)`
-
-#### Dev
-
-- Fix transitive use of global counters in tests `(PR #2905)`
-
-#### Dev/Svelte
-
-- Send all 'default.' requests to server `(PR #2923)`
-
-#### Dotcom
-
-- Tweaks for dotcom-mode workspace switcher `(PR #2684)`
-
-#### Gitserver
-
-- Return error on no merge base `(PR #2790)`
-
-#### Goroutine
-
-- Do not redact stacktrace `(PR #2571)`
-
-#### Intent
-
-- Remove heuristic for marking one-term queries as searches `(PR #2580)`
-
-#### Multi Tenant
-
-- Fixes welcome message alert `(PR #3174)`
-- Fix flashes and incorrect free up seat mutation in user management `(PR #3058)`
-- Add support for workspace vscode sign up flow `(PR #2942)`
-- Force to keep only one dropdown menu visible `(PR #2903)`
-- Fix small paper cuts in workspace-creation flow `(PR #2809)`
-- Fix Safari 16.6 billing layout (sub-grids rows) `(PR #2721)`
-- Add a better error handling for workspace settings pages `(PR #2707)`
-- Fix post workspace delete redirection `(PR #2698)`
-- Fix user management reduce seats case `(PR #2647)`
-- Fixes update seats modal max count validation `(PR #2616)`
-- Fixes general setting page re-submitting problem `(PR #2548)`
-
-#### Multitenant
-
-- Public repositories should no longer be duplicatable `(PR #2828)`
-- Only evaluate newly added repositories `(PR #2701)`
-- Add telemetry for when repositories are added or removed `(PR #2346)`
- - N/A
-- Add telemetry event for when onboarding repository checks fail `(PR #2337)`
- - N/A
-
-#### Navbar
-
-- Add divider after orgs `(PR #2921)`
-
-#### Observability
-
-- Align Cody completions metrics queries with chart names in Grafana `(PR #2476)`
-
-#### Release
-
-- Add handling of cp failure for postgres conf `(PR #3113)`
- - Fix(rel): add handling for permissions errors when handling custom Postgres configurations in database containers.Backport 67bddb2 from #3041
-
-#### Search
-
-- Fix brand logo and colors `(PR #3120)`
-- Do not show code search menu item when code search is disabled `(PR #3118)`
-- (new web ui) Add search upsell page `(PR #2979)`
-- Update breadcrumbs integration test `(PR #2960)`
-- Cody marketing page redirect on dotcom `(PR #2952)`
-- Update response dashboards to use streaming search `(PR #2932)`
-- Insights: fix mouse click cursor behavior when creating new insight `(PR #2851)`
-- Accept escaped characters in `content` filters `(PR #2807)`
-- Fix repo-rev (button-group) ui `(PR #2806)`
-- Add response telemetry for streaming search `(PR #2784)`
-- VSCode Search extension - Auth panel not loading when filesystem is case sensitive `(PR #2713)`
- - Fixes `404 errors when trying to load "authSidebar.js"` when the Code Search VS Code extension is used with the VSCode Remote SSH extension
-- Remove alert suggesting structural search `(PR #2615)`
-- (new web ui) Open files in new tab when clicked on with ctrl/cmd `(PR #2557)`
-- Add missing return in SearchQuery.RepositoryRevSpecs `(PR #2521)`
-- (new web app) Redirect /cody to /cody/chat `(PR #2475)`
-- (new web app) Set correct fuzzy finder request headers `(PR #2449)`
-- (new web app) Respect notices settings `(PR #2417)`
-
-#### Source
-
-- Check if user can access installations for public repositories `(PR #2963)`
-- Change ListSelectedRepositories to filter for the random external account connection `(PR #2911)`
-- Fix UseRandomExternalAccount connection check `(PR #2904)`
-- Multitenant: fix nil panic in ListSelectedRepositories multitenant endpoint `(PR #2844)`
-- Do not create a connection with no repositories `(PR #2395)`
-
-#### Telemetry
-
-- Uniformly apply marketingtracking, clean up deprecated values `(PR #2601)`
-
-#### Telemetry/Teestore
-
-- Do not write to store concurrently in tx `(PR #2888)`
-
-#### Telemetrygatewayexporter
-
-- Support export target without a port `(PR #2745)`
-
-#### Tenant
-
-- Disable workspaces for SOAP users `(PR #2490)`
-
-#### Tenant/Reconciler
-
-- Use nil-safe field getter when applying feature flags `(PR #2408)`
-
-#### Tenant/Settings
-
-- Fix workspace display name update `(PR #2705)`
-
-#### Tenant/Users
-
-- Only spin on specific action `(PR #2971)`
-
-#### Tenants/Web
-
-- Magic redirect to sign-out -> sign-in if Workspaces requests return Code.Unauthenticated `(PR #2421)`
-
-#### Ui
-
-- Update error page when GitHub account is not yet connected `(PR #3059)`
-- Disable adding more MT repositories while repositories are being saved `(PR #3010)`
-- Set sideEffects path in client/ui to correct `init.ts` path `(PR #2773)`
-
-#### Workspaces
-
-- Dynamic logout link `(PR #2854)`
-- Catch panics in connectrpc handlers `(PR #2837)`
-- Remove trace ID from block result `(PR #2831)`
-- Include all workspaces in name availability check `(PR #2794)`
-- Check for user metadata if 'sourcegraph.com' is a required email domain `(PR #2654)`
-- Ignore missing subscription when pruning invitations, rename ReconcileConsumedSeats `(PR #2650)`
-- Improve UX when email domain is not allowed `(PR #2618)`
-- Error indicates name must be lowercase `(PR #2599)`
-- Rename URL fields to URI per AIP `(PR #2595)`
-- Prevent panic in billing renewer `(PR #2570)`
-- Address seat count problems `(PR #2482)`
-
-#### Workspaces/Billing
-
-- No-op SubscriptionUpdater returns ErrNoSubscriptionUpdateRequired `(PR #2572)`
-
-#### Workspaces/Blocklists
-
-- Relax restrictions around generic terms `(PR #2712)`
-
-#### Workspaces/Dev
-
-- Do not use wrangler with concurrency `(PR #2730)`
-
-#### Workspaces/Settings
-
-- Remove workspace ID on collapse `(PR #2742)`
-
-#### Others
-
-- Respect errors from sql row iterations `(PR #2948)`
-- Std upgradetest with pv set doesn't go beyond targetVersion `(PR #2928)`
- - NA
-- Add missing error assignment `(PR #2864)`
-- Tweak relevant repos heuristic `(PR #2655)`
-- Extract runner config into env vars `(PR #2637)`
-- Don't show current prompt in suggested area `(PR #2582)`
- - Fix: don't show current prompt in suggestions
-- Always saturate the limit when boosting `(PR #2479)`
-- Add context to intent call `(PR #2432)`
-
-### Chore
-
-#### Ci
-
-- Add new search team members to teams.yml `(PR #2724)`
-
-#### Code Intelligence
-
-- Log connection stats on cancellation for precise queries `(PR #3003)`
-- Remove duplicate IndexEnqueuer interfaces `(PR #2944)`
-- Remove spurious "=" in site admin UI for editing policies `(PR #2902)`
-- Syntactic policies UI restrict to HEAD `(PR #2774)`
-- Introduce experimental olly package with helper functions `(PR #2753)`
-- Fix flaky test in syntactic indexing store_test `(PR #2722)`
-- Document quirks in various pattern syntaxes `(PR #2687)`
-- Use collections.SliceMultiMap in policies API `(PR #2565)`
-- Enqueue syntactic jobs in a single query `(PR #2555)`
-- Remove reposcheduler.Store interface `(PR #2551)`
-- Move unwrap function to check package `(PR #2540)`
-- Add test for precise usagesForSymbol `(PR #2535)`
-- Add doc comment about precondition `(PR #2534)`
-- Add fast path for commit checking `(PR #2532)`
-- Bump scip dependency `(PR #2531)`
-- Fix wrong napkin math in comment `(PR #2528)`
-- Avoid panic on missing committer date `(PR #2527)`
-- Avoid panic on nil metadata `(PR #2526)`
-- Rename & move codenav.PinnedIndexCommits -> codegraph.PinnedUploadKey `(PR #2454)`
-
-#### Cody
-
-- Use same buckets for completions latency metrics `(PR #2746)`
-- Remove codypcw's buf.gen.yaml `(PR #2673)`
-- Create proper interface for CompletionsHandler [CODY-4619] `(PR #2623)`
-- Measure completions overhead by feature `(PR #2533)`
-- Measure sg instance to cody gw network latency `(PR #2501)`
-- Refactor completions handler latency metrics `(PR #2496)`
-- Measure completions handler overhead `(PR #2478)`
-- Add upstream request tracing for completions `(PR #2429)`
-- Remove test domain `(PR #2400)`
-
-#### Dev
-
-- Cap number of connections more explicitly `(PR #3001)`
-- Document purpose of onconflict linter `(PR #2882)`
-- Avoid horizontal scaling for syntactic enqueuer `(PR #2813)`
-- Clarify docs for redispool.Store & NewPeriodicGoroutine `(PR #2812)`
-- Fix flaky ordering in test `(PR #2811)`
-- Add env var to disable assertions `(PR #2810)`
-- Add columns to track which policy created an auto-indexing job `(PR #2788)`
-- Introduce String() method on api.CommitID `(PR #2757)`
-- Replace Id -> ID in internal/codeintel `(PR #2755)`
-- Fix typo in function name `(PR #2693)`
-- Add helper function for printing error trees `(PR #2692)`
-- Improve doc comment for REDMetrics `(PR #2635)`
-- Remove unused field in REDMetrics `(PR #2634)`
-- Use clearer names & comments in Rockskip `(PR #2624)`
-- Rename db -> codeIntelDB in Rockskip for clarity `(PR #2606)`
-- Refactor Rockskip service config to dedicated type `(PR #2605)`
-- Move codeintel/core.Option to lib/core `(PR #2578)`
-- Add collections.SliceMultiMap type `(PR #2564)`
-- Add collections.SetMultiMap type `(PR #2556)`
-- Migrate other directories from require.NoError to check.MustNoError `(PR #2554)`
-- Migrate internal/ from require.NoError to check.MustNoError `(PR #2553)`
-- Migrate cmd/ from require.NoError to check.MustNoError `(PR #2552)`
-- Filter out archived and forked repos in reposcheduler `(PR #2550)`
- - Auto-indexing is disabled for forks and archived repositories. This is currently not configurable.
-- Migrate cmd/ from require.Equal to check.MustEqual `(PR #2541)`
-- Minor enhancements to check package `(PR #2530)`
-- Introduce generic collections.Stack type `(PR #2511)`
-- Move iterext package to lib/ `(PR #2510)`
-- Move collections package to lib/ `(PR #2509)`
-- Move rapidext package to lib/ `(PR #2508)`
-- Introduce types for limiting reads `(PR #2470)`
-- Replace ioutil -> io due to deprecation `(PR #2465)`
-- Generalize bytesize package to handle more units `(PR #2464)`
-- Update prettier ignore file for Svelte app `(PR #2416)`
-
-#### Msp
-
-- Upgrade ConnectRPC `(PR #2710)`
-- Upgrade MSP cloud.google.com/go dependencies `(PR #2709)`
-- Upgrade TF providers, remove nobl9 `(PR #2681)`
-
-#### Search
-
-- Migrate Button component to Svelte 5 `(PR #2868)`
-- Upgrade to SvelteKit v2.16.0 and Svelte v5.19.0 `(PR #2867)`
-- (new web ui) Run `pnpm format` `(PR #2850)`
-- Vsce: patch release v2.2.20 `(PR #2748)`
-- Add changelog entry for PR 2713 `(PR #2747)`
-- (new web ui) Update to Svelte 5.16.2 `(PR #2590)`
-- (new web app) Update svelte and kit to latest versions `(PR #2567)`
-
-#### Security
-
-- Auto-update all packages in Sourcegraph base images `(PR #2500)`
-- Auto-update all packages in Sourcegraph base images `(PR #2360)`
-
-#### Workspaces
-
-- Fix url/text for user menu workspace link `(PR #2843)`
-- Style fixes on Workspace Settings, General Settings and User settings `(PR #2798)`
-- Refactor name-checking to helper `(PR #2726)`
-- Add some improved API docstrings `(PR #2708)`
-- Enable MSP rollouts `(PR #2619)`
-- Rename 'loginservice' to 'xdomainloginservice' `(PR #2544)`
-- Move SPA handler to 'spaservice' subpackage `(PR #2543)`
-- Update workspace repo size limit `(PR #2480)`
-
-#### Others
-
-- Layout finetuning of Creating Workspaces and Tenant Onboarding (#3065) `(PR #3139)`
-- Polish buy seats modal `(PR #2917)`
-- Remove intent heuristic `(PR #2791)`
-- Delete unused DeleteOrg code `(PR #2585)`
-- Replace NewBuffer([]byte("str")) -> NewBufferString("str") `(PR #2466)`
-- Make error message actionable for invalid date format `(PR #2401)`
-
-### Test
-
-#### Tenant/Reconciler
-
-- E2E QA sanity checks on reconciler `(PR #2460)`
-
-### Refactor
-
-#### Dev
-
-- Cleanup and fix new web app build process `(PR #2474)`
-
-### Reverts
-
-- Revert sentry, opsgenie, fix deprecation notice `(PR #-1)`
-- Revert "fix/batch: use latest ubuntu LTS in hello world template (#28… `(PR #28)`
-- Revert "fix: set the tag in the push_all.sh script" `(PR #2989)`
-
-### Uncategorized
-
-#### Others
-
-- [Backport 6.0.x] Update Cody Web v0.29.0 `(PR #3162)`
-- [backport] feat/web: Update cloning status to new designs (#2760) `(PR #3158)`
-- [Backport 6.0.x] onboarding: add input field to selected repo List `(PR #3154)`
-- Backport 3148 to 6.0.x `(PR #3151)`
-- [Backport 6.0.x] repoupdater: Don't grow backoff bigger than int32 `(PR #3135)`
-- [Backport 6.0.x] workspace settings: mention query in info message `(PR #3112)`
-- [Backport 6.0.x] fix(agents): use plural naming convention for API endpoints `(PR #3080)`
- - Renamed REST API endpoints to consistently use plural names in `/.api/review**` and `/.api/tool`. For example, `GET /.api/reviews/diagnostics/ID` instead of `GET /.api/review/diagnostic`. See OpenAPI spec for updated paths. Backport 864c824e184a7dc84df694797c5603883d72ccf1 from #3028
-- BACKPORT - Revert "feat: add CTA for agents API (#2799)" `(PR #3048)`
-- [Backport 6.0.x] Changes naming "Open" to "Unused" seats `(PR #3029)`
-- Omnibox: route likely code generation commands to Chat `(PR #2969)`
-- Update Cody Web v0.27.0 `(PR #2968)`
-- Update Cody Web v0.26.0 `(PR #2966)`
-- Update Cody Web v0.25.0 `(PR #2959)`
-- Auth: Fixup check for canSignOut `(PR #2958)`
-- Omnibox: hard boost current repo and relevant repos `(PR #2943)`
-- Allowlist `language` on `cody-autoedit` `(PR #2941)`
-- Tenant(web): Don't advertise upcoming code host support `(PR #2940)`
-- Web: Fix page header for create workspace page `(PR #2939)`
-- Web: Fix currency localization `(PR #2938)`
-- Tenant: Only set feature flags required for the launch `(PR #2937)`
-- Tenant: Add structured log message about missing tenant to alert on `(PR #2935)`
-- Omnibox: disable intent detection when CG is unavailable `(PR #2934)`
-- Update Cody Web to 0.24.0 `(PR #2920)`
- - Update Cody to 0.24.0
-- Bug: Adds a link to stripe portal on the Last Payment Failed warning `(PR #2919)`
-- Sg: make `.tool-versions` parsing better and silence mise `(PR #2918)`
-- Tenant: Set cody gateway rate limits `(PR #2915)`
-- Adds style to pending invited users `(PR #2898)`
- - Adds style to pending invited users `(PR #2898)`
-- Tenant: Add back without cancel for dormancy check `(PR #2883)`
-- Tenant(repos): Expose mirrorInfo for repos for all repos to admins `(PR #2876)`
-- Web: Prevent access to workspace setup and settings for non-admins `(PR #2874)`
-- Accessrequest: Don't allow access requests for authenticated users `(PR #2873)`
-- Auth: Don't repeat code for mocked providers `(PR #2872)`
-- Auth: Code cleanup `(PR #2862)`
-- Web: Fix click target for delete workspace button `(PR #2861)`
-- Session: Remove sign-out cookie `(PR #2860)`
-- Session: Don't invalidate every active user session on sign out `(PR #2859)`
-- Tenant: Don't special case user account in onboarding `(PR #2847)`
-- Tenant: Enable agentic feature flags `(PR #2830)`
-- Web: Use new logo in more places `(PR #2823)`
-- Workspaces: Update favicon `(PR #2819)`
-- [CODY-4627] Agent Review Tables take 3 `(PR #2815)`
- - Adds implementations for `GET .api/agents/review/{review_id}`, `GET .api/agents/review/diagnostic/{diagnostic_id}/`, and `POST .api/agents/review/diagnostic/{diagnostic_id}/feedback`
-- Web: Temporarily restore logo but break Safari dark mode logo `(PR #2808)`
-- Gomod: bump Zoekt for BM25 line scoring `(PR #2780)`
-- Disable streaming in LLM API if not explicitly enabled `(PR #2778)`
- - `./api/llm/chat/completions` only streams response if `"stream": true` is passed in the request body
-- Workspaces: Apply correct repo size limit `(PR #2772)`
-- Added more clarity around workspace deletion `(PR #2769)`
-- Workspaces: Add back org namespace to list of selected repos `(PR #2737)`
-- Security/fix: always return absolute URLs `(PR #2727)`
-- Order by NULLS LAST when sorting repositories in GQL API `(PR #2725)`
-- Tenant: Set dormancy threshold to 1 week `(PR #2723)`
-- Remove clustering dev script `(PR #2720)`
-- Web: Port new user menu to react `(PR #2718)`
-- Globalstate: Simplify store and reduce writes `(PR #2717)`
-- Only `UPDATE global_state` to set initialized if not initialized `(PR #2716)`
-- Globalstate: Don't update row on every call `(PR #2715)`
-- Skip pre-exit hook on aspect-default queue `(PR #2694)`
-- Web: More alignment of nav dropdown with designs `(PR #2691)`
-- Tenant: Small improvements to MT app `(PR #2680)`
-- Update Cody Web v0.22.0 `(PR #2678)`
-- NLS: support quoted phrases `(PR #2677)`
-- Workspaces: Consolidate web config and add web URL `(PR #2670)`
-- Auth: Fixup some auth redirections `(PR #2668)`
-- NLS: simplify query parsing logic `(PR #2662)`
-- Cmd/cloud-ops-interview: init service `(PR #2658)`
-- Gomod: bump Zoekt for 'best line match' feature `(PR #2653)`
-- Auth: Don't allow CreatePassword when builtin auth is off `(PR #2644)`
-- Tenant(githubapp): Expose Sourcegraph repo on resolver list `(PR #2641)`
-- Change model to beta `(PR #2639)`
-- Gating: Allow cloud init for workspaces instance `(PR #2638)`
-- NLS: disable stemming `(PR #2620)`
-- Tenant: Enable autoedits in every tenant on creation `(PR #2607)`
-- NLS: always rank literal matches first `(PR #2598)`
-- Repo: Allow to get totalCount for repositories as non-admin `(PR #2591)`
-- Auth: Make sign out more explicit and clean up normalization `(PR #2589)`
-- Auth: Clarify integration points and middlewares `(PR #2588)`
-- Auth: Consolidate auth provider redirects `(PR #2587)`
-- Httpapi Cleanup handler creation `(PR #2586)`
-- Auth: Slightly clean up auth code `(PR #2584)`
-- Conf: Use sourcegraph controlled default domain `(PR #2583)`
-- Restrict auto-edits model to only pro users `(PR #2579)`
-- NLS: avoid tokenizing filenames `(PR #2576)`
-- NLS: simplify find symbol heuristic `(PR #2561)`
-- Respect `count:` for nls search `(PR #2560)`
-- Logging: Fix incorrect use of logger `(PR #2525)`
-- Change the deployment id for autoedits model `(PR #2507)`
-- Sg: add support to retrieve a sams idp client `(PR #2497)`
-- Frontend: Reduce amount of dependencies passed around `(PR #2450)`
-- Tenant: Mark tenant as seen even if request is cancelled `(PR #2441)`
-- Tenant: Add intent detection FF for new hosts `(PR #2437)`
-- Ci: Execute backcompat tests as PG16 `(PR #2427)`
-- Tenant: Allow to add 100 repos to the GitHub App `(PR #2426)`
-- Tenant: Allow to add more than 30 repos to the GitHub App `(PR #2425)`
-- Bitbucketcloud: Fix repo perms syncing for inherited permissions and groups `(PR #2398)`
- - Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
-- Dotcom, workspaces: propagate 'plg' namespace metadata as feature flags `(PR #2382)`
-- Gating: Consolidate License and Subscription resolvers `(PR #2359)`
-- Gating: Move repo size and count constraints into provider `(PR #2356)`
-- Gating: Implement more parts of workspaces gating `(PR #2355)`
-- Gating: Enable workspaces gating provider `(PR #2307)`
-- Gating: Add GrantDisplayName to Provider `(PR #2306)`
-- Gating: Add provider specific background routines `(PR #2305)`
-- Gating: Move TelemetryExportMode and AccessTokenInstanceIdentifier into Provider `(PR #2304)`
-- Gating: Reduce number of references to global gating provider `(PR #2301)`
-- Gating: Remove license mocks `(PR #2300)`
-- Gating: Move license expiration checks fully into CheckGrant `(PR #2299)`
-- Gating: Remove unused fields from ProductLicenseInfo `(PR #2297)`
-- Gating: Remove unused redundant licenseinfo resolver `(PR #2296)`
-- Gating: Unexport Plan and check for all license keys `(PR #2295)`
-- Gating: Add MaximumUserCount to provider interface `(PR #2294)`
-- Gating: Implement TrueUp feature `(PR #2293)`
-- Gating: Remove IsFreePlan `(PR #2210)`
-- Redis: Clarify store requirements and improve test setup `(PR #2020)`
-- Repo: Expose repository settings page as read-only to non-admins `(PR #1897)`
-- Authz: Craft authz provider factory and pass around explicitly `(PR #1893)`
-- Repoupdater: Remove in memory scheduler `(PR #1473)`
-- Tenant: Mark all views as security_invoker `(PR #744)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Log connection stats on cancellation for precise queries `(PR #3002)`
-- Cap number of connections more explicitly `(PR #2999)`
-- Auto-update all packages in Sourcegraph base images (5.11.x) `(PR #2494)`
-- [Backport 5.11.x] bitbucketcloud: Fix repo perms syncing for inherited permissions and groups `(PR #2399)`
- - Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
-
-{/* RSS={"version":"v6.0.0", "releasedAt": "2025-01-29"} */}
-
-
-# 5.11 Patch 5
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.6271
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.6271)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.6271)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.6271)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.6271)
-
-### Chore
-
-#### Code Intelligence
-
-- Log connection stats on cancellation for precise queries `(PR #3002)`
-
-#### Dev
-
-- Cap number of connections more explicitly `(PR #2999)`
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v5.11.6271", "releasedAt": "2025-01-23"} */}
-
-
-# 5.11 Patch 4
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.5234
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.5234)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.5234)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.5234)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.5234)
-
-### Features
-
-#### Perforce
-
-- Use depot name for label cache `(PR #2805)`
-
-### Fix
-
-#### Source
-
-- Possible Perforce changelists are now converted to their respective git commit during ResolveRevision `(PR #2825)`
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Manual Backport]: update shellcheck to 0.10.0 `(PR #2838)`
- - NA
-
-{/* RSS={"version":"v5.11.5234", "releasedAt": "2025-01-17"} */}
-
-
-# 5.11 Patch 3
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.4013
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.4013)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.4013)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.4013)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.4013)
-
-### Features
-
-#### Security
-
-- Sign release images `(PR #2703)`
- - Publish signatures for release containers. Backport c11764be4adb377521e4067c4852953d7c434e24 from #2697
-
-#### Others
-
-- Allow single container server to run postgresql-16 `(PR #2714)`
- - Server: runs postgresql from /var/run/postgresql instead of /run/postgresql
- Backport 36c78cdf596e1b22079512931fa526346c2ec821 from #2711
-
-### Fix
-
-#### Release
-
-- Recover from unclean database shutdowns in pgsql entrypoint `(PR #2706)`
- - Fix(rel): fix issue with Postgres docker container failing upgrades after an unclean database shutdown.
- Backport ca5185ce2528b67e1ce6bcb5170f96d3699e11e0 from #2660
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.11.x] fix(Bitbucket Cloud): Fix pagination logic for bitbucket cloud permissions `(PR #2700)`
- - Fixed an issue where Bitbucket Cloud permission syncs could produce incomplete results, resulting in lacking permissions. Backport 389661481f0f0a2385ef4f78f4113ab6ba14f4d5 from #2699
-
-{/* RSS={"version":"v5.11.4013", "releasedAt": "2025-01-11"} */}
-
-
-# 5.11 Patch 2
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.3601
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.3601)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.3601)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.3601)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.3601)
-
-### Features
-
-#### Code Intelligence
-
-- Make syntactic indexing write partial index to disk already GZIP compressed `(PR #2646)`
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v5.11.3601", "releasedAt": "2025-01-08"} */}
-
-
-# 5.11 Patch 1
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.2732
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.2732)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.2732)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.2732)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.2732)
-
-### Fix
-
-#### Search
-
-- Propagate disk space to NewFirecrackerWorkspace `(PR #2574)`
- - Addresses errors similar to: `failed to prepare workspace: failed to create ext4 filesystem in backing file: "mke2fs 1.45.5 (07-Jan-2020)\nThe file losetup: /var/lib/firecracker/loop-devices/workspace-loop-47749-3763347387: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools.\n/dev/loop13 does not exist and no size was specified.\n": exit status 1`
- - Affects reading and using the environment variable `EXECUTOR_FIRECRACKER_DISK_SPACE` Backport 22db2a97a0393cdd233a92da7ade96cd59bb99ef from #2562
-
-### Chore
-
-#### Security
-
-- Auto-update all packages in Sourcegraph base images (5.11.x) `(PR #2494)`
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v5.11.2732", "releasedAt": "2025-01-03"} */}
-
-
-# 5.11 Patch 0
-
-> Attention - If upgrading from Sourcegraph version 5.9 or earlier, this release will update our included database container images from Postgres 12 to Postgres 16.
-> Customers are advised to have a database backup before upgrading. See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice for more information.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.11.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.0)
-
-### Features
-
-#### Ci
-
-- Add bazel mod tidy to ci steps [#1661](https://github.com/sourcegraph/sourcegraph/pull/1661)
-
-#### Cloud
-
-- Add tag field to mt config [#2035](https://github.com/sourcegraph/sourcegraph/pull/2035)
-
-#### Code Intelligence
-
-- Pass limits to scip-syntax and collect summary from it [#2058](https://github.com/sourcegraph/sourcegraph/pull/2058)
-- Configurable time and size limits for scip-syntax [#1947](https://github.com/sourcegraph/sourcegraph/pull/1947)
- - Adds configurable limits for file size and parsing time for syntactic indexing
-
-#### Cody
-
-- Update cody web to 0.20.0 [#2396](https://github.com/sourcegraph/sourcegraph/pull/2396)
-- Update cody-web to 0.18.0 [#2365](https://github.com/sourcegraph/sourcegraph/pull/2365)
-- Add autoedits models to models.json [#1873](https://github.com/sourcegraph/sourcegraph/pull/1873)
-- Add `UserShouldUseEnterprise` to `/.api/client-config` (PRIME-596) [#1872](https://github.com/sourcegraph/sourcegraph/pull/1872)
-
-#### Cody-Gateway
-
-- Add Gemini 2.0 Flash experimental model [#2309](https://github.com/sourcegraph/sourcegraph/pull/2309)
-
-#### Codygateway
-
-- Expand flagging to workspaces actors [#2290](https://github.com/sourcegraph/sourcegraph/pull/2290)
-- Off-by-default workspaces actor source [#1941](https://github.com/sourcegraph/sourcegraph/pull/1941)
-
-#### Database
-
-- Support drift detection of policies [#2000](https://github.com/sourcegraph/sourcegraph/pull/2000)
- - Drift detection now detects missing table policies.
-- Include policies in schema md and json [#1999](https://github.com/sourcegraph/sourcegraph/pull/1999)
- - Schema.md and schema.json now include table policies.
-
-#### Dev
-
-- Adding wait option to sg access command [#1930](https://github.com/sourcegraph/sourcegraph/pull/1930)
-
-#### Gateway
-
-- Add v2 endpoint stubs [#1526](https://github.com/sourcegraph/sourcegraph/pull/1526)
-
-#### Gating
-
-- Extract license validity checks to gating.Provider.CheckGrant [#2018](https://github.com/sourcegraph/sourcegraph/pull/2018)
-- Replace licensing.Check with gating.GetGlobalProvider().Check [#2009](https://github.com/sourcegraph/sourcegraph/pull/2009)
-- Allow gating.Provider to be global [#2008](https://github.com/sourcegraph/sourcegraph/pull/2008)
-- Extract into standalone package, stub out CodyGatewayAuthenticator [#2007](https://github.com/sourcegraph/sourcegraph/pull/2007)
-
-#### Graphql
-
-- Multitenant: add repository restriction validation when adding repos [#2017](https://github.com/sourcegraph/sourcegraph/pull/2017)
-
-#### Local
-
-- Use mac/linux keystores to store secrets instead of plain text file on disk [#2001](https://github.com/sourcegraph/sourcegraph/pull/2001)
-- Store entitle token in sg secrets [#1856](https://github.com/sourcegraph/sourcegraph/pull/1856)
-
-#### Memcache
-
-- Add tenancy-friendly LRU memory cache [#1934](https://github.com/sourcegraph/sourcegraph/pull/1934)
-
-#### Msp
-
-- Introduce simple telemetry recorder for managed services [#2146](https://github.com/sourcegraph/sourcegraph/pull/2146)
-
-#### Multi-Tenant
-
-- Add "add repositories" setup flow step [#2112](https://github.com/sourcegraph/sourcegraph/pull/2112)
-- Add first UI implementation of GitHub connect setup page [#1966](https://github.com/sourcegraph/sourcegraph/pull/1966)
-
-#### Multi-Tenant/Workspaces
-
-- Add support to query ws by name in integrations svc [#2321](https://github.com/sourcegraph/sourcegraph/pull/2321)
-
-#### Multitenant
-
-- Set maximum repos size to 500mb [#2027](https://github.com/sourcegraph/sourcegraph/pull/2027)
-
-#### Rbac
-
-- Add separate permission for viewing exported telemetry [#1989](https://github.com/sourcegraph/sourcegraph/pull/1989)
-
-#### Release
-
-- Run `sg cut` in buildkite to automate nightly pipeline test [#2116](https://github.com/sourcegraph/sourcegraph/pull/2116)
- - Release: nightly release pipeline is working
-- Backcompat test use release registry [#1202](https://github.com/sourcegraph/sourcegraph/pull/1202)
-
-#### Search
-
-- Correctly lower repo name regexes [#2209](https://github.com/sourcegraph/sourcegraph/pull/2209)
- - Special uppercase regex tokens are no longer inverted for repository name search. eg `repo:foo\B` correctly interprets `\B` as `not at ASCII word boundary`. Previously it would transform the expression into `repo:foo\b`.
-- Use pattern optimizations for repo ExcludePattern [#2186](https://github.com/sourcegraph/sourcegraph/pull/2186)
- - Searches which exclude repositories are faster on larger instances. We now use the same performance optimizations as repo inclusion.
-
-#### Security
-
-- Add access token ID to audit events [#2034](https://github.com/sourcegraph/sourcegraph/pull/2034)
-
-#### Sg
-
-- Add 'sg user metadata' commands [#2261](https://github.com/sourcegraph/sourcegraph/pull/2261)
-
-#### Source
-
-- MT GitHub App connections now use generic App connection [#2338](https://github.com/sourcegraph/sourcegraph/pull/2338)
-- Add App-level GitHub App code host connections [#2127](https://github.com/sourcegraph/sourcegraph/pull/2127)
- - Sourcegraph now supports App-level GitHub App connections that aren't tied to a specific Installation ID.
-- Add maxDeletions option to code host connections [#2003](https://github.com/sourcegraph/sourcegraph/pull/2003)
-
-#### Telemetry
-
-- Include SAMS user ID if monolithsams is configured [#1936](https://github.com/sourcegraph/sourcegraph/pull/1936)
-- Propagate x-requested-with headers to request client… [#1775](https://github.com/sourcegraph/sourcegraph/pull/1775)
-
-#### Workspaces
-
-- Add metric to count number of unseen instances [#2303](https://github.com/sourcegraph/sourcegraph/pull/2303)
-- Report instances and workspaces status [#2262](https://github.com/sourcegraph/sourcegraph/pull/2262)
-- Add features to workspace results [#2171](https://github.com/sourcegraph/sourcegraph/pull/2171)
-
-#### Others
-
-- Extend prompt tags with pagination and increased limit [#2344](https://github.com/sourcegraph/sourcegraph/pull/2344)
- - Feat: extend prompt tags with pagination and increased limit
-- Editing tags on prompts [#2278](https://github.com/sourcegraph/sourcegraph/pull/2278)
- - Feat: editing tags on prompts
-- (multi-tenant): add invite users and final setup step [#2211](https://github.com/sourcegraph/sourcegraph/pull/2211)
-- Management page prompt categories [#2178](https://github.com/sourcegraph/sourcegraph/pull/2178)
- - Feat: management page prompt categories
-- Prompt categories nav for web [#2177](https://github.com/sourcegraph/sourcegraph/pull/2177)
- - Feat: add tags as filter to prompts and their navigation
-- Add prompt labels to the GraphQL API [#2131](https://github.com/sourcegraph/sourcegraph/pull/2131)
- - Feat: add prompt labels to the GraphQL API
-- Call new intent detection model via Gateway [#2113](https://github.com/sourcegraph/sourcegraph/pull/2113)
-- Add CommitsIter to `GitserverClient` [#2080](https://github.com/sourcegraph/sourcegraph/pull/2080)
-- New intent detection API on Gateway [#2016](https://github.com/sourcegraph/sourcegraph/pull/2016)
-- More telemetry for batch changes [#2014](https://github.com/sourcegraph/sourcegraph/pull/2014)
- - Feat(batches): more telemetry events
-- Add support to `patterntype:nls` for `type:code` and `type:text` [#1961](https://github.com/sourcegraph/sourcegraph/pull/1961)
-- Add OR support for text search pattern types [#1915](https://github.com/sourcegraph/sourcegraph/pull/1915)
-- Collect contributor data [#1765](https://github.com/sourcegraph/sourcegraph/pull/1765)
- - Feat: calculate contributor stats
-
-### Fix
-
-#### Code Intelligence
-
-- Reports symbols for TypeScript type aliases [#2339](https://github.com/sourcegraph/sourcegraph/pull/2339)
- - Properly report symbols for TypeScript type aliases
-
-#### Cody
-
-- Update cody web to 0.19.0 [#2376](https://github.com/sourcegraph/sourcegraph/pull/2376)
-- Add cody.notices to json schema [#2373](https://github.com/sourcegraph/sourcegraph/pull/2373)
-- Fix prompt library UI layouts [#2288](https://github.com/sourcegraph/sourcegraph/pull/2288)
-- Fix prompt avatar for generated initials avatar [#2239](https://github.com/sourcegraph/sourcegraph/pull/2239)
-- Switch to Snowball stopwords [#2223](https://github.com/sourcegraph/sourcegraph/pull/2223)
- - Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.
-- Disable reranking for airgapped instances [#2168](https://github.com/sourcegraph/sourcegraph/pull/2168)
- - Fixes a bug in Cody context where airgapped instances would attempt to use the reranker model, which increased the context retrieval latency.
-- Fix prompt creation telemetry [#2057](https://github.com/sourcegraph/sourcegraph/pull/2057)
-
-#### Codyauditlog
-
-- Inline audit log entry for consistency [#2072](https://github.com/sourcegraph/sourcegraph/pull/2072)
-
-#### Codygateway
-
-- Configurable workspace user ban state cache, lower default [#2357](https://github.com/sourcegraph/sourcegraph/pull/2357)
-- Fix listing flagged prompts from workspaces users [#2354](https://github.com/sourcegraph/sourcegraph/pull/2354)
-
-#### Dev
-
-- Fix window context extraction logic for multitenant [#1998](https://github.com/sourcegraph/sourcegraph/pull/1998)
-
-#### Dev/Codygateway
-
-- Partially fix Cody Gateway QA suite [#2005](https://github.com/sourcegraph/sourcegraph/pull/2005)
-
-#### Dev/Msp
-
-- Remove actual interval from error message to fix flakey months [#2031](https://github.com/sourcegraph/sourcegraph/pull/2031)
-
-#### Gateway
-
-- Benchmark: various fixes [#2119](https://github.com/sourcegraph/sourcegraph/pull/2119)
-
-#### Msp
-
-- Fix error message for image tag resolution [#2283](https://github.com/sourcegraph/sourcegraph/pull/2283)
-
-#### Msp/Operationdocs
-
-- Update Entitle request links [#2281](https://github.com/sourcegraph/sourcegraph/pull/2281)
-
-#### Mulitenant
-
-- Add rote tests for repositoryChecker implementations [#2258](https://github.com/sourcegraph/sourcegraph/pull/2258)
- - N/A
-- Add rote test for workspaceGitHubAppAccountResolver [#2257](https://github.com/sourcegraph/sourcegraph/pull/2257)
- - N/A
-- Add test suite for (s *serviceImpl) listRepositoriesSearch [#2255](https://github.com/sourcegraph/sourcegraph/pull/2255)
-- Add test suite for (r *workspaceGitHubAppResolver) ListUserGitHubRepositories [#2199](https://github.com/sourcegraph/sourcegraph/pull/2199)
-
-#### Multitenant
-
-- Enable workspace specific routes only for workspace instance [#2287](https://github.com/sourcegraph/sourcegraph/pull/2287)
-- Add rote tests for workspaceGitHubAppRepositoryResolver [#2259](https://github.com/sourcegraph/sourcegraph/pull/2259)
- - N/A
-- Add test suite for (r *workspaceGitHubAppResolver) ListPublicGitHubRepositories [#2198](https://github.com/sourcegraph/sourcegraph/pull/2198)
- - N/A
-- Graphql: add installation repos test suite [#2174](https://github.com/sourcegraph/sourcegraph/pull/2174)
-
-#### Release
-
-- Fix regressions from 5.10 release process [#2405](https://github.com/sourcegraph/sourcegraph/pull/2405)
- - Refactor and fix bugs in release test<details>
-
-#### Sams
-
-- Fix notification handlers [#1990](https://github.com/sourcegraph/sourcegraph/pull/1990)
-
-#### Search
-
-- Fix small svelte UI paper cuts [#2317](https://github.com/sourcegraph/sourcegraph/pull/2317)
-- Executors: set the user/group on the job spec only if configured. [#2203](https://github.com/sourcegraph/sourcegraph/pull/2203)
- - Also validates `KUBERNETES_RUN_AS_USER` and `KUBERNETES_RUN_AS_GROUP`.
- - Must be integers in the range [0, 2147483647].
-- Fix fuzzy finder layout in Safari 18.1 [#2061](https://github.com/sourcegraph/sourcegraph/pull/2061)
-
-#### Source
-
-- Use GitHub GraphQL client to do repo searches [#2340](https://github.com/sourcegraph/sourcegraph/pull/2340)
-- Decode installationRepos' args.After correctly [#2126](https://github.com/sourcegraph/sourcegraph/pull/2126)
-- Fix layout on repo admin search box [#1960](https://github.com/sourcegraph/sourcegraph/pull/1960)
-
-#### Telemetry
-
-- Include anonymous user ID in externalAuthSignup events [#2074](https://github.com/sourcegraph/sourcegraph/pull/2074)
-
-#### Telemetrygateway
-
-- Update generated bindings [#1939](https://github.com/sourcegraph/sourcegraph/pull/1939)
-
-#### Worker/Sams
-
-- Fix userRolesStrings [#1992](https://github.com/sourcegraph/sourcegraph/pull/1992)
-
-#### Workspaces
-
-- Handle missing class name in instances [#2286](https://github.com/sourcegraph/sourcegraph/pull/2286)
-- Create: improve cancellation handling [#2167](https://github.com/sourcegraph/sourcegraph/pull/2167)
-- CodeUnauthenticated for missing session ID, dont include trace ID in log message [#2032](https://github.com/sourcegraph/sourcegraph/pull/2032)
-
-#### Workspaces/Integrations
-
-- Do not list billing subscriptions if no workspaces [#2233](https://github.com/sourcegraph/sourcegraph/pull/2233)
-
-#### Others
-
-- Set high match limit for NLS [#2352](https://github.com/sourcegraph/sourcegraph/pull/2352)
-- Remove surplus typename [#2265](https://github.com/sourcegraph/sourcegraph/pull/2265)
- - Fix: remove surplus typename
-- Use byte columns for contributors to support non-utf8 characters [#2122](https://github.com/sourcegraph/sourcegraph/pull/2122)
-- Skip revision if not found instead of throwing error [#2121](https://github.com/sourcegraph/sourcegraph/pull/2121)
-- Slow down contributor jobs [#2120](https://github.com/sourcegraph/sourcegraph/pull/2120)
-- Add internal actor to contributor job [#2101](https://github.com/sourcegraph/sourcegraph/pull/2101)
-- Correctly handle overlapping paths in Perforce protection rules [#1745](https://github.com/sourcegraph/sourcegraph/pull/1745)
-
-### Chore
-
-#### Ci
-
-- Enable svelte-check in CI for multi-tenant [#2242](https://github.com/sourcegraph/sourcegraph/pull/2242)
-- Skip license-check workflow on draft prs [#2087](https://github.com/sourcegraph/sourcegraph/pull/2087)
-- Add -x flag to the script [#2029](https://github.com/sourcegraph/sourcegraph/pull/2029)
-- Bazel - Pull static psql as tool dep [#1970](https://github.com/sourcegraph/sourcegraph/pull/1970)
-- Pg-utils - Upload static psql [#1969](https://github.com/sourcegraph/sourcegraph/pull/1969)
-
-#### Cloud
-
-- Switch ephemerals to dev enterprise portal [#2090](https://github.com/sourcegraph/sourcegraph/pull/2090)
-
-#### Code Intelligence
-
-- Remove EMPTY_STATS_JSON object [#2363](https://github.com/sourcegraph/sourcegraph/pull/2363)
-- Fix incorrect error handling [#2316](https://github.com/sourcegraph/sourcegraph/pull/2316)
-- Move cursor last for consistency [#2311](https://github.com/sourcegraph/sourcegraph/pull/2311)
-- Refactor uploadhandler logic for clarity [#2086](https://github.com/sourcegraph/sourcegraph/pull/2086)
-- Update scip version and use faster parsing API [#2085](https://github.com/sourcegraph/sourcegraph/pull/2085)
-- Simplify code to avoid single-implementation interfaces [#2046](https://github.com/sourcegraph/sourcegraph/pull/2046)
-- Fix incorrect test inputs [#2043](https://github.com/sourcegraph/sourcegraph/pull/2043)
-- Simplify SyntacticIndexingJobStore [#2042](https://github.com/sourcegraph/sourcegraph/pull/2042)
-- Remove RepositorySchedulingService [#2041](https://github.com/sourcegraph/sourcegraph/pull/2041)
-- Remove IndexEnqueuer interface with a single implementation [#2040](https://github.com/sourcegraph/sourcegraph/pull/2040)
-
-#### Cody
-
-- Add QA's test domain to the enterprise domain list [#2392](https://github.com/sourcegraph/sourcegraph/pull/2392)
-- Monitor completions latency by feature [#2345](https://github.com/sourcegraph/sourcegraph/pull/2345)
-- Remove retired claude models [#2047](https://github.com/sourcegraph/sourcegraph/pull/2047)
-- Fix typos and minor warnings around Cody Gateway [#2025](https://github.com/sourcegraph/sourcegraph/pull/2025)
-- Migrate code completion model resolution to use models.json [#1980](https://github.com/sourcegraph/sourcegraph/pull/1980)
-- Make LegacyModelRedirects public [#1951](https://github.com/sourcegraph/sourcegraph/pull/1951)
-
-#### Cody-Gateway
-
-- Log model capability mismatch [#2181](https://github.com/sourcegraph/sourcegraph/pull/2181)
-
-#### Dev
-
-- Replace cmp.Diff -> check.(Must)?NoDiff (part 3) [#2154](https://github.com/sourcegraph/sourcegraph/pull/2154)
-- Replace cmp.Diff -> check.(Must)?NoDiff (part 2) [#2151](https://github.com/sourcegraph/sourcegraph/pull/2151)
-- Replace cmp.Diff -> check.(Must)?NoDiff (part 1) [#2150](https://github.com/sourcegraph/sourcegraph/pull/2150)
-- Introduce more type safe testing package [#2049](https://github.com/sourcegraph/sourcegraph/pull/2049)
-
-#### Dotcom
-
-- UI copy, list by instance domain, correctly return invalid argument on update [#1916](https://github.com/sourcegraph/sourcegraph/pull/1916)
-
-#### Gateway
-
-- Fix logged model name format in "not allowed" errors [#2056](https://github.com/sourcegraph/sourcegraph/pull/2056)
-- Don't ignore API version when comparing modelRefs for RateLimit filtering [#2024](https://github.com/sourcegraph/sourcegraph/pull/2024)
-- Use `models.json` in Cody Gateway (PRIME-600, PRIME-612) [#1759](https://github.com/sourcegraph/sourcegraph/pull/1759)
-
-#### Graphqlbackend
-
-- Remove deprecated monitoring queries [#2075](https://github.com/sourcegraph/sourcegraph/pull/2075)
-
-#### Local
-
-- Pg_version_check - Force db to be postgres [#1979](https://github.com/sourcegraph/sourcegraph/pull/1979)
-
-#### Monolithsams
-
-- Migrate to official SAMS SDK [#1987](https://github.com/sourcegraph/sourcegraph/pull/1987)
-
-#### Plg
-
-- Add Cody Pro upgrade script [#1903](https://github.com/sourcegraph/sourcegraph/pull/1903)
-
-#### Sams
-
-- Enable SDK caching for authentication middleware clients [#1988](https://github.com/sourcegraph/sourcegraph/pull/1988)
-
-#### Search
-
-- Upgrade prettier for web-sveltekit [#2221](https://github.com/sourcegraph/sourcegraph/pull/2221)
-- Add private metadata for language on code nav events [#2190](https://github.com/sourcegraph/sourcegraph/pull/2190)
-- (new web ui) Upgrade to Svelte 5 [#2183](https://github.com/sourcegraph/sourcegraph/pull/2183)
-- Update client side code intel telemetry to include provenance and tab [#2142](https://github.com/sourcegraph/sourcegraph/pull/2142)
-
-#### Security
-
-- Pin otel-collector package version [#2452](https://github.com/sourcegraph/sourcegraph/pull/2452)
-- Update src-cli to version 5.11.1 [#2447](https://github.com/sourcegraph/sourcegraph/pull/2447)
- - Update src-cli version to 5.11.1 Backport 2721fd9106eb033afe4cca96164f7ecc5e0b6f88 from #2444
-- Update src-cli to version 5.11.0 [#2366](https://github.com/sourcegraph/sourcegraph/pull/2366)
- - Update src-cli version to 5.11.0
-- Auto-update package lockfiles for Sourcegraph base images [#2302](https://github.com/sourcegraph/sourcegraph/pull/2302)
-
-#### Source
-
-- Use sghttp CloneURL to make a copy of a URL [#2315](https://github.com/sourcegraph/sourcegraph/pull/2315)
-- Simplify oauth middleware [#1946](https://github.com/sourcegraph/sourcegraph/pull/1946)
-
-#### Telemetry
-
-- Remove example values, deprecate SafeAction [#2107](https://github.com/sourcegraph/sourcegraph/pull/2107)
-
-#### Workspace
-
-- Update picker with small changes for current link [#2227](https://github.com/sourcegraph/sourcegraph/pull/2227)
-
-#### Workspaces
-
-- Add seats metadata by listing subscriptions in bulk [#2189](https://github.com/sourcegraph/sourcegraph/pull/2189)
-- Make openfga cancelled errors easier to detect [#2117](https://github.com/sourcegraph/sourcegraph/pull/2117)
-- ListWorkspaces: concurrently fetch membership [#2104](https://github.com/sourcegraph/sourcegraph/pull/2104)
-- Set workspace ID on create span [#2084](https://github.com/sourcegraph/sourcegraph/pull/2084)
-- UX Updates for Workspaces service [#2078](https://github.com/sourcegraph/sourcegraph/pull/2078)
-- Mark emails as transactional [#1984](https://github.com/sourcegraph/sourcegraph/pull/1984)
-- Add tracing on Cloudflare KV ops, improve retry policies [#1957](https://github.com/sourcegraph/sourcegraph/pull/1957)
-
-#### Workspaces/Billing
-
-- Add rehttp on stripe 429 [#2079](https://github.com/sourcegraph/sourcegraph/pull/2079)
-- Add traced HTTP client to Stripe SDK [#1962](https://github.com/sourcegraph/sourcegraph/pull/1962)
-
-#### Others
-
-- Update Calendar Release Notifications [#2230](https://github.com/sourcegraph/sourcegraph/pull/2230)
- - N/A
-- Add CODENOTIFY files for Cody Prime team [#2185](https://github.com/sourcegraph/sourcegraph/pull/2185)
-- Avoid materializing set values just for iteration [#2045](https://github.com/sourcegraph/sourcegraph/pull/2045)
-- Enable exhaustruct on syntactic_indexing folder [#2044](https://github.com/sourcegraph/sourcegraph/pull/2044)
-- Cleanup stale branches [#1977](https://github.com/sourcegraph/sourcegraph/pull/1977)
-- Remove unreferenced scripts [#1942](https://github.com/sourcegraph/sourcegraph/pull/1942)
-- Update repo not found for dotcom [#1940](https://github.com/sourcegraph/sourcegraph/pull/1940)
-- Cleanup some local dev things [#1906](https://github.com/sourcegraph/sourcegraph/pull/1906)
-- Address Gazelle deprecation warnings [#1789](https://github.com/sourcegraph/sourcegraph/pull/1789)
-- Use enum for executor runtime instead of boolean flags [#1788](https://github.com/sourcegraph/sourcegraph/pull/1788)
-- Rename executor Config fields & simplify code [#1787](https://github.com/sourcegraph/sourcegraph/pull/1787)
-- Use collections.Set for marking allowed RepoID values. [#1743](https://github.com/sourcegraph/sourcegraph/pull/1743)
-- Move license check types to handler [#1697](https://github.com/sourcegraph/sourcegraph/pull/1697)
-
-### Refactor
-
-#### Ci
-
-- Add DefaultQueue for the default queue to use [#2096](https://github.com/sourcegraph/sourcegraph/pull/2096)
-
-### Reverts
-
-- Revert "feat(cody-gateway): add Gemini 2.0 Flash experimental model [#-1](https://github.com/sourcegraph/sourcegraph/pull/2326)
-- Revert "completions: Use authenticator interface for access token" [#1694](https://github.com/sourcegraph/sourcegraph/pull/2169)
-- Revert "chore(ci): temporary exclude diff tests (#1923)" [#1923](https://github.com/sourcegraph/sourcegraph/pull/1926)
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.11.x] bitbucketcloud: Fix repo perms syncing for inherited permissions and groups [#2399](https://github.com/sourcegraph/sourcegraph/pull/2399)
- - Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
-- Worker: Disable routines for codeintel inside routines logic [#2386](https://github.com/sourcegraph/sourcegraph/pull/2386)
-- Tenant: Prevent in-app deadlock while initializing globalstate [#2383](https://github.com/sourcegraph/sourcegraph/pull/2383)
-- Tenant: Mark tenant as last seen async [#2381](https://github.com/sourcegraph/sourcegraph/pull/2381)
-- Nls: add ability to boost results from a repo [#2375](https://github.com/sourcegraph/sourcegraph/pull/2375)
-- Intent detection: add heuristics [#2364](https://github.com/sourcegraph/sourcegraph/pull/2364)
-- Autoedits: remove rewrite speculation field for the chat endpoint [#2361](https://github.com/sourcegraph/sourcegraph/pull/2361)
-- Hitesh/change direct route method [#2351](https://github.com/sourcegraph/sourcegraph/pull/2351)
-- Change deepseek model for autoedits [#2350](https://github.com/sourcegraph/sourcegraph/pull/2350)
-- Reapply "feat(cody-gateway): add Gemini 2.0 Flash experimental model" [#2348](https://github.com/sourcegraph/sourcegraph/pull/2348)
-- Auth: Simplify middlewares [#2336](https://github.com/sourcegraph/sourcegraph/pull/2336)
-- Http: Refactor HTTP_TRACE to use Sourcegraph logger [#2335](https://github.com/sourcegraph/sourcegraph/pull/2335)
-- Http: Drop Blackhole middleware [#2334](https://github.com/sourcegraph/sourcegraph/pull/2334)
-- Editor: Add missing Gerrit remoteURL resolution [#2332](https://github.com/sourcegraph/sourcegraph/pull/2332)
-- Gitserver: Fix input parsing issue in diff searches [#2331](https://github.com/sourcegraph/sourcegraph/pull/2331)
-- Tenant: Mention repos that were not found [#2328](https://github.com/sourcegraph/sourcegraph/pull/2328)
-- Tenant: Use SiteID for workspace management API interaction [#2327](https://github.com/sourcegraph/sourcegraph/pull/2327)
-- NLS: use reranker in batch search too [#2325](https://github.com/sourcegraph/sourcegraph/pull/2325)
-- NLS: only rerank keyword matches [#2324](https://github.com/sourcegraph/sourcegraph/pull/2324)
-- NLS: fix bug where we could skip reranking [#2320](https://github.com/sourcegraph/sourcegraph/pull/2320)
-- Bugfix: anchor include patterns for symbol tree [#2319](https://github.com/sourcegraph/sourcegraph/pull/2319)
- - Fixed a web app bug that could cause symbols to be shown in the symbol tree for files that share a name with the viewed file
-- NLS: initial reranker integration [#2298](https://github.com/sourcegraph/sourcegraph/pull/2298)
-- Redis: remove unused rcache methods [#2292](https://github.com/sourcegraph/sourcegraph/pull/2292)
-- Chore(workspaces) Ensure an api error populating list of workspaces do… [#2291](https://github.com/sourcegraph/sourcegraph/pull/2291)
-- Gomod: bump Zoekt for BM25 improvement [#2282](https://github.com/sourcegraph/sourcegraph/pull/2282)
-- Tenant: Indicate to webapp that workspaces UIs should be shown [#2279](https://github.com/sourcegraph/sourcegraph/pull/2279)
-- Repoupdater: Fix panic when traversing public repos [#2273](https://github.com/sourcegraph/sourcegraph/pull/2273)
-- Dev/workspaces: get local o11y working again [#2263](https://github.com/sourcegraph/sourcegraph/pull/2263)
-- Tenant: Use workspace ID as site id [#2256](https://github.com/sourcegraph/sourcegraph/pull/2256)
-- Tenant: Fix missing tenant context in conf validation [#2247](https://github.com/sourcegraph/sourcegraph/pull/2247)
-- Ranking: revert changes to concurrency limits [#2236](https://github.com/sourcegraph/sourcegraph/pull/2236)
-- NLS: initial support for type:path [#2234](https://github.com/sourcegraph/sourcegraph/pull/2234)
-- Enable predicted outputs for S2 instance for fireworks models [#2226](https://github.com/sourcegraph/sourcegraph/pull/2226)
-- Dev(search): (new web ui) Upgrade svelte-check [#2220](https://github.com/sourcegraph/sourcegraph/pull/2220)
-- Add deepseek completions model for autoedits [#2219](https://github.com/sourcegraph/sourcegraph/pull/2219)
-- Workspaces/billing: implement payment charge for purchase extra seats [#2217](https://github.com/sourcegraph/sourcegraph/pull/2217)
-- Reranker: make sure to record telemetry [#2188](https://github.com/sourcegraph/sourcegraph/pull/2188)
-- Tenant/worker: Add tenant to context for worker in ST mode [#2184](https://github.com/sourcegraph/sourcegraph/pull/2184)
-- Tenant: Implement dynamic limits for GitHub App [#2172](https://github.com/sourcegraph/sourcegraph/pull/2172)
-- Repo: Drop next_sync_at prioritization [#2160](https://github.com/sourcegraph/sourcegraph/pull/2160)
-- Gateway: benchmark: fix http-then-websocket initial request failures [#2159](https://github.com/sourcegraph/sourcegraph/pull/2159)
-- Repoupdater: Fix interval out of range [#2155](https://github.com/sourcegraph/sourcegraph/pull/2155)
-- Pings: Remove hubspot integration [#2144](https://github.com/sourcegraph/sourcegraph/pull/2144)
-- Workspace-reconciler: update tenant name and display name [#2141](https://github.com/sourcegraph/sourcegraph/pull/2141)
-- Repoupdater: Make backoff after failure to fetch/clone more exponential [#2140](https://github.com/sourcegraph/sourcegraph/pull/2140)
-- Gitserver: Record LastError, LastOutput when hitting a timeout [#2139](https://github.com/sourcegraph/sourcegraph/pull/2139)
-- Gitserver: Simpify repo state syncer [#2138](https://github.com/sourcegraph/sourcegraph/pull/2138)
-- Tenant: Add context to OIDC verifier [#2137](https://github.com/sourcegraph/sourcegraph/pull/2137)
-- Tenant: Fix missing tenant in oauth requests [#2136](https://github.com/sourcegraph/sourcegraph/pull/2136)
-- Tenant: Expose configured limits in GQL API [#2123](https://github.com/sourcegraph/sourcegraph/pull/2123)
-- Add colorful icons for gitlab and bitbucket [#2114](https://github.com/sourcegraph/sourcegraph/pull/2114)
-- Chore(workspaces) Remove an extra quote [#2111](https://github.com/sourcegraph/sourcegraph/pull/2111)
-- Tenant: Temporarily bump limit to 10GB again [#2110](https://github.com/sourcegraph/sourcegraph/pull/2110)
-- Tenant: Fix multitenant repo selection update [#2109](https://github.com/sourcegraph/sourcegraph/pull/2109)
-- NLS: boost literal matches [#2108](https://github.com/sourcegraph/sourcegraph/pull/2108)
-- Bug(multitenant): Fix GraphQL resolvers for repo search [#2098](https://github.com/sourcegraph/sourcegraph/pull/2098)
-- Batches: Fix trigger function with tenancy [#2092](https://github.com/sourcegraph/sourcegraph/pull/2092)
-- Deprecate unused pings, reducing load on local PG instances [#2082](https://github.com/sourcegraph/sourcegraph/pull/2082)
-- NLS: perform single search for code and text results [#2081](https://github.com/sourcegraph/sourcegraph/pull/2081)
-- Fix cookie name [#2077](https://github.com/sourcegraph/sourcegraph/pull/2077)
-- NLS: created dedicated search job [#2076](https://github.com/sourcegraph/sourcegraph/pull/2076)
-- Appliance: Remove from UserNav [#2069](https://github.com/sourcegraph/sourcegraph/pull/2069)
-- Repo: Fix race condition in code host syncer [#2060](https://github.com/sourcegraph/sourcegraph/pull/2060)
-- Authz: Adjust default settings for perms syncing [#2052](https://github.com/sourcegraph/sourcegraph/pull/2052)
- - The default values for repo permission syncing have been adjusted. If you specified overrides, this means no change on your instance.Adjusted defaults:`permissions.syncScheduleInterval` is now 60s instead of 15s, in favor of scheduling more jobs at once (see below).`permissions.syncOldestUsers` and `permissions.syncOldestRepos` have been adjusted to `100` from `10` to schedule pending permission sync jobs faster.`permissions.syncJobCleanupInterval` has been bumped from every minute to every hour. Cleaning completed jobs is purely to prevent unbounded growth and every minute was more aggressive than necessary.The default concurrency for repo- And user-centric sync jobs has been bumped from 1 to 5 to account for larger instances. Historically, GitHub prevented concurrent API access in secondary rate limiting but this has been lifted to be much more lenient long ago. `permissions.syncReposMaxConcurrency` has also been introduced to compliment `permissions.syncUsersMaxConcurrency`.
-- Tenant: Fix concurrent creation in DB [#2039](https://github.com/sourcegraph/sourcegraph/pull/2039)
-- Tenant: Do not fail on startup [#2038](https://github.com/sourcegraph/sourcegraph/pull/2038)
-- Add code_completion feature flag for autoedit model [#2037](https://github.com/sourcegraph/sourcegraph/pull/2037)
-- Pings: Move handler code into cmd/pings [#2021](https://github.com/sourcegraph/sourcegraph/pull/2021)
-- Authz: Remove unused iteration over authProviders [#2019](https://github.com/sourcegraph/sourcegraph/pull/2019)
-- Cody: Fix incorrect language in Cody auth dialog [#2013](https://github.com/sourcegraph/sourcegraph/pull/2013)
-- Auth: Bring auth.Providers reads further up [#2011](https://github.com/sourcegraph/sourcegraph/pull/2011)
-- Tenant: Restructure multitenant GitHub app implementation [#2010](https://github.com/sourcegraph/sourcegraph/pull/2010)
-- Deps: upgrade SAMS SDK [#2006](https://github.com/sourcegraph/sourcegraph/pull/2006)
-- Repo: NeedsRepositoryConfiguration is independent of permissions [#1981](https://github.com/sourcegraph/sourcegraph/pull/1981)
-- Repoupdater: Enable dbbacked scheduler by default [#1975](https://github.com/sourcegraph/sourcegraph/pull/1975)
-- Repoupdater: Split dbworker for clones and fetches [#1974](https://github.com/sourcegraph/sourcegraph/pull/1974)
-- Repoupdater: Introduce higher priority for clones [#1972](https://github.com/sourcegraph/sourcegraph/pull/1972)
-- Gitserver: Increase duration buckets [#1971](https://github.com/sourcegraph/sourcegraph/pull/1971)
-- Added option to create search job from action menu in the results page [#1968](https://github.com/sourcegraph/sourcegraph/pull/1968)
-- Tenant: Return multitenantGitHubApp for all users [#1967](https://github.com/sourcegraph/sourcegraph/pull/1967)
-- Workspaces: use `time.Now` as the modtime for "index.html" [#1956](https://github.com/sourcegraph/sourcegraph/pull/1956)
-- Workspaces: add a quick log to show the modtime of index.html [#1953](https://github.com/sourcegraph/sourcegraph/pull/1953)
-- Redis: add warning about using KEYS command [#1913](https://github.com/sourcegraph/sourcegraph/pull/1913)
-- Remove debugging code [#1909](https://github.com/sourcegraph/sourcegraph/pull/1909)
-- Auth: Craft GatingProvider interface and use in AuthProviders [#1892](https://github.com/sourcegraph/sourcegraph/pull/1892)
-- Auth: Small code cleanup [#1891](https://github.com/sourcegraph/sourcegraph/pull/1891)
-- Events: Deprecate hashedLicenseKey in events from client [#1887](https://github.com/sourcegraph/sourcegraph/pull/1887)
-- Llms: Fixup and streamline cody rate limits [#1700](https://github.com/sourcegraph/sourcegraph/pull/1700)
-- Licensing: Implement NonAdmins feature [#1699](https://github.com/sourcegraph/sourcegraph/pull/1699)
-- Licensing: Simplify free tier logic a bit [#1695](https://github.com/sourcegraph/sourcegraph/pull/1695)
-- Enterprise-portal: add RegisterRoleResources background routine [#1687](https://github.com/sourcegraph/sourcegraph/pull/1687)
-- Enterprise-portal: add SAMS notification handler for UserRolesUpdated [#1686](https://github.com/sourcegraph/sourcegraph/pull/1686)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#1678](https://github.com/sourcegraph/sourcegraph/pull/1678)
-- Workerutil: Move into tenant package [#1533](https://github.com/sourcegraph/sourcegraph/pull/1533)
-- Dbworker: RFC for tenant-aware, fast dequeues [#1487](https://github.com/sourcegraph/sourcegraph/pull/1487)
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- [Backport 5.10.x] Context: switch to Snowball stopwords (#2223) [#2225](https://github.com/sourcegraph/sourcegraph/pull/2225)
- - Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.Backports [https://github.com/sourcegraph/sourcegraph/pull/2223](https://github.com/sourcegraph/sourcegraph/pull/2223)
-
-{/* RSS={"version":"5.11 Patch 0", "releasedAt": "2024-12-19"} */}
-
-
-# 5.10 Patch 3
-
-> Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.10.3940
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.10.3940)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.10.3940)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.10.3940)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.10.3940)
-
-### Features
-
-#### Security
-
-- Introduce UntrustedExternalClient [#2433](https://github.com/sourcegraph/sourcegraph/pull/2433)
- Backport 3f079a57978179aa2ad3f310195346a8c574f9ce from #2349
-
-### Fix
-
-#### Database
-
-- Do not log DSN secrets when changed [#2434](https://github.com/sourcegraph/sourcegraph/pull/2434)
- - We no longer log the postgresql DSN when it changes. Previously this could contain the secret PGPASSWORD.
- Backport 2bd9c09969fff536c6fb29108656658d3f875047 from #2272
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"5.10 Patch 3", "releasedAt": "2024-12-19"} */}
-
-
-# 5.10 Patch 2
-
-> Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.10.2832
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.10.2832)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.10.2832)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.10.2832)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.10.2832)
-
-### Features
-
-#### Cody
-
-- Update cody web to 0.17.0 version `(PR #2285)`
-- Update cody web to 0.16.0 version `(PR #2284)` Backport 964eceae584e4eff56df9711da68fef7047cbc40 from #2254
-
-### Fix
-
-#### Bazel
-
-- Syft checksum update `(PR #2218)`
-
-#### Cody
-
-- Disable reranking for airgapped instances `(PR #2194)`
-
-#### Release
-
-- Remove `--link` and add optional args env var `(PR #2216)`
- - Fix(rel): change `pg_upgrade` behavior to use copy instead of hard links Backport 13caa807d96dd4b5dd872fec2a38322d1888134a from #2192
-- Remove -x flag in readiness check on database containers `(PR #2135)`
- - Fix(rel): address issue with readiness check outputting passwords to logs.
- Backport 655a739e8e791d7aab1977d2c26543a3a4871809 from #2132
-
-### Chore
-
-#### Ci
-
-- Bzlmod migration for rules_syft `(PR #2193)`
- - Backport fbf92aedbb81f00766d7107015b7697352b5c482 from #1812
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.10.x] Context: switch to Snowball stopwords (#2223) `(PR #2225)`
- - Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.Backports [https://github.com/sourcegraph/sourcegraph/pull/2223](https://github.com/sourcegraph/sourcegraph/pull/2223)
-- [Backport 5.10.x] bugfix: do not load commit history eagerly `(PR #2201)`
- - Fixes a bug where the new web app may consume an outsized amount of backend resources when browsing large repositories. Backport 79546146e2bfa4e3fcee1a8e825ad48823c8cd77 from #2197
-- [Backport 5.10.x] Cody context: clean up resolvers `(PR #2187)`
-
-{/* RSS={"version":"v5.10.2832", "releasedAt": "2024-12-12"} */}
-
-
-# 5.10 Patch 1
-
-> Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to take a database backup before upgrading! See our [Postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
->
-> Warning: `automatic` upgrades will require setting the environment variable `SRC_AUTOUPGRADE_IGNORE_DRIFT=true` on the `sourcegraph-frontend` deployment/container.
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.10.1164
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.10.1164)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.10.1164)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.10.1164)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.10.1164)
-
-### Fix
-
-#### Database
-
-- Remove 5.10 deprecation dates on out of band migrations `(PR #1996)`
- - We are removing the deprecation dates on out of band migrations which deprecated in 5.10. This is to unblock MVU and autoupgrades which are encountering a bug with deprecated out of band migrations. Backport f654dcc9200e2dda2deddc8f98bcd972e6a873fd from #1995
-
-#### Search
-
-- Disable zoekt go-git optimization by default `(PR #2051)`
- - Disabled an indexed search optimization which would skip files accidentally (`ZOEKT_DISABLE_GOGIT_OPTIMIZATION=true`). Backport 34ada948bdcee3d75499c98f4db5c32986943e88 from #2050
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.10.x] oob: Actually run for all tenants `(PR #1994)`
-
-{/* RSS={"version":"v5.10.1164", "releasedAt": "2024-12-03"} */}
-
-
-# 5.10 Patch 0
-
-> Warning: Admins are advised to upgrade directly to v5.10.1164 circumventing this release.
->
-> Warning: This release updates the database container images from Postgres 12 to Postgres 16, and begins using Wolfi based images. Customers are advised to have a database backup before upgrading! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
->
-> Warning: `automatic` and migrator `upgrade` command will not work for this release, please upgrade directly to `v5.10.1164`, or to a 5.9 version and conduct a standard upgrade using migrator's default `up` command!
->
-> Also be sure to check your deployment type's [upgrade notes](http://sourcegraph.com/docs/admin/updates#instance-specific-procedures)!
-
-## v5.10.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.10.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.10.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.10.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.10.0)
-
-### Features
-
-#### Autoedit
-
-- Add autoedit model to use chat completions end point `(PR #1809)`
-
-#### Ci
-
-- Move rules_pkg to MODULE.bazel `(PR #1660)`
-
-#### Cody
-
-- Fix ootb prompt details page `(PR #1902)`
-- Update cody web to 0.14.0 version `(PR #1895)`
-- Add support for out-of-the-box prompts `(PR #1726)`
-- Support openai predicted outputs `(PR #1625)`
- - Cody Gateway: add support for OpeanAI predicted outputs
-- Added `systemPreInstruction` (CODY-4032) `(PR #1402)`
- - Adds `systemPreInstruction` to the `modelConfiguration` key in site admin config that allows injecting a prelude prompt into every chat request for an enterprise
-
-#### Cody-Gateway
-
-- Add gpt-4o-mini model `(PR #1591)`
- - Cody Gateway: add `gpt-4o-mini` to Cody Gateway allow list
- - Cody Gateway: add `gpt-4o-mini` to DotCom models list
-
-#### Conf/Deploy
-
-- Add 'workspace' deploy type `(PR #1710)`
-
-#### Dev
-
-- Use svelte-dev for multi-tenant `(PR #1843)`
-- Add alias 'sg bz cf' for 'sg bz configure' `(PR #1827)`
-- Add '-open=false' option for 'sg sams login' `(PR #1498)`
-- Adding sg command to request Entitle bundles `(PR #1370)`
-
-#### Gateway
-
-- Add `/models.json` endpoint (PRIME-601) `(PR #1728)`
-- Disable flagged model blocking for enterprise (PRIME-602, PRIME-605) `(PR #1659)`
-
-#### Github
-
-- Add client ID support for GitHub App authentication `(PR #1622)`
- - The GitHub app authentication package now supports authenticating a GitHub app via the OAuth client ID following the announcement of [https://github.blog/changelog/2024-05-01-github-apps-can-now-use-the-client-id-to-fetch-installation-tokens/](https://github.blog/changelog/2024-05-01-github-apps-can-now-use-the-client-id-to-fetch-installation-tokens/)
-
-#### Graphql
-
-- Add support for reading GitHub App Installation repos from GitHub REST API `(PR #1711)`
- - A new GraphQL query, `GithubAppRepositoriesForInstallation`, has been added that provides a paginated list of all the GitHub repositories that are accessible to the GitHub app with the provided installation id.
-- Add endpoint for getting github app installations scoped by user `(PR #1606)`
- - A new graphql endpoint has been added, GithubAppInstallationsForUser, that returns installation information for the global GitHub multi tenant app when running in multitenant mode.
-
-#### Internal/Github
-
-- Add pagination support and test for GetUserInstallations `(PR #1572)`
- - The Github API client's [GetUserInstallations](https://docs.github.com/en/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token) route, which lists of GitHub App installations the user has access to, now has pagination support.
-
-#### Lib/Cloudapi
-
-- Add support for workload identity to auth roundtripper `(PR #1623)`
-
-#### Local
-
-- Add bazel mod tidy to `sg bazel configure` step `(PR #1656)`
-
-#### Msp
-
-- Apply default max DB conns of 8*CPU `(PR #1394)`
-
-#### Msp/Cloudsql
-
-- Annotate cloudsql trace spans with target database `(PR #1398)`
-
-#### Mt-Router
-
-- Add support for SOAP redirect `(PR #1510)`
-
-#### Multi-Tenant
-
-- Redirect to workspaces/join on user-not-found `(PR #1604)`
-
-#### Multitenant
-
-- Rework GraphQL resolvers and add back App installation link `(PR #1819)`
-- Add temporary UI for workspace repository management `(PR #1791)`
-- Add helper routine for instantiating github app from multitenant credentials `(PR #1758)`
- - A simple helper routine to the multitenantenv package that automatically populates a github app struct with the provided validated credentials.
-- Use default cookie for github app oauth login `(PR #1571)`
- - The routing logic for multitenant mode now has a new route that uses the "last seen tenant" cookie to route github app login authorization callbacks to the appropriate tenant.
-
-#### Release
-
-- Add pg16 and pg16 codeinsights to published images `(PR #1731)`
- - Feat(rel): Add Postgresql 16 and Postgresql 16 codeinsights images to published image list.
-- Add pg 16 codeinsights entrypoint and tests `(PR #1730)`
- - Feat(rel): Add self updating to Postgres 16 codeinsights db image.
-- Add pg 16 entrypoint and tests `(PR #1718)`
- - Feat(rel): Add self updating to Postgres 16 container image.
-- Add wolfi postgres 16 codeinsights-db base image `(PR #1619)`
- - Feat(rel): Add Postgres 16 CodeInsights Wolfi image
-- Add wolfi postgres 16 base image `(PR #1617)`
- - Feat(rel): Add Postgres 16 Wolfi image
-
-#### Release
-
-- Handle postgres version upgrades in upgrade test `(PR #1918)`
- - Refactor upgradetest
- - Introduce proper handling of the postgres version upgrade
- Backport 9ccdf4200e3e08cea56bffe5779ca8a6cda2909c from #1894
-
-#### Search
-
-- Include file paths in reranker items `(PR #1866)`
- - Cody context now incorporates filename information in reranking, improving context quality when the reranker is enabled.
-- (new web ui) Add 'open in code host' button to repo root and folder pages `(PR #1776)`
-- (new web ui) Copy URL to clipboard when clicking 'Permalink' `(PR #1774)`
-- (new web ui) Show file/folder name in title instead of full path `(PR #1735)`
-- (new web ui) Add survey toast `(PR #1453)`
-- (new web ui) Show loading indicator when navigating up the file tree `(PR #1465)`
-
-#### Sg
-
-- Add workspaces common operations `(PR #1845)`
- - Support `get`, `list`, and `delete` workspaces to `sg`
-
-#### Source
-
-- Allow GitHub code host connections to specify an external account as the authenticator `(PR #1842)`
-- Multitenant: add worker job for inserting github multitenant app credentials `(PR #1668)`
- - A new worker job has been added that updates the database with the credentials for the global github app when running in multitenant mode.
-
-#### Telemetry
-
-- Add request client name and version to telemetry gateway payload `(PR #1607)`
-
-#### Tenant/Reconciler
-
-- Report backpressure when tenants > 0.85*targetMaxTenants `(PR #1719)`
-- Exclude DESTROY_SUCCESS from global reconcile `(PR #1534)`
-
-#### Workspaces
-
-- Check basic email validity to create invite `(PR #1849)`
-- Always set displayName=name if displayName is not set `(PR #1838)`
-- Email all workspace admins when a user joins a workspace `(PR #1824)`
-- Add CheckWorkspaceName RPC `(PR #1822)`
-- Initial iteration of new creation flow `(PR #1806)`
-- Check billing seats when joining and inviting `(PR #1770)`
-- Always apply DEFAULT_WORKSPACE_INSTANCE_CLASS on workspace create `(PR #1763)`
-- Accept instance class `(PR #1752)`
-- List eligible-to-join workspaces in UI `(PR #1672)`
-- Explicit invites POC `(PR #1624)`
-- Error-log illegal state transitions for Sentry `(PR #1616)`
-- List includes workpsaces a user can join via open invite `(PR #1586)`
-- Make membership limits configurable `(PR #1584)`
-- Name, display name, and open invite email domain blocklists `(PR #1539)`
-- Free up assigned workspace slot when workspace is DESTROY_SUCCESS `(PR #1535)`
-- Prevent management API from reading workspaces in deletion state `(PR #1508)`
-- Prune iam store on deletion `(PR #1504)`
-- Implement router pruning, add 'pruned_router_at', 'pruned_iam_at' `(PR #1480)`
-- Delete and reconcile routes `(PR #1440)`
-
-#### Workspaces/Blocklists
-
-- Improve heuristics and errors `(PR #1801)`
-
-#### Workspaces/Instances
-
-- Add UNAVAILABLE, CAPACITY_PRESSURE states `(PR #1712)`
-
-#### Workspaces/Integrations
-
-- Provide workspace uri `(PR #1477)`
-
-#### Workspaces/Web
-
-- As-you-type name validation POC `(PR #1858)`
-
-#### Others
-
-- Switch to buildkite for nightly release pipeline `(PR #1690)`
- - N/A
-- Add new telemetry v2 events for server side batch changes `(PR #1666)`
-- Add events for interactions with search input toggle buttons `(PR #1469)`
-- Add events for codenav actions `(PR #1441)`
-- Make filters sidebar collapsible `(PR #1437)`
- - Search filters sidebar is now collapsible
-- Add dynamic filters and aggregation for repo metadata and topics `(PR #1420)`
- - Added dynamic filters and the ability to aggregate by repo metadata and repo topic
-- Render mdx as markdown `(PR #1392)`
- - Render .mdx files as markdown
-
-### Fix
-
-#### Batch Changes
-
-- Titles now break over multiple lines if they are too long `(PR #1582)`
- - Fix(batches): titles now break over multiple lines if they are too long
-- Do not ignore bool env var parsing error `(PR #1537)`
-
-#### Client
-
-- Address pnpm lint:js:web issues and add job in CI `(PR #1520)`
-
-#### Code Intelligence
-
-- Align repo batch settings between syntactic and precise indexing `(PR #1663)`
-- Fix wrong offset in policy iteration `(PR #1546)`
-
-#### Cody
-
-- Use models from model config for PLG chat `(PR #1870)`
-- Sync allowed models in dotcom user rate limits with models.json `(PR #1864)`
-- Filter allowed models based on subscription tier `(PR #1636)`
-
-#### Database
-
-- Drop unique slug contraint from github app table `(PR #1689)`
- - The github_apps table has removed an erroneous unique constraint that accidentally incorporated an app's slug (which is mutable) as part of the unique identifier for an app.
-
-#### Database
-
-- Update generated squash and schemas `(PR #1917)`
-
-#### Dev
-
-- Fix kill pubsubemulator `(PR #1850)`
-- Correctly pick up error message from 'sg sams login' `(PR #1482)`
-
-#### Enterpriseportal
-
-- Allow list to accept display name query of 2 characters `(PR #1603)`
-
-#### Gateway
-
-- Add blocked phrase if request was blocked due to flagged models list (PRIME-603) `(PR #1670)`
-- Make model cost a pointer (CODY-4007) `(PR #1427)`
-
-#### Graphql
-
-- Refactor getGithubAppFromEnvvar to use multitenantEnv.Config.AsGithubApp `(PR #1767)`
- - The logic in the new multitenant GraphQL resolvers has been reworked to use the new helper methods introduced in the Multitenant GitHub app configuration logic introduced in [https://app.graphite.dev/github/pr/sourcegraph/sourcegraph/1758/](https://app.graphite.dev/github/pr/sourcegraph/sourcegraph/1758/).
-
-#### Insights
-
-- Fix incorrect line counts in non-default config `(PR #1517)`
- - Code insights should show correct line counts when enhanced language detection is turned off (note: this setting is on by default).
-
-#### Local
-
-- Display external env overrides when displaying environment variables `(PR #1595)`
-- Sg - Fix images query to point to correct rule `(PR #1430)`
-
-#### Release
-
-- Fix oob migrations hanging `(PR #1959)`
- - NA
- Backport a943412a99852332f921b52a0ee3179dc3331d20 from #1958
-- Add vacuum after reindex in Postgres upgrade script `(PR #1779)`
- - Fix(rel): Add vacuum to Postgres upgrade process
-- Install `sg` in the nightly pipeline GHA `(PR #1675)`
- - N/A
-
-#### Release
-
-- Correct views drift in postgres 16 `(PR #1878)`
- - Add migrations to handle database drift caused during postgres 12 to postgres 16 upgrade
-- Fix drift check in local upgradetest `(PR #1832)`
- - Fix bug in local upgrade test preventing final stage drift check via private monorepo
-
-#### Search
-
-- Consistently marshal SearchTypeRegex as regexp `(PR #1919)`
- - We sometimes would emit `patternType:regex` instead of `patternType:regexp`. We now always do regexp as well as treating regex as an alias for regexp.
- Backport a095b39ac39cfcbe3526ecf85ed6d50cb5fa3d9d from #1808
-- Executors on Kubernetes: propagate user and group from Executor env vars to batch change job pod `(PR #1863)`
- - The environment variables `KUBERNETES_RUN_AS_USER` and `KUBERNETES_RUN_AS_GROUP` contribute to the Job `PodSpec`'s `SecurityContext`.
- - The default value for those variables is `-1`, which could cause errors with some Kubernetes clusters.
-- (new web app) Only update user activity data once on load `(PR #1797)`
-- (new web ui) Respect 'window.context.disableFeedbackSurvey' flag `(PR #1778)`
-- (search input) Treat not, and, or as keywords regardless of case `(PR #1733)`
-- (new web ui) Fix dimensions of line selection marker `(PR #1417)`
-- (new web ui) Add rollover effect to RadioButtonGroup `(PR #1416)`
-- (new web ui) Fix duplicate lint suggestion insertion `(PR #1413)`
-- (new web ui) Remove unintentional vertical scrollbars `(PR #1411)`
-- (new web ui) Only show specific repo menu items when features are enabled `(PR #1401)`
-
-#### Security
-
-- Do not expand env vars in executor logs `(PR #1811)`
- - This change reduces the risk of secrets being emitted in executor logs even if there are bugs in the secret redaction logic.
-
-#### Sg
-
-- Remove noop -d declaration for psql `(PR #1455)`
-- Specify postgres database for psql commands `(PR #1450)`
-
-#### Source
-
-- P4-fusion now decodes encode file paths from Perforce `(PR #1347)`
- - When cloning Perforce depots, Sourcegraph will now decode encoded paths correctly (paths that include characters like `@` and `#`)
-
-#### Tenant/Reconciler
-
-- Do not check dormancy if still in PROVISION states, only check if needed `(PR #1605)`
-- On getTenantErr, report destroy state if in destroy state `(PR #1563)`
-
-#### Workspaces
-
-- Properly represent workspace state to management API `(PR #1816)`
-- Fix DESTROY_PENDING proto adapter, improve handling of unknown states `(PR #1814)`
-- Improve CreateWorkspace resilience `(PR #1773)`
-- Remove broken down-migration statements `(PR #1754)`
-- Support creating workspaces over API `(PR #1714)`
-- Do not list all workspaces if user has no memberships `(PR #1671)`
-- Tidy up email-disabled error log `(PR #1667)`
-
-#### Workspacesreconciler
-
-- Fix double-counting of checked workspaces `(PR #1753)`
-
-#### Others
-
-- Prompt page tweaks `(PR #1899)`
-- Revision picker growth `(PR #1875)`
-- More contrast updates `(PR #1871)`
-- Reranker: recreate from config on every call `(PR #1865)`
-- Prompt library visual updates `(PR #1852)`
-- Use standard protojson library for reducing memory `(PR #1846)`
-- Increase contrast everywhere `(PR #1840)`
-- Make owner nullable in prompts `(PR #1746)`
-- Only retry queries `(PR #1706)`
-- Reranker: listen to config changes, do not mutate config `(PR #1705)`
-- Retry graphql on 502 errors `(PR #1683)`
- - Fix(web): retry graphql requests on network errors
-- Styling changes to explore panel and badges `(PR #1528)`
-- Increase contrast of highlighted code background and line numbers in selected area `(PR #508)`
-
-### Chore
-
-#### Ci
-
-- Container structure test bzlmod migration `(PR #1818)`
-- Migrate protobuf and rules_proto rules to bzlmod `(PR #1749)`
-- Move buildifier prebuilt to bzlmod `(PR #1709)`
-- Increase buildifier timeout to 6m `(PR #1658)`
-- Move bazel_skylib to bzlmod `(PR #1654)`
-- Bazel - Remove build_tests_only flag for db tests `(PR #1610)`
-- Bazel - Add config settings to switch between pg-12 and pg-16 binaries `(PR #1601)`
-- Refactor bazel migrations `(PR #1583)`
-- Update github workflow for pg-12 and pg-16 package variants `(PR #1580)`
-- Upgrade aspect bazel lib `(PR #1425)`
-- Upgrade to latest rules proto grpc `(PR #1424)`
-- Enable db tests task to run on ci agents with postgres 16 `(PR #1293)`
-- Upgrade rules_pkg `(PR #976)`
-- Upgrade aspect cli `(PR #975)`
-
-#### Code Intelligence
-
-- Remove unused return value & pass TraceLogger `(PR #1551)`
-- Enable exhaustruct for more subfolders (part 2) `(PR #1547)`
-- Document why RepositoryID field is nil `(PR #1545)`
-- Add helper types for relationships `(PR #1542)`
-
-#### Dev
-
-- Delete tracking-issue package `(PR #1556)`
-- Add iterator helper for pagination `(PR #1555)`
-- Fix links to sg monorepo in Markdown `(PR #1554)`
-- Add more helper functions to iterext `(PR #1549)`
-- Enable exhaustruct for more subfolders `(PR #1544)`
-- Add helper package for property-based testing `(PR #1540)`
-- Introduce helper package for iter.Seq `(PR #1522)`
-- Fix links to sg monorepo `(PR #1519)`
-- Simplify language detection code in inventory `(PR #1518)`
-- Flip polarity of boolean for language detection `(PR #1516)`
-- Use a lazyFile type to consolidate lazy file content fetching `(PR #1515)`
-- Rename functions for clarity `(PR #1514)`
-- Remove direct usages of enry.IsVendor `(PR #1513)`
-- Simplify sorting logic `(PR #1512)`
-- Rename type Lang -> LanguageStats `(PR #1511)`
-- Migrate from sync.WaitGroup to conc APIs `(PR #1495)`
-- Fix warning about missing integrity field `(PR #1494)`
-- Update for loops for newer syntax `(PR #1488)`
-- Factor out offset & limit logic `(PR #1486)`
-- Switch to alternate orderedmap library `(PR #1414)`
-- Clarify docs & naming in debugserver code `(PR #1384)`
-
-#### Dev/Mt-Router
-
-- Silence cache miss on default `(PR #1565)`
-
-#### Dotcom
-
-- Rename 'cody services' to just 'cody gateway' `(PR #1466)`
-
-#### Frontend
-
-- Store model config in global var `(PR #1805)`
-
-#### Gateway
-
-- A few small docs fixes `(PR #1751)`
-- Make provider type more specific `(PR #1750)`
-
-#### Local
-
-- Small improvements to sg entitle `(PR #1794)`
-
-#### Msp/Iam
-
-- Suggest standard IAM_MAX_DB_CONNS as env var `(PR #1499)`
-
-#### Release
-
-- Remove postgres-12 wolfi from published images `(PR #1737)`
- - Chore(rel): remove unused Postgres 12 images
-- Remove appliance from published images and codebase `(PR #1732)`
- - Chore(rel): remove appliance from published images
-
-#### Release
-
-- Remove check against latest full version in `--post-release-version` code path `(PR #1585)`
-
-#### Search
-
-- (new web ui) Improve search home page SG logo rendering `(PR #1813)`
-- Add NodeJS 20 to the Bundled Executor image `(PR #1569)`
-- Update search web app title and description for SEO on dotcom `(PR #1509)`
-- Add JDK 17 and 21 to the Bundled Executor image `(PR #1502)`
-- (new web ui) Remove beta badge from search progress popover `(PR #1418)`
-- Update CPU and MEM panels for zoekt `(PR #1368)`
- - We have updated the CPU and MEM monitoring panels for Zoekt on Grafana. The new panels reduce redundancy and provide more insight into MEM distribution.
-
-#### Source
-
-- Simplify oauth middleware `(PR #1876)`
-- Update the gitserver image lockfile to contain the latest p4-fusion `(PR #1410)`
-- Default perforce changelist mapping to enabled `(PR #1376)`
-
-#### Telemetry
-
-- Align billing metadata values with 'sourcegraph/cody' `(PR #1396)`
-
-#### Telemetry/Geolocation
-
-- Update DB-IP Lite database `(PR #1468)`
- - The local geolocation inference database used in telemetry and audit logs has been updated.
-
-#### Telemetrygateway
-
-- Bump slow-request threshold `(PR #1647)`
-
-#### Tenant/Reconciler
-
-- Add some additional diagnostics `(PR #1795)`
-
-#### Workspaces
-
-- Include longer s&p500 names for fuzzy matching `(PR #1844)`
-- Make unexpected errors more friendly `(PR #1821)`
-- Add spans on write interactions `(PR #1807)`
-- Instantiate large blocklists once in store `(PR #1562)`
-
-#### Workspaces/Web
-
-- Use unified client constructor `(PR #1828)`
-
-#### Others
-
-- Rename method to indicate lack of redaction clearly `(PR #1790)`
-- Reorder fields in executor Config `(PR #1785)`
-- Remove custom Set type `(PR #1742)`
-- Rename Set.Values() -> ValuesNonDet() for clarity `(PR #1741)`
-- Avoid materializing Set Values() just for length `(PR #1739)`
-- Add env var to disable precise & syntactic `(PR #1707)`
-- Bump autoindexing image SHAs `(PR #1703)`
-- Move CodyGatewayRateLimit calculation to where it's used `(PR #1693)`
-- Remove env lock mechanism `(PR #1593)`
- - Fix(dev): remove env.Get lock that could cause a runtime panic
-- Update event names `(PR #1500)`
-- Remove robert from many CODENOTIFYs `(PR #1421)`
-- Update new search events to make them easier to use `(PR #1395)`
-
-### Refactor
-
-#### Local
-
-- Move reset-pg to internal/db `(PR #1573)`
-
-### Reverts
-
-- Revert "chore/dev: upgrade aspect_bazel_lib to 2.9.4 (#1713)" `(PR #1713)`
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.10.x] Revert "chore(source): simplify oauth middleware" `(PR #1928)`
-- Githubapp: Expose monolith GitHub app ClientID `(PR #1904)`
-- Pnpm: Remove leftover appliance links in workspace `(PR #1900)`
-- Core: Fixup pnpm lockfile `(PR #1886)`
-- Tenant: Hide unlink button for SAMS external accounts `(PR #1885)`
-- Auth: Hide unlink button for external accounts that cannot be unlinked `(PR #1884)`
-- Svelte: Correctly hide navbar entries `(PR #1883)`
-- Svelte: Add back settings link `(PR #1882)`
-- Workspaces/billing: attach metadata and context without cancel whenever possible `(PR #1881)`
-- Web: respect `expanded` in the search results URL `(PR #1880)`
- - Fixed an issue where searches from saved URLs may now show aggregations by default
-- Add timeout to gateway calls `(PR #1879)`
-- Workspaces: Align styling for join page `(PR #1860)`
-- Workspaces: Add tables for listing workspaces `(PR #1857)`
-- Workspaces: Slightly tweak style `(PR #1851)`
-- Workspaces: Directly link to installation target `(PR #1848)`
-- Tenant: Suppress some irrelevant missing_context pprof traces `(PR #1847)`
-- Workspaces: Fix workspace picker rendering in React `(PR #1841)`
-- Fix permissions connection resolver ordering `(PR #1839)`
-- Workspaces: Add seat selector on plan page `(PR #1835)`
-- Workspaces/billing: create RPC for purchasing seats `(PR #1831)`
-- Workspaces/billing: extract subscription attribute computation into a `Plan` helper `(PR #1830)`
-- Workspaces: Add updated workspace pickers for tenant `(PR #1829)`
-- Workspaces: Add field to pre-purchase extra seats `(PR #1826)`
-- Workspaces/billing: implement periodic workers for subscription renewal `(PR #1823)`
-- Auth: Fix background contexts in validate authz provider `(PR #1802)`
-- Redispool: support more configuration options `(PR #1799)`
-- Workspaces/billing: add tests to `cmd/workspaces/internal/billing` `(PR #1786)`
-- Workspaces/billing: update test for `ManagementService.CreateWorkspace` `(PR #1784)`
-- Workspaces/billing: add database tests for customers `(PR #1783)`
-- Workspaces/billing: add database tests for transactions `(PR #1782)`
-- Require `X-Requested-With` for Cody API (CODY-4209) `(PR #1781)`
- - `X-Requested-With` is now a required HTTP header for Cody API calls
-- Context: narrow down stopwords list `(PR #1780)`
-- Workspaces/billing: ignore invoices that are not for the current instance `(PR #1777)`
-- Workspaces/billing: support soft-deleting subscriptions `(PR #1772)`
-- Feature/internal: upsert github credentials on tenant creation `(PR #1769)`
- - The multitenant reconciler now proactively inserts the credentials for the shared multitenant GitHub app whenever a new tenant is created.
-- Lib/cloudapi: add mt instance type `(PR #1766)`
-- Tenant: Add configuration for MT GitHub App to localdev `(PR #1756)`
-- Seed builtin prompts `(PR #1755)`
- - Prompts including "Document Code", "Explain Code", "Generate Unit Tests", "Find Code Smells"
-- Tenant: Enable onebox on tenant creation `(PR #1748)`
-- Onebox: introduce 'nls' patterntype `(PR #1744)`
-- Workspaces/billing: implement Stripe webhook handler `(PR #1740)`
-- Cody-gateway: update deployment id for model `(PR #1729)`
-- Workspaces/billing: implement seat purchase and consumption `(PR #1723)`
-- Localdev: Disable precise, syntactic codeintel in multitenant mode `(PR #1720)`
-- Workspaces/billing: use the "correct" way to list customer payment methods `(PR #1717)`
-- `sg start sveltekit-minimal` for quickly running the new UI `(PR #1702)`
-- Conf: Move more types to conftypes `(PR #1692)`
-- Remove experimental admin onboarding v2 `(PR #1691)`
-- Telemetry: Implement telemetry exports for workspaces `(PR #1677)`
-- Autoedit: add speculative decoding `(PR #1673)`
- - Autoedit: Add speculative decoding support from fireworks
-- Fix `marketingTracking` sending null `(PR #1669)`
-- Prompts: fix prompt name validation and prompts migration `(PR #1664)`
-- Add GraphQL resolvers to read and set a list of repositories for a GH App installation ID `(PR #1657)`
-- Fixup: remove Git conflict marks in `sg.config.yaml` `(PR #1649)`
-- Require prompt field before successful submission `(PR #1639)`
-- Add builtin prompts field to prompts `(PR #1633)`
-- Zoekt: refactor memory dashboards `(PR #1618)`
-- Workspaces: add billing prototype for subscription creation `(PR #1611)`
-- Admin: Update report an issue link `(PR #1608)`
-- Change default autoedit model `(PR #1589)`
-- Feat(cloud) sg cloud eph deploy: support ms env `(PR #1581)`
-- Add Cody.promptLibrary telemetry `(PR #1568)`
-- Worker: Group tasks by purpose `(PR #1566)`
-- Improve policy iterator tests to not rely on SQL for insertion `(PR #1560)`
-- Repoupdater: Fix slow scheduling of cloned->uncloned repos `(PR #1552)`
-- Repoupdater: Fix reporting of background routines `(PR #1550)`
-- Update Prompts Library UI (list page) `(PR #1548)`
-- Update prompt detail header UI `(PR #1538)`
-- Context: remove experimental intent routing `(PR #1536)`
-- Add 'recommended' checkbox to new creation UI. `(PR #1531)`
-- Dormancy: Also fall asleep tenants that never see traffic `(PR #1530)`
-- Fix reranker not being applied `(PR #1529)`
-- Sg: Fix local dev pguser setup `(PR #1506)`
-- Context: ensure we propagate timeouts and missing repos `(PR #1505)`
-- Make Visual Studio Experimental `(PR #1503)`
-- Context: always use more items for reranker `(PR #1476)`
-- Remove insert prompt mode `(PR #1475)`
-- Add missing Cody Web Alert CSS variable override `(PR #1474)`
-- Repoupdater: Fix no rows returned error `(PR #1472)`
-- Add autoedits to cody gateway `(PR #1459)`
-- Ci: bump go-mod-tidy step timeout `(PR #1452)`
-- Add commands to prompts migration `(PR #1449)`
-- Repoupdater: Speed up repo_update_job dequeues `(PR #1448)`
-- Repoupdater: Clean up metrics `(PR #1447)`
-- Repoupdater: Speed up and simplify not fetched metric `(PR #1446)`
-- Migration: Checkpoint new repo_update_jobs migration `(PR #1445)`
-- Gomod: bump Zoekt for query perf fix `(PR #1438)`
-- Implement prompt detail page re-design `(PR #1423)`
- - Re-designed prompt detail page.
-- Add page faults to Zoekt memory metrics `(PR #1422)`
-- Chore/source Update src-cli version to 5.8.2 `(PR #1415)`
- - Chore/source Update src-cli version to 5.8.2
-- Siteadmin: Reset pagination cursors after filter change `(PR #1404)`
-- Bugfix: fix settings link `(PR #1393)`
-- Gomod: bump Zoekt for go-git optimization `(PR #1391)`
-- Update Marketing URLs in the site footer links `(PR #1390)`
-- Soft delete prompts `(PR #1386)`
-- Widen blocked phrases, but only confine blocked phrases to expensive (aka flagged) models `(PR #1344)`
-- Repoupdater: Drop support for gitUpdateInterval `(PR #1339)`
- - The site config setting `gitUpdateInterval` has been deprecated and removed. We are removing it in favor of smarter heuristics like webhooks, user traffic, and repo staleness.
-- Repoupdater: Remove total from schedule and update queue state `(PR #1338)`
-- Add system workspace admin role `(PR #1327)`
-- Add syntactic worker to images so it gets updated in helm charts `(PR #1323)`
-- Feature/source: adjust exclude definition in github schema to disallow using name, id with other filter conditions `(PR #1250)`
- - The github code host connection schema for `exclude` has been updated to enforce that the name and id fields can't be combined with any other fields.
-- Add gitSSHCipher for git code hosts `(PR #1175)`
-- RFC: Dormancy and tenant states `(PR #756)`
-- Web telemetry: update `marketingTracking` to retrieve latest cookies set on web `(PR #460)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Fix wrong offset in policy iteration `(PR #1559)`
-- Release: Prep stitched migration graph for release (#1388) `(PR #1389)`
- - N/a
-
-{/* RSS={"version":"v5.10.0", "releasedAt": "2024-11-27"} */}
-
-
-# 5.9 Patch 4
-
-## v5.9.17785
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.9.17785)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.9.17785)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.9.17785)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.9.17785)
-
-### Fix
-
-#### Cody
-
-- Allow specification of additional chat GPT models for Cody `(PR #3434)`
-Backport 5190f43a4d09810e69400c5d0e6d9176b3c4b815 from #3380
-
-# 5.9 Patch 3
-
-## v5.9.1590
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.9.1590)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.9.1590)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.9.1590)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.9.1590)
-
-### Fix
-
-#### Code Intelligence
-
-- Fix wrong offset in policy iteration `(PR #1559)`
-
-#### Cody
-
-- Fix broken homepage redirect for cody only plans `(PR #1626)`
- - When using an instance with a Cody-only license, accessing the home page now correctly redirects you to /cody/dashboard, instead of a non-existent /cody page.
- Backport a4cb5a0723bad18e1c215d81231db457d1abfbdb from #1621
-
-#### Search
-
-- (new web ui) Disable persistence for history/explore panel `(PR #1614)`
-
-### Chore
-
-#### Release
-
-- Remove extra v identifier for version in artifact exporter `(PR #1594)`
- Backport c4b838103ce2f71e7591ade720e8bdf17f9a5b39 from #1490
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.9.x] azure: Add support for repositoryPathPattern `(PR #1629)`
- - Added support for the `repositoryPathPattern` property to Azure DevOps code host connections.
- - Fixed an issue where Azure DevOps repo names included a port number - Aligning with other code host connection implementations Backport 762bd89a12825ff05de98d9c2d8adfcf1ef5bf4a from #1543
-
-{/* RSS={"version":"v5.9.1590", "releasedAt": "2024-11-13"} */}
-
-
-# 5.9 Patch 2
-
-## v5.9.347
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.9.347)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.9.347)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.9.347)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.9.347)
-
-### Fix
-
-#### Dev
-
-- Hoist env vars init to avoid repo-updater panic `(PR #1527)`
-
-### Reverts
-
- There were no reverts for this release
-
-{/* RSS={"version":"v5.9.347", "releasedAt": "2024-11-06"} */}
-
-
-# 5.9 Patch 1
-
-## v5.9.45
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.9.45)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.9.45)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.9.45)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.9.45)
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- "Add syntactic worker to images so it gets updated in helm charts"" `(PR #1483)`
-
-{/* RSS={"version":"v5.9.45", "releasedAt": "2024-11-05"} */}
-
-
-# 5.9 Patch 0
-
-## v5.9.0
-
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.9.0)
-
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.9.0)
-
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.9.0)
-
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.9.0)
-
-### Features
-
-#### Api
-
-- Added a better error message for 429 errors for `/.api/cody/completions` (CODY-4097) `(PR #1380)`
-
-#### Audit
-
-- Add tenant to audit logs, fix log stack `(PR #960)`
-
-#### Batch Changes
-
-- Show name of additional fields that cause errors `(PR #799)`
- - Feat(batches): show name of additional fields that cause errors
-
-#### Ci
-
-- Generate frozen files as part of stich_migration_graph generation `(PR #957)`
-- Record Test infrastructure failures `(PR #884)`
- - Add library that writes to TEST_INFRASTRUCTURE_FAILURE_FILE if it is defined for test failures
-
-#### Cloud
-
-- Allow monolithsams instances to have no conf auth providers `(PR #1247)`
-- Add support to override target managed service endpoints `(PR #1238)`
-- Add support to override license generation public key from cloud site config `(PR #1193)`
-
-#### Code Intelligence
-
-- Syntactic indexing grafana monitoring dashboard `(PR #1263)`
-
-#### Cody
-
-- Add more API docs content `(PR #1378)`
-- Add CLI tool to compute PCW `(PR #1349)`
-- Add Claude 3.5 Sonnet (Latest) & Claude 3 Opus (Latest) `(PR #1244)`
-- Add Cody Audit Log `(PR #1232)`
-- Add cody audit log table and store `(PR #1182)`
-- Expose token usage in the LLM API `(PR #1070)`
- - The `/.api/completions/stream` API now includes used input/output tokens and the upstream model name in the response body when using the query parameter `api-version=5` or higher. Does not apply to: Vertex Anthropic, Azure OpenAI (mo model name, and no token usage in streaming response), Gemini (no model name in streaming response)
- - LLM chat completions now support `stream: false` when using Azure OpenAI and OpenAI-compatible providers.
-- Update telemetry feature prefix for Cody API `(PR #1023)`
-- Add embedded API docs via OpenAPI/Redocly `(PR #1014)`
- - New OpenAPI API docs within the instance at the URL `$SRC_ENDPOINT/api/openapi/public`. Alternatively, reach the page at "User > Settings > OpenAPI Reference".
-- Add basic telemetry recording for Cody API `(PR #943)`
-- Add support to format raw API responses for Cody `(PR #877)`
- - The raw HTTP API now accepts the query paramter `format=cody` or header `Accept: application/cody` to render files and directories as context items for Cody. Example request path: `/github.com/sourcegraph/cody/-/raw/agent/src/index.ts?format=cody`.
-
-#### Cody-Gateway
-
-- Add new claude-3-5-haiku-latest model `(PR #1471)`
-Cody Gateway: add new claude-3-5-haiku-latest dotcom models list Backport 11e7481ba3c810ae5b47d32b8cf32066e2f0b2bb from #1470
-- Deprecate old claude 3.5 sonnet `(PR #1248)`
-
-#### Dev
-
-- Add externalSecret support for commandsets `(PR #1027)`
-- Sg sams login and cookie-less workspace creation `(PR #913)`
-
-#### Graphql
-
-- Upload graphql schemas to GCS bucket `(PR #1245)`
-
-#### Internal/Requestclient
-
-- Have HTTP middleware populate all response headers with observed X-Forwarded-For and calculated IP for debugging purposes `(PR #524)`
- - All of Sourcegraph's HTTP responses now contain two new headers for easier debugging purposes.
-- `Observed-X-Forwarded-For`: echos the `X-Forwarded-For` header
-that we observed on the user's incoming request
-- `Observed-Calculated-IP-From-Forwarded-For`: indicates the IP address that we derived from the user's `X-Forwarded-For` header
-
-#### Local
-
-- Use pending spinner for build waiting in cloud ephemeral `(PR #1039)`
-- Add format for displaying env `(PR #918)`
-
-#### Monitoring
-
-- Set decimals to 1 for standard heatmap `(PR #1361)`
-
-#### Monolithsams
-
-- Load SAMS provider and creds from env `(PR #1024)`
-
-#### Msp
-
-- Package 'auditlog' `(PR #1223)`
-
-#### Msp/Pg
-
-- Updated o11y for pool acquire, add overrides for pgxpool.Config `(PR #1375)`
-
-#### Search
-
-- (new web ui) Show loading feedback for hovercards `(PR #1239)`
-- (new web ui) Add ability so switch search scope in fuzzy finder `(PR #1201)`
-- (new web ui) Make view modes available when opening a file at a commit `(PR #1090)`
-- (new web ui) Render relative images in rich text documents `(PR #841)`
-
-#### Sg
-
-- Make workspaces endpoint configurable `(PR #998)`
-- Implement show-env flag `(PR #883)`
-
-#### Site Admin
-
-- Site config 'telemetry: \{ disableLocalEventLogs \}' to disable event_logs `(PR #1275)`
- - Long-term local retention of user telemetry as 'event logs' can now be disabled entirely via the `telemetry: { disableLocalEventLogs }` site configuration.
-
-#### Sub_repo_perms
-
-- Add conditional logging for seeing if sub_repo_permisisons are working `(PR #673)`
- - The sub repository permissions implementation now emits logs that describe the rules that were evaluated for a given request whenever tracing is enabled. (We limit these logs for only when tracing is enabled since they can be quite verbose).
-
-#### Telemetry
-
-- Log estimated LLM cost telemetry (CODY-4007) `(PR #1312)`
- - Adds cost estimates to the ModelConfiguration returned by `.api/llm/supported-models.json`
- - Adds `llmTokenUsageCostEstimate` telemetry value with estimates of each requests LLM cost in pennies
-- Add check for PGDATASOURCE `(PR #1281)`
-- Add source.server.server_client.user_agent to telemetry payload `(PR #1120)`
- - Add the sourcegraph API client user-agent to telemetry payload types under `source.server.server_client.user_agent`.
-- Check for external dbs `(PR #1083)`
-- Propagate new x-sourcegraph-api-client-* Headers to request clients `(PR #1025)`
- - Propagates new X-Sourcegraph-API-Client-Name and X-Sourcegraph-API-Client-Version headers to request clients
-
-#### Telemetry-Gateway
-
-- Improve logging on processing done `(PR #1252)`
-
-#### Telemetrygateway
-
-- Implement publishusermetadata RPC `(PR #1095)`
-- Spec PublishInstanceUserMetadata and pubsub format `(PR #1053)`
-
-#### Telemetrygatewayexporter
-
-- Log export duration, use better duration buckets `(PR #1305)`
-
-#### Tenant/Reconciler
-
-- Full membership reconcile `(PR #953)`
-- Handle tenant-exists, new-tenant, and error combination paths `(PR #895)`
-
-#### Worker
-
-- Delete legacy event_logs exporter `(PR #859)`
-
-#### Worker/Telemetrygatewayexporter
-
-- Opt-in user metadata exporter `(PR #1096)`
-
-#### Workspaces
-
-- Notify user state updates `(PR #1316)`
-- Allow join-by-email to be provided on creation `(PR #1280)`
-- Add management GetWorkspace that allows view-by-email-domain `(PR #1277)`
-- Guard against excessive join-workspaces `(PR #1251)`
-- Restrict memberships/admins before allowing workspace creation `(PR #1212)`
-- Join by email domain POC `(PR #1162)`
-- Configure join by email domains `(PR #1158)`
-- Only recently seen instances are candidates for hosting workspace `(PR #1031)`
-- Ban 'default' as a workspace name `(PR #992)`
-- Forbid 'src-'-prefix workspace names `(PR #920)`
-- Refactor workspace states with reconcile and dormancy `(PR #819)`
-
-#### Workspaces/Management
-
-- Always return roles `(PR #1358)`
-- Provide workspace URI `(PR #1055)`
-
-#### Workspacesreconciler
-
-- Add WORKSPACESRECONCILER_INSTANCE_STATE_OVERRIDE and 'AT_CAPACITY' state `(PR #1297)`
-- Global periodic reconciler `(PR #997)`
-
-#### Others
-
-- Surface result precision in the explore panel `(PR #1359)`
-- More complete search backend events `(PR #1257)`
-- Add embedded file snippet page `(PR #1196)`
- - Added embeddable page for file snippets
-- Add embedded file snippet component `(PR #1122)`
-- Add search aggregations to svelte webapp `(PR #1093)`
-
-### Fix
-
-#### Api-Docs
-
-- Added OpenAPI Urls to static page info `(PR #1379)`
-
-#### Batch Changes
-
-- Enable request splitting by default `(PR #1229)`
- - Fix(batches): enable request splitting by default
-- Handle spec being nil for suffix salt `(PR #1228)`
- - Fix(batches): handle spec being nil for suffix salt
-- Enable GQL request splitting via BATCH_CHANGES_REQUEST_SPLITTING `(PR #1150)`
- - Fix(batches): enable GQL request splitting via BATCH_CHANGES_REQUEST_SPLITTING
-- Display "Deleted Namespace" instead of throwing an error `(PR #778)`
- - Fix(batches): display "Deleted Namespace" instead of throwing an error
-
-#### Ci
-
-- Remove dependsOn key for PG16 step `(PR #1295)`
-- Disable db test task temporarily `(PR #1292)`
-- Generate coreos iptable BUILD.bazel file `(PR #1230)`
-- Cap branch names in image tags `(PR #1103)`
-
-#### Code Monitor
-
-- Fail monitors with missing/unverified primary email address `(PR #938)`
- - Fix(code-monitor): fail monitors with missing/unverified primary email address
-
-#### Code Intelligence
-
-- Add more limits in auto-indexing inference code `(PR #1170)`
- - Introduces new limits for auto-indexing inference to reduce the risk of continuously growing auto-indexing queues.
- - The number of jobs spawned per round of auto-indexing inference per repo is capped (default: 100) to reduce risk of clogging of auto-indexing queues. Excess jobs will be discarded.
- - The number of paths inspected for a single round of auto-indexing inference per repo is capped (default: 500) to reduce risk of timeouts. Excess paths will be discarded.
-- Handle annotated tag hashes passed as 'commit' for uploads `(PR #1135)`
- - Fixes handling of SCIP uploads when the hash passed to the `-commit` flag of `src-cli` corresponds to the hash of an annotated tag instead of the hash of a commit. Previously, these uploads were not accessible for code navigation.
-- Propagate error collector to fix retention tab GraphQL API call `(PR #847)`
- - Fixes a bug where the retention tab for precise indexes would show
-a nil pointer exception instead of retention information.
-
-#### Code Nav
-
-- Trigger hovers for all programming languages `(PR #1076)`
- - Fixes a bug where hovers were not triggered for less mainstream languages like F#,
-Standard ML, Visual Basic, Pkl, Hack, MATLAB etc.
-
-#### Cody
-
-- Convert nil message content parts for OpenAI compatability `(PR #1467)`
-- Guard against completion usage missing (CODY-4135) `(PR #1218)`
-- API telemetry `(PR #1026)`
-- Reset usage when rate limit value or interval decreased `(PR #1015)`
-- Fix CodyLLMConfiguration resolver `(PR #839)`
-
-#### Codyapi
-
-- Restrict audit log retrieval to site admins only `(PR #1285)`
-- Add usage to completions/chat (CODY-3498) `(PR #1131)`
- - Added token usage information to `.api/llm/chat/completions`
-
-#### Completions
-
-- Clear out usage information on the completions API when version < 5 (CODY-4114) `(PR #1153)`
-
-#### Dev
-
-- Correctly propagate error key-value pairs `(PR #1258)`
- - Fixes a bug where logs and traces were sometimes missing key-value pairs recorded alongside errors.
-- Fix sg db reset-pg PGUSER overwrite `(PR #1220)`
-- Fix secrets deadlock `(PR #1032)`
-- Fix workspaces client in local dev `(PR #1028)`
-- (new web ui) Properly initialize local dev defaults `(PR #961)`
-- Remove removed table from MT migration `(PR #910)`
-- Report warning if workspace creation failed `(PR #909)`
-- Fix workspaces flakey test `(PR #862)`
-
-#### Frontend
-
-- Place requestclient as one of the first middleware `(PR #1215)`
-
-#### Local
-
-- Move env into correct grouping `(PR #1332)`
-- Specify default database when checking psql version in `sg setup` `(PR #924)`
-- Fix issue with sg start monitoring ignoring dockerCommands `(PR #848)`
-
-#### Mt-Router
-
-- Prevent infinite oauth redirect `(PR #1118)`
-
-#### Release
-
-- Rename generated changelog file `(PR #1136)`
-- Add stitched migration graph override (#935) `(PR #941)`
- - NA
-
-#### Search
-
-- Disable hybrid search with index:no `(PR #1462)`
- - `index:no` will now avoid the index completely. Previously it would still consult the index via a process called hybrid search. Search jobs always uses `index:no`, so if you notice a performance problem please reach out to Sourcegraph support. Setting `SRC_DISABLE_RESPECT_INDEX_FIELD` environment variable on the frontend and worker pods will disable this new behaviour in 5.9.x only.Stacked on `(PR #1456)` Closes [https://linear.app/sourcegraph/issue/SPLF-663/disable-hybrid-search-for-search-jobs](https://linear.app/sourcegraph/issue/SPLF-663/disable-hybrid-search-for-search-jobs) Backport 7aced46a7bc3526695a77e492ee69ad2cfa7bb17 from #1460
-- (new web ui) Render submodules differently in file trees `(PR #1377)`
-- Fix document highlights in certain situations `(PR #1343)`
-- (new web ui) Fix relative links to folders `(PR #1331)`
-- (new web ui) Fix file tree sidebar not staying at top level directory `(PR #1328)`
-- (new web ui) Show informative message when repo has no README or description `(PR #1240)`
-- (new web ui) Fix linkifying files `(PR #1236)`
-- (new web ui) Make blob view readonly `(PR #1234)`
- - Prevents default browser shortcuts from modifying the file content locally.
-- (new web ui) Prevent uncaught error when navigating back to file page `(PR #1199)`
-- (new web ui) Show helpful message for root commit/change list page `(PR #1138)`
-- (new web ui) Do not show loading spinner for empty commit ranges on compare page `(PR #1126)`
-- (new web ui) Fix search aggregation styles `(PR #1125)`
-- Exclude content filters from phrase boosting `(PR #1038)`
- - This fixes a bug where we would apply a phrase boost if a `content:` filter was specified with keyword search enabled. This led to inconsistent behavior (regexp vs keyword search) and it also rendered the `content:` filter ineffective, because we ran a general text search instead of a just a content search.
-- (new web ui) 'File not found' when quickly navigating between files `(PR #959)`
-- (new web ui) Blame view not visible for files that use `\r` as line separators `(PR #929)`
-- (new web ui) Show settings link to site admins when repo error occurs `(PR #817)`
-
-#### Sg
-
-- Workaround dangling dev resources `(PR #1048)`
-
-#### Source
-
-- Correct Name() documentation for gitserver's ReadDirIterator `(PR #1278)`
- - The documentation for gitserver's ReadDir method has been clarified to reflect that the return iterator's Name() method returns the full path of the file, as opposed to just the basename.
-- Multiple GitHub external accounts to the same URL now refresh correctly `(PR #1260)`
- - When there are multiple auth providers configured that point to the same GitHub URL, as can be the case when using private GitHub Apps, user external account tokens will now refresh correctly.
-- Clarify exclude docs in github connection schema to say that individual expressions within block are `and`-ed together `(PR #1249)`
- - The documentation for the "exclude" section in the github code host connection schema has been clarified to explain that each block is OR'd together, and the expressions within each block are AND'd together.
-- Fix Azure Devops OnPrem connection editing and repo name `(PR #1184)`
-- The sync of a GitHub repositoryQuery failing will no longer cause repos to be deleted `(PR #1177)`
- - GitHub code host connections using `repositoryQuery` will no longer delete repositories if the sync fails for reasons like a GitHub outage or a token expiring.
-
-#### Sourcegraphaccounts
-
-- Use native openidconnect provider `(PR #1030)`
-
-#### Telemetry
-
-- Only log Cody API events to a remote data store, do n… `(PR #1304)`
-
-#### Telemetry-Gateway
-
-- Fix configuration `(PR #1129)`
-
-#### Tenant/Reconciler
-
-- Avoid illegal state transitions `(PR #1133)`
-- Double-check assigned instance ID `(PR #1092)`
-- Try to audit log after tenant context creation `(PR #1051)`
-
-#### Workspaces
-
-- Build full redirect_to URL `(PR #1315)`
-- Apply 'secure headers' to SPA `(PR #1313)`
-
-#### Others
-
-- Copy changes to prompt settings `(PR #1286)`
-- Remove call to possibly nil error `(PR #973)`
-
-### Chore
-
-#### Ci
-
-- Add TAG_DB_TEST to all go_tests that depends on dbtest `(PR #1288)`
-- Add test task in workflows for dbtest to run on postgres 16 agents `(PR #1287)`
-- Use bazel 7.4.0 `(PR #1284)`
-- Nix - Update pg-utils for patch renames `(PR #1172)`
-- Move //client/svelte:e2e_test to Integration/E2E_test step `(PR #1148)`
-- Upgrade platform rules `(PR #1020)`
-- Move rustfmt flags to ci bazelrc `(PR #1017)`
-- Upgrade rules_ts and rules_js `(PR #1006)`
-- Upgrade aspect rules swc `(PR #988)`
-- Update rules rust v0.52.2 `(PR #985)`
-- Set test label prefix for backcompat tests `(PR #984)`
-- Upgrade rules_buf `(PR #974)`
-- Skip check if author is sg teammate `(PR #969)`
-- Bazel skylib 1.7.1 `(PR #936)`
-- Upgrade rules_go, gazelle, buildifier_prebuilt & rules_proto `(PR #791)`
-
-#### Code Intelligence
-
-- Remove unused parameter `(PR #1204)`
-- Rename flag -update -> -update-jobs-snapshots `(PR #1203)`
-- Use HTTPError type in uploadhandler code paths `(PR #1174)`
-- Remove unused parameters `(PR #1166)`
-- Introduce new FileContentsMap type for clarity `(PR #828)`
-- Use consistent casing for op strings `(PR #789)`
-- Clarify state transitions in GetUsages `(PR #755)`
-
-#### Database
-
-- Remove residual event_logs export stuff `(PR #864)`
-- Drop product_licenses and product_subscriptions `(PR #264)`
-
-#### Database
-
-- OOB migration for setting non-null columns via page `(PR #885)`
- - An out of band migration is introduced to set slowly set the value of a new column on all tables. If you have a large postgres database for Sourcegraph (1tb+) please ensure you deploy 5.9 instead of doing a multi-version upgrade past it.
-
-#### Dev
-
-- Use clearer names in health server initialization `(PR #1383)`
-- Make syntactic-code-intel-worker config uniform `(PR #1382)`
-- Enable metrics for precise-code-intel-worker in dev `(PR #1365)`
-- Merge fileutil package into fsext `(PR #1351)`
-- Migrate gitserver APIs from fs.FileInfo to fsext.FileInfo `(PR #1318)`
-- Introduce new package with FileInfo type `(PR #1317)`
-- Document footguns around escaping trace data writers `(PR #1291)`
-- Rename errors.ErrCollector -> errors.Collector `(PR #1265)`
-- Introduce new o11y-friendly RichError interface `(PR #1264)`
-- Replace WithErrors -> With for simplicity `(PR #1261)`
-- Generalize 'observation.With' for custom errors `(PR #1233)`
-
-#### Gitserver
-
-- Inline one-liner for error checking `(PR #1108)`
-
-#### Msp
-
-- Upgrade openfga dependency `(PR #1357)`
-
-#### Mt-Router
-
-- Disable proxy for s2 `(PR #1186)`
-- Use bazel to run generator `(PR #1065)`
-- Setup sentry for stage environment `(PR #1064)`
-- Add scripts to interact with local kv `(PR #1056)`
-
-#### Search
-
-- (new web ui) Enable new web UI by default `(PR #1373)`
-- Fix description for KUBERNETES_JOB_STEP_IMAGE `(PR #1360)`
-- Remove all non-single job pod code from Executors on Kubernetes. `(PR #1163)`
- - The environment variable `KUBERNETES_SINGLE_JOB_STEP_IMAGE` is now `KUBERNETES_JOB_STEP_IMAGE`.
- - Both environment variables are read, with preference given to `KUBERNETES_JOB_STEP_IMAGE`, to preserve backward compatibility, but reading of `KUBERNETES_SINGLE_JOB_STEP_IMAGE` may be removed in a future version.
-- (new web ui) Improve search input CSS `(PR #962)`
-
-#### Security
-
-- Update rules_apko and fix issues with sg wolfi v2 `(PR #901)`
- - Build containers using latest version of apko and rules_apko
-
-#### Telemetry
-
-- Report token usage per request to telemetry `(PR #1165)`
- - Added LLM token usage telemetry
-
-#### Telemetrygatewayexporter
-
-- Bump default TELEMETRY_GATEWAY_EXPORTER_EXPORT_INTERVAL `(PR #1303)`
-
-#### Telemetrytest
-
-- Add working example `(PR #1274)`
-
-#### Others
-
-- Fix storybook `(PR #1335)`
-- Add searchSource to new search events `(PR #1306)`
-- Make core-services internal/telemetry codeowners `(PR #1272)`
-- Upgrade Mocha from 8.3.4 to ^10 `(PR #1246)`
-- Move web app into child layout group to make room for embedded pages `(PR #1128)`
-- Run prettier `(PR #906)`
-- Upgrade hermetic cc toolchain `(PR #844)`
-- Upgrade rules_oci `(PR #818)`
-
-### Test
-
-#### Others
-
-- Implement structure for e2e tests `(PR #108)`
-
-### Refactor
-
-#### Cody-Gateway
-
-- Support max_completion_tokens for o1 models `(PR #947)`
- - Refactor(cody-gateway): support max_completion_tokens for o1 models
-
-#### Search
-
-- (new web ui) Update folder page table styling `(PR #1221)`
-
-#### Others
-
-- Move all business logic out of context resolvers `(PR #821)`
-
-### Reverts
-
-- Revert filtering out deprecated models on server `(PR #1276)`
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.9.x] oob: Run without tenant iterator for older versions `(PR #1429)`
-- Release: Prep stitched migration graph for release (#1388) `(PR #1389)`
- - N/a
-- Move cody.serverSideContext out of experimentalFeatures in site config `(PR #1385)`
-- Bugfix: add key to search result file header `(PR #1374)`
-- Gitserver: Parse LastChanged, LastFetched as nulltime `(PR #1372)`
-- Add code llama 7B model for ab test `(PR #1371)`
- - Adding code llama 7B for completions
-- Hide auto submit checkbox and add promoted badge `(PR #1367)`
-- Enable reranker by default if Gateway is enabled `(PR #1366)`
- - Cody Chat: the context engine now uses the reranker by default everywhere where Cody Gateway is enabled.
-- Db: Set default permissions to RLS user as well `(PR #1362)`
-- Remove promote-to-public dependency on bazel-push-images step `(PR #1356)`
-- Release: Only fail SBOM step if all uploads fail `(PR #1355)`
-- Source: Fix code host connection editor validation `(PR #1354)`
-- Bugfix: fix symbol tree hover selector `(PR #1353)`
-- Dev: Exclude generated code from prettier `(PR #1341)`
-- Prompt library: fix input description for prompt name `(PR #1337)`
-- Workspaces: Various mini fixes and a landing page `(PR #1336)`
-- Tenant: Fix gRPC in local dev `(PR #1334)`
-- Reapply "worker: Fix configuration error reporting" `(PR #1311)`
-- Search: document choice for ZoektScoreBoost `(PR #1310)`
-- Bugfix: escape file paths `(PR #1308)`
-- Change clickable elements to buttons `(PR #1298)`
-- Allow users to insert chips according to cursor position `(PR #1296)`
-- Change prompt creation flow feature flag name `(PR #1294)`
-- Pass Context to scip-syntax invocation to propagate cancellation `(PR #1290)`
-- Gomod: bump Zoekt for metrics improvement `(PR #1276)`
-- Redis: rename RedisWrapper `(PR #1273)`
-- Connectutil: UnexpectedError handler `(PR #1271)`
-- Add recommended flag to Prompt Templates `(PR #1268)`
- - Adds ability to mark prompts as recommended and then sort the recommended prompts at the top.
-- Bugfix: remove possibility of infinite recursion from the symbol tree `(PR #1256)`
-- Update cody web to 0.10.0 `(PR #1254)`
-- Bugfix: use short OID for file popover `(PR #1242)`
-- Remove outdated install instructions for sg `(PR #1227)`
-- Site: Fix missing unredaction in site config `(PR #1226)`
-- Update the sg docs link `(PR #1225)`
-- Multi-tenant: support synchronized user sign-out `(PR #1222)`
-- Sg: Fix db reset with default local settings `(PR #1217)`
-- Db: Improve error message for failed version update `(PR #1216)`
-- Only push final images on specific default runtypes `(PR #1211)`
-- OpenaI completions response type fixing for gpt-3.5-turbo-instruct and gpt-4o-mini `(PR #1207)`
-- Sg: Always run with lower privileges in dev `(PR #1197)`
-- Tenant: Deactivate OOB migrations `(PR #1192)`
-- Update Enterprise footer link on dotcom `(PR #1191)`
-- Bugfix: escape spaces in repo filter names `(PR #1187)`
- - Fixed a bug that would cause filters added from the search sidebar to not be correctly escaped
-- Attempt to fix flaky database test `(PR #1181)`
-- Chore/search - Remove runner.Spec.Image and use command.Spec.Image instead `(PR #1161)`
-- Dev: Disable otel in MT dev `(PR #1157)`
-- Bug(release): remove semver check for release branch in `sg backport` `(PR #1156)`
-- Make GetCodyContextAlternatives usable for evals `(PR #1152)`
-- Multi-tenant: list workspaces for the authenticated user `(PR #1146)`
-- Saml: Prevent logspam from context cancel `(PR #1143)`
-- Sg: Update localdev migration `(PR #1132)`
-- Tenant: Exclude product subscription tables from OOB migrator `(PR #1124)`
-- Add prompt mode `(PR #1123)`
- - Adds mode (CHAT, EDIT, INSERT) to prompt.
-- Gitserver: Clarify annotated tags behavior in ResolveRevision `(PR #1107)`
-- Rate limit: rename GlobalLimiter to DistributedLimiter `(PR #1100)`
-- Rate limit: make GlobalLimiter tenant-aware `(PR #1099)`
-- Saml: Fix nil panic `(PR #1098)`
-- Tenant: Disable migrator for ranking tables `(PR #1097)`
-- Rate limit: avoid using KeyValue within GlobalLimiter `(PR #1082)`
-- Rate limit: simplify inMemoryLimiter `(PR #1081)`
-- Tenant: Use frozen schema for OOB migration `(PR #1077)`
-- Make user emails soft-deletable `(PR #1071)`
-- Fix prompt duplication name `(PR #1067)`
-- Sg: Add no-open flag to workspaces create `(PR #1057)`
-- Creating/Editing Prompts Re-design `(PR #1054)`
- - The prompt creation/edit page has been redesigned.
-- GraphQL: remove anonymous rate limiter `(PR #1052)`
-- Oob: Make out of band migration runner tenant-aware `(PR #1047)`
-- Fix the CTA to point to chat `(PR #1044)`
-- Fix bug where text pushed buttons out of the container `(PR #1043)`
-- Dev: Implement wrangler router provider `(PR #1035)`
-- Router: Ensure HTTPS protocol on auth redirect `(PR #1034)`
-- Workspaces: Fix race condition registering state listener `(PR #1033)`
-- Dev: Introduce devDNS helper to resolve testdomains `(PR #1029)`
-- Add ability to duplicate existing prompts `(PR #1022)`
- - Users can now duplicate existing prompts.
-- GraphQL: simplify rate limit interface `(PR #1021)`
-- Add autoSubmit & includeViewerDrafts to Cody prompts `(PR #1003)`
- - Adds options to set prompts to "Auto Submit", which would automatically execute the prompts in one-click.
-- Vsce: patch release v2.2.19 `(PR #1002)`
-- Workspacesreconciler: fix grpc tls transport `(PR #1000)`
-- Tenant: Move externalhttp to separate package `(PR #996)`
-- Goroutine: reenable recording when multitenancy is enabled `(PR #995)`
-- Rename globaldbtenant to servicetenant `(PR #994)`
-- Ci/mt-router: add bazel build `(PR #990)`
-- Search: populate rev in select repo `(PR #989)`
-- Search: correct has.commit.after query example `(PR #987)`
-- Mt-router: import repo `(PR #986)`
-- Tenant: add mt-router to local dev `(PR #968)`
-- Tenant: Remove tenant auth redirect in monolith `(PR #967)`
-- Do not fail if link parsing fails in relative fix processing `(PR #966)`
-- Dev/msp: improve tfc creation error message `(PR #964)`
-- Goroutine: remove unused support for concurrency `(PR #963)`
-- Ci: Bump backcompat test target to 5.8.0 `(PR #954)`
-- Tenant: Mark tenant as initialized in db `(PR #950)`
-- Bug(release): workspace cash time dance `(PR #948)`
-- Tenant: Fix missing tenant in auth check `(PR #933)`
-- Db: Use non-superuser in DB tests `(PR #930)`
-- Db: Migrator can provision RLS user permissions `(PR #919)`
-- Ci: Bump backcompat target to 5.7 `(PR #916)`
-- Sg: Add default tenant to hosts `(PR #915)`
-- Remove "Don't commit private code yet" from PR template `(PR #908)`
-- "Prompt Library" in navbar (capitalize the L for consistency) `(PR #907)`
-- Blob View: Ensure copy button copies full path and not displayed path `(PR #903)`
- - Fixes a bug where certain copy path buttons were only copying the visible path and not the full path of a file.
-- Sg: Fix reference to deleted table in localdev MT migration `(PR #898)`
-- Tenant: Separate store package and create tenant1, tenant2 via workspaces `(PR #897)`
-- Tenant: skip some global Prometheus metrics `(PR #892)`
-- Sg: Fix startup of workspaces service `(PR #891)`
-- Ci: do not run executors e2e for eph `(PR #886)`
-- Perforce IP enforcement integration test `(PR #876)`
-- Goroutine: Make iterator required `(PR #875)`
-- Dev/msp: add project id validation `(PR #874)`
-- Db: Drop unused user_public_repos table `(PR #873)`
-- Deprecate long-running OOB migrations `(PR #872)`
-- Lib/cloudapi: add support for multi tenant mode `(PR #871)`
-- Event_logs: add new `aggregatedMetrics` ping `(PR #869)`
-- Redis: refactor rcache interface `(PR #860)`
-- Add extra reranker metrics to Gateway events `(PR #838)`
-- Sourcegraph teammate approval GH action `(PR #824)`
-- Redis: remove KEYS call in completions token usage `(PR #820)`
-- Tenant: Properly initialize RBAC `(PR #754)`
-- Sg: Provision RLS user during setup `(PR #749)`
-- Tenant: Add database migration to enable RLS policies `(PR #743)`
-- Tenant: Add workspace ID and display name `(PR #741)`
-- Tenant: Check that all tables have RLS policy set `(PR #734)`
-- Tenant: Simplify dev migration `(PR #726)`
-- Db: Mark tenant_id columns as non-nullable `(PR #707)`
-- Feature: add internal/tracelog: a log.Logger that only logs if tracing is enabled `(PR #634)`
- - Added a new `internal/tracelog` package that provides a conditional logger for tracing. This logger only logs when tracing is enabled, improving performance by reducing unnecessary logging.
-- Hackathon: SBOMs feat. bazel `(PR #566)`
- - Feature(security): Publish SBOMs for Sourcegraph releases
-- Tenant: Unique constraint migration `(PR #430)`
-- Security: Auto-update package lockfiles for Sourcegraph base images `(PR #246)`
-- (feature): site-config: add ipParseCacheSize to schema for enforce IP restrictions schema `(PR #220)`
- - Added a new `ipParseCacheSize` configuration option for sub-repo permissions to control the caching of Perforce "Host" to IP address translations.
-- Feature/source: implement core logic for parsing / evaluating Perforce IP addresses for sub repo permissions `(PR #46)`
- - For the Perforce IP permissions implementation, this PR introduces machinery that implements the ability to parse the [IP address expressions from the perforce protections table](https://www.perforce.com/manuals/p4sag/Content/P4SAG/protections.set.html#IP_address) and compare them against the user's IP address (that's advertised from the incoming X-FORWARDED-FOR header.Namely, this PR:
- - Introduced parsePerforceIPString, which parses Perforce IP strings (e.g., CIDR expressions, specific IP addresses) into an ipMatcher for IP validation.
- - Implemented multiple ipMatcher types, including:
- - AddrMatcher for exact IP matches.
- - CidrMatcher for checking IPs within a CIDR range.
- - AlwaysTrueMatcher for wildcard * Expressions.
- - Added toggleableIPMatcher, which either enables or disables IP enforcement based on site configuration settings.
- - Created matcherCache for caching recent IP string to ipMatcher translations, improving efficiency.
- - Updated NewRequestClientIPSource to properly derive IP from the x-forwarded-for header.
-- Feature/site-config: add site configuration setting for enforcing IP restrictions `(PR #45)`
- - Added enforceIPRestrictions setting to the SubRepoPermissions section in site configuration, allowing IP-based enforcement using the X-FORWARDED-FOR header.Updated JSON schema to require SubRepoPermissions to be enabled when enforceIPRestrictions is enabled.Added validation in Perforce external service configuration to ensure IgnoreRulesWithHost and enforceIPRestrictions cannot be enabled simultaneously.Updated internal implementation to associate each Perforce rule with an IPMatcher for IP-based rule enforcement.
-- Feature/plumbing: sub_repo_perms: do pumbling to thread comparing IP addresses alongside paths `(PR #23)`
- -
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Check for external dbs (#1083) `(PR #1121)`
-- Bug(release): workspace cash time dance (#948) `(PR #949)`
-
-{/* RSS={"version":"v5.9.0", "releasedAt": "2024-11-04"} */}
-
-
-
-# 5.8 Patch 1
-
-## v5.8.1579
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.8.1579)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.8.1579)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.8.1579)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.8.1579)
-
-### Features
-
-#### Telemetry
-
-- Check for external dbs (#1083) `(PR #1121)`
-
-### Fix
-
-#### Search
-
-- Fix Apollo related error in Safari `(PR #1016)`
-
-#### Others
-
-- Fix OOB migration for batch changes table `(PR #1113)`
-
-### Chore
-
-#### Security
-
-- Upgrade src-cli version to address CVE `(PR #1117)`
- - Upgrade src-cli version to 5.8.1 to address CVE-2024-24788, CVE-2024-24790, CVE-2024-34156 Backport b8da20f6fa148f30fe97d9267a536bd5a84502f1 from #1112
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- Backport 566 to 5.8.x: SBOMs with Bazel `(PR #1089)`
- - Feature(security): Publish SBOMs for Sourcegraph releases
-- [Backport 5.8.x] Update src-cli MinimumVersion from 5.5.0 to 5.8.1 `(PR #1087)`
- - Chore(release): Update minimum supported version of src-cli to 5.8.1 Backport 8f039bdcb5425071dd6e4dfddfb2cb436e124b05 from #1079
-
-{/* RSS={"version":"sourcegraph 5 Release 8 Patch 1", "releasedAt": "2024-10-16"} */}
-
-# 5.8 Patch 0
-
-## v5.8.0
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.8.0)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.8.0)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.8.0)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.8.0)
-
-### Features
-
-#### Accessrequests
-
-- Allow to file another request when original one has been processed `(PR #416)`
-
-#### Appliance
-
-- Refactor install flow, status, state, stage `(PR #352)`
-
-#### Batch Changes
-
-- Verbose error logging for batch syncer with BATCH_CHANGES_SYNCER_VERBOSE_ERROR_LOGGING `(PR #639)`
- - Feat(batches): verbose error logging for batch syncer with BATCH_CHANGES_SYNCER_VERBOSE_ERROR_LOGGING
-- Add experimental feature to add a fork name suffix to avoid name collisions `(PR #230)`
- - Feat(batches): add experimental feature to add a fork name suffix to avoid name collisions
-
-#### Ci
-
-- Enable workflows telemetry `(PR #774)`
- - Enable aspect workflows ci telemetry
-- Convert onconflict gen to bazel `(PR #486)`
- - Generate `constraints.go` using bazel for onconflict linter
-
-#### Search
-
-- (new web ui) Prefill search input with selected text when pressing '/' `(PR #577)`
-
-#### Code Intelligence
-
-- Updates the autoindexing images for TypeScript and Ruby `(PR #805)`
- - TypeScript: Fixes references to object properties in various places
- - Ruby: Fixes references to `Opus::` in Ruby tests
-- Syntactic indexing go evaluation suite and fix tests on CI in general `(PR #482)`
-
-#### Cody
-
-- Update public OpenAPI spec `(PR #796)`
-- Add basic support for server-rendered prompts `(PR #723)`
- - `/.api/completions/stream` endpoint now accepts `"file"` and `"repo"` parts alongside `"text"` and `"image_url"`
-- Add vision support `(PR #546)``/.api/completions/stream` now supports vision using the OpenAI-compatible base64 encoding of images. Example `"content": [{"type": "image_url", "image_url": { "url": "data:image/png;base64,{{IMAGE_BASE64}}" } }]`. Requires the query parameter `api-version=3` or higher.
-- Document internal APIs with TypeSpec/OpenAPI `(PR #505)`
-
-#### Cody-Gateway
-
-- Log requestinteraction in events `(PR #814)`
-
-#### Database
-
-- BestEffortForce will kill blocking transactions in migrator `(PR #781)`
- - DB Migrator is given the ability to automatically run pg_terminate_backend on transactions blocking a migration. This is done best effort and is opt-in per migration.
-
-#### Dev
-
-- (new web UI) Make it easier to run tests without proxying `(PR #798)`
-- Add obvious 'target service' notice to `sg msp` commands `(PR #725)`
-
-#### Local
-
-- Add cody-gateway version endpoints `(PR #685)`
- - Add cody-gateway environments for subcommand `live`
-- Sg - Install pgvector `(PR #520)`
- - Mac: install pgvector from sourcegraph/pgvector-12
- - Ubuntu: install postgresql-12-pgvector
-
-#### Msp
-
-- Make databasetest shared `(PR #393)`
-
-#### Msp/Databaseutil
-
-- Make 'upsert' package shared `(PR #394)`
-
-#### Release
-
-- Remove test from promotion ci during release pipeline `(PR #495)`
- - Remove upgradetest from the release promotion ci
-- Stop releases from going out if there's a PR with the release-blocker label `(PR #472)`
- - Allow PRs to block a release from going out 😈
-- Use releaseregistry for release banner [REL-145] `(PR #429)`
- - Implement using the release-registry for the banner
-
-#### Search
-
-- Bump Zoekt for ranking and memory improvements `(PR #816)`
- - Reduce peak memory required for Zoekt indexing
- - Improve search ranking by using repo freshness as a scoring signal
-- (new web ui) Add split view support to commit page `(PR #775)`
-- Enable similarity search by default `(PR #772)`
- - With this change we rank repository search results by similarity. Before, repository search results were ordered by star count instead. This affects suggestions and repository search results. To disable this feature and return to the previous behavior, set `{ "experimentalFeatures": { "disableOrderBySimilarity": true}}` in global settings.
-- (new web ui) Add /cody/dashboard page `(PR #764)`
-- (new web ui) Add account connection modal `(PR #731)`
-- (new web ui) Image previews `(PR #623)`
-- Respect match order for search.results.repositories resolver `(PR #575)`
- - The GraphQL endpoint `search.results.repositories` now returns the list of repositories in the order of the matches we
-found. Before, repositories were sorted by id.
-- Remove fzf star tiebreaker for repo suggestions `(PR #541)`
-- Preserve ranking for repo suggestions `(PR #447)`
-- (Svelte) open documentation links in new tabs `(PR #401)`
-- Open documentation links in a new tab `(PR #359)`
-
-#### Source
-
-- Add ssh auth support for more code hosts `(PR #615)`
- - BitBucket Cloud, BitBucket Server, GitLab, Gerrit, Gitolite, AWS CodeCommit Azure DevOps code host connections now support configuring SSH key authentication from the UI instead of mounting from disk.
-- Add support for ssh auth to github `(PR #597)`
- - GitHub and generic Git code host connections now support configuring SSH key authentication from the UI instead of mounting from disk.
-- Support Azure Devops Server (onPrem) with NTLM authentication `(PR #217)`
-
-#### Tenant
-
-- Allow configuring host instance id `(PR #826)`
-- Add initial Workspaces reconciler `(PR #594)`
-
-#### Wolfi
-
-- Update server + postgresql-12 images `(PR #519)`
- - Add pgvector to server and postgresql-12 images
-- Add pgvector-12 package `(PR #513)`
- - Build and add pgvector extension
-
-#### Workspaces
-
-- Implement integrations listworkspaces `(PR #794)`
-- Implement management listworkspaces `(PR #793)`
-- Delete workspace RPC `(PR #729)`
-- Add DB list workspaces `(PR #728)`
-- Add destroy state internally `(PR #644)`
-- Init database schemas, add Workspaces store handler `(PR #395)`
-- Add and demo notifications SDK `(PR #356)`
-
-#### Others
-
-- Add reranker support to Cody Gateway `(PR #670)`
-- Embeddings: v2 `(PR #507)`
- - Introduce a new experimental embeddings index and context retriever.
-- Make scip-syntax process multiple languages in a single invocation `(PR #364)`
-- Add OpenAI o1 models and early-access models support to Cody Gateway `(PR #323)`
- - [feat(code gateway): add support for OpenAI o1 models and early-access models handling.](feat: add OpenAI o1 models and early-access models support to Cody Gateway)
-- Implements pagination for syntactic usages `(PR #310)`
-
-### Fix
-
-#### Batch Changes
-
-- Stamp the executor binary with version information `(PR #665)`
- - Override `internal/version.version` with `x_defs` at build time in executor
-- Disabled "select all" checkbox if all nodes are already disabled `(PR #483)`
- - Fix(batches): disabled "select all" checkbox if all nodes are already disabled
-
-#### Ci
-
-- Add runfile initialization to upgradetest file `(PR #890)`
-- Use generated json in migrations filegroup `(PR #802)`
-
-#### Search
-
-- (new web ui) Show correct document highlights when codegraph data is available `(PR #620)`
-- 'Save search' action on search results page does not navigate to the saved search creation page `(PR #549)`
-
-#### Code Intelligence
-
-- Correctly escape special characters in repo names and identifiers `(PR #710)`
- - The new usagesForSymbol API correctly searches repos whose names contain spaces or other special characters.
-- Use multiple language: filters for search-based usages in case of ambiguity `(PR #708)`
-- Cleanup button title `(PR #581)`
-- Fetch tags for scip-go auto-indexing jobs `(PR #371)`
- - Go cross-repo navigation for tagged versions should work better when using scip-go for auto-indexing. Navigation based on SCIP indexes generated using scip-go in CI or cron jobs should be unaffected.
-
-#### Cody
-
-- Return client-side model config via API `(PR #713)`
-- Disable ModelAPIEnabled for Dotcom `(PR #678)`
- - `modelsAPIEnabled` is always false for dotcom
-- Allow accuracy category in JSON site config `(PR #641)`
-- Use "balanced" instead of "accuracy" category for SOTA models `(PR #640)`
-- Allow empty `finish_reason` in `/.api/llm/chat/completions` `(PR #539)`
- - The `/.api/llm/chat/completions` endpoint will now return an empty string `""` for `finish_reason` instead of the string `"unknown_please_report_bug()"`.
-
-#### Database
-
-- Use native UUID in telemetry export queue `(PR #669)`
-
-#### Database
-
-- Correctly find CreateIndexConcurrentlyPhases in migrator `(PR #809)`
- - INFO logs for migrations that create index concurrently will always correctly report the phase we are in. Previously we sometimes would report a phase of -1.
-
-#### Dev
-
-- Use 9002 for pubsubemulator, simplify shutdown `(PR #780)`
-- Give pubsub pings a more generous timeout locally `(PR #732)`
-- Use key value for PGDSN in SAMS, EP `(PR #689)`
-
-#### Graph
-
-- Prevent duplicate results when performing find references `(PR #497)`
-
-#### Local
-
-- Add no-xattrs when running schema descriptions target locally `(PR #905)`
-- Sg - Return the error when checking for remote branch/commits `(PR #485)`
- - Dump more information out about the branch if it is out of sync
-
-#### Release
-
-- Remove embeddings from promotion script (#360) `(PR #361)`
- - Remove embeddings in promotion script
-
-#### Sams-Notifications
-
-- Make subscriber tenant-aware `(PR #668)`
-
-#### Search
-
-- (new web UI) Fix cody dashboard background colors in dark mode `(PR #845)`
-- (new web ui) Fix list styles in rich text documents `(PR #835)`
-- (new web ui) Fix styling of rich text documents `(PR #834)`
-- (new web ui) Show added lines content `(PR #832)`
-- Fix client-side query validation for rev: filters `(PR #810)`
- - We have updated the client-side query validation to allow combining `rev:` filters with query-based search contexts.
-- (new web ui) Clicking 'Code search' in then navbar of the old UI does not redirect to the new UI `(PR #761)`
-- (new web ui) Use a Map to group symbol names `(PR #721)`
-- VSCode Search extension: Update bug-reporting URL `(PR #693)`
-- VSCode Search extension: fix and improve proxy settings `(PR #679)`
-- In search jobs, don't time out fetches `(PR #666)`
- - For very large repositories, search jobs could time out while fetching the repository. Now, search jobs can fetch and search over repositories, even if they take a long time to fetch.
-- (new web ui) Use CodeGraph data to validate hover occurence `(PR #656)`
-- (new web ui) User menu feature parity `(PR #628)`
-- Add index for search jobs janitor `(PR #624)`
- - We added a new database index to speed up a janitor job which is run as part of Search Jobs. Before, the janitor job might have significantly delayed migrations during an upgrade.
-- (new web ui) Respect 'experimentalFeatures.structuralSearch' setting `(PR #621)`
-- VSCode Search extension forgetting endpoint URL and PAT `(PR #560)`
-- Fix logo links in the VSCode Search extension `(PR #547)`
-- Update help router for local development `(PR #271)`
-
-#### Sg
-
-- Config.GetEnv uses GetEnv for os.Expand `(PR #380)`
-
-#### Sg/Msp
-
-- Make embed template fmt-compliant, add docstring `(PR #412)`
-
-#### Telemetry
-
-- Ensure telemetry export only occurs once at a time `(PR #565)`
- - Fix an issue where duplicate telemetry can be exported when the `worker` service is scaled horizontally
-
-#### Tenant
-
-- Prevent race condition in MockEnforceTenant `(PR #837)`
-- Stop Iterate if it breaks `(PR #387)`
-
-#### Test
-
-- Make workspaces waitforupdate test more reliable `(PR #813)`
-
-#### Others
-
-- Make rerank metric name distinguishable `(PR #846)`
-- Use correct label in splitting metric in embeddings indexing `(PR #771)`
-- Add rerank API token variable to sg.config.yaml `(PR #716)`
-- Adjust formatting when using unix sockets `(PR #653)`
- - Fix PGDATASOURCE format when using unix sockets
-- Move deletion inside nil check `(PR #556)`
-- Incrementally updating embeddings index `(PR #555)`
-- Decrease parallelism in embeddings indexing `(PR #543)`
-- Filter out empty context items in resolver `(PR #537)`
-- VIP user access to allowed models in Cody Gateway `(PR #528)`
-- Properly escape email in URL query `(PR #426)`
-- Use preferred mermaid APIs `(PR #397)`
- - Fixes a bug that can cause errors when rendering many mermaid diagrams on a page.
-
-### Chore
-
-#### All
-
-- Use constraint names in ON CONFLICT statements `(PR #473)`
-
-#### Batch Changes
-
-- Add description for env var `(PR #652)`
-
-#### Ci
-
-- Remove stale CODENOTIFY entries `(PR #439)`
-- Bump Go to 1.23.1 `(PR #391)`
-- Update gomod lint `(PR #382)`
- - Remove lint that checks for promotheus/common 0.32.1 since we are using 0.48
-- Upgrade golang.org/x/tools to 0.24 `(PR #373)`
- - Address printf linter flagged issues
-- Add annotation for no merge base `(PR #345)`
- - Post an annotation if there is no merge base
-
-#### Code Intelligence
-
-- Bump autoindexing image SHAs `(PR #831)`
- - Upgrades default auto-indexing images to the latest versions (1) scip-go to v0.1.21 (2) scip-typescript to v0.3.14
-- Initialize test to consistent state `(PR #825)`
-- Unify GetUsages logic at Service level `(PR #752)`
-- Unify local phase usage extraction logic `(PR #748)`
-- Document code nav logic & limitations `(PR #742)`
-- Factor out & document package mentions code `(PR #740)`
-- Bump autoindexing image SHAs `(PR #681)`
- - Upgrades the default scip-go auto-indexing image to v0.1.20
-- Log number of paths in auto-inference logic `(PR #635)`
-- Add context to timeout error for commit listing `(PR #607)`
-- Clarify doc comment for NewCanonicalDocument `(PR #480)`
-- Document scip.Document and range canonicalization code `(PR #459)`
-- Split inverted ranges extraction code & add comments `(PR #458)`
-- Use UploadRelPath instead of string `(PR #438)`
-- Bump auto-indexing image SHAs `(PR #403)`
- - Bumps default auto-indexing scip-go image to use Go 1.23.1 and scip-go v0.1.19
-
-#### Cody
-
-- Add HTTP record/replay test case for AWS Bedrock backend `(PR #452)`
-- Add HTTP record/replay test case for Anthropic LLM backend `(PR #448)`
-- Add HTTP record/replay test case for Azure OpenAI `(PR #446)`
-- Add HTTP record/replay test case for OpenAI LLM backend `(PR #445)`
-- Add HTTP record/replay test case for Fireworks LLM backend `(PR #441)`
-- Add HTTP record/replay test case for Google LLM backend `(PR #410)`
-
-#### Database
-
-- Set app.current_tenant outside of multitenant `(PR #502)`
-
-#### Database
-
-- Remove unused redis_key_value table `(PR #688)`
-- Update oobmigration min version to 4.0 `(PR #540)`
-- GetRepositoriesForIndexScanQuery uses constraint `(PR #534)`
-- Handle failed transactions in setTenant `(PR #533)`
-- Use new constraints for on conflict `(PR #510)`
-- Constraint for unique indexes used in on conflict `(PR #504)`
-
-#### Dev
-
-- Bump Go version to 1.23.2 `(PR #830)`
-
-#### Frontend
-
-- Sync.Once to sync.OnceValue in service connections `(PR #376)`
-
-#### Gomod
-
-- Update zoekt's dependencies `(PR #462)`
-
-#### Local
-
-- Fix ill-formed go.mod file `(PR #434)`
-- Update sg installation docs `(PR #390)`
-
-#### Release
-
-- Prepare stitch graph for 5.8 `(PR #852)`
- - Backport 6b58d4b62bba8f558c097fa97a751e51b178c537 from #850
-
-#### Release
-
-- Clarify backport error `(PR #784)`
-
-#### Reranker
-
-- Clean up resolvers, improve perf, add more useful spans `(PR #776)`
-
-#### Search
-
-- (new web ui) Add telemetry for opt-out/in `(PR #766)`
-- Remove codeintel ranking code `(PR #719)`
-- Remove cursor based repo pagination `(PR #663)`
-- VSCode Search extension: remove "SOURCEGRAPH SEARCH" stutter in favor of "Info" `(PR #559)`
-- Update wording from "Sourcegraph extension" to "Sourcegraph Search extension" `(PR #558)`
-
-#### Semgrep
-
-- Add upload artifact step `(PR #616)`
-
-#### Sg
-
-- Remove enforce-tenant-id --disable `(PR #705)`
-
-#### Tenant
-
-- Restructure tenant package into internal subpackages `(PR #587)`
-
-#### Trace
-
-- Prevent parallel calls to ConfigureStaticTracerProvider `(PR #467)`
-
-#### Others
-
-- Enable reranker by default `(PR #804)`
- - Reranker for context retrieval is turned on by default
-- Disable IDF jobs `(PR #783)`
-- Clean up visible uploads initialization `(PR #739)`
-- Rename gatherLocations -> gatherUsages `(PR #737)`
-- Cleanup metadata generation code in Gateway `(PR #714)`
-- Remove unused endpoints from 969 prototype `(PR #712)`
-- Trigger changelog audit on label event `(PR #562)`
-
-### Refactor
-
-#### Svelte
-
-- Introduce extensible GraphQL store `(PR #309)`
-
-#### Others
-
-- Move cody context business logic outside of resolvers `(PR #647)`
-- Remove search mode `(PR #629)`
-- Rename NonLocal -> Global in scip_strict parser `(PR #366)`
-
-### Reverts
-
-- Revert "pgdsn: Allow to fall back to default variables and overwrite … `(PR #369)`
-
-### Uncategorized
-
-#### Others
-
-- Bug(release): workspace cash time dance (#948) `(PR #949)`
-- [Backport 5.8.x] tenant: Improve OOB migration from learnings `(PR #939)`
-- [Backport 5.8.x] Revert "migrator: Backfill IDs from overrides into right schema only" `(PR #914)`
-- [Backport 5.8.x] migrator: Backfill IDs from overrides into right schema only `(PR #894)`
-- [Backport 5.8.x] Revert "fix(migration-graph): add no op migration to backfill overrides" `(PR #888)`
-- [Backport 5.8.x] Update lockfiles with newer version of apko `(PR #882)`
- - Backport 7f2c3bacf6778fef5f2ef444db2ebd873903c5e6 from #881
-- [Backport 5.8.x] Revert "Update rules_apko and fix issues with `sg wolfi` (#696)" `(PR #880)`
-- [Backport 5.8.x] db: Bump date for schema migrations stitch date `(PR #878)`
-- Tenant: OOB migrator covers more tables `(PR #842)`
-- Tenant: Default to ID 1 for inserts `(PR #840)`
-- Migrator: Correctly render indexing progress `(PR #812)`
-- Adding code qwen 2p5 and deepseek long prompt optimized model `(PR #811)`
- - Adding code qwen 2p5 and deepseek long prompt optimized model `(PR #811)`
-- Security: Update docker dind to latest release `(PR #808)`
-- Saml: Record requests `(PR #788)`
-- Saml: Return error instead of appending to it `(PR #787)`
-- Add password for sourcegraph-rls `(PR #786)`
-- Cmd/workspaces: setup routes during ws creation `(PR #782)`
-- Db: Fix missing globaldbtenant `(PR #779)`
-- Trace: Fix span pollution in authenticateByCookie `(PR #753)`
-- Sg: Make sure sourcegraph_rls user also has permissions on future tables `(PR #750)`
-- Tenant: Fix license check missing tenant `(PR #747)`
-- Migration: Skip CREATE TABLE if possible `(PR #746)`
-- Tenant: Fix more tenant-less contexts `(PR #745)`
-- Tenant: Mark tenants tables as data tables `(PR #738)`
-- Feat(Cody Reranker): clean up site config and add license-based auth for Cody Gateway `(PR #724)`
-- Sg: Fix go generate `(PR #722)`
-- Tenant/db: Safer ordering of migration statements `(PR #718)`
-- Gitserver: Fix some missing tenant contexts `(PR #717)`
-- Refactor(cody gateway): update model list for autocompletes `(PR #711)`
-- Db: Add tenant_id to last remaining columns `(PR #709)`
-- Db: Add OOB migration to backfill tenant ID `(PR #706)`
-- Tenant: pass correct context to SetCloneStatus `(PR #701)`
-- Sg: Reject empty workspace names `(PR #700)`
-- Sg: Fix enforce-tenant-id after redis_key_value was dropped `(PR #697)`
-- Update rules_apko and fix issues with `sg wolfi` `(PR #696)`
-- Redis: don't check tenant for system commands `(PR #695)`
-- Tenant: only skip goroutine recording if tenancy is enabled `(PR #694)`
-- Search jobs: set high timeout to protect against stuck jobs `(PR #692)`
-- Tenant: fix remaining goroutine recorder errors `(PR #691)`
-- Reapply "feat(cody): add vision support (#546)" (#686) `(PR #687)`
-- Add detailed intent-score pairs to chat intent response `(PR #682)`
-- Jsm/disable model api `(PR #680)`
-- Site admin: simplify goroutine recording `(PR #677)`
-- Update client/vscode/CHANGELOG.md for PR #560 `(PR #676)`
-- Tenant: Mapper returns more precise error `(PR #675)`
-- Tenant: add missing IteratorFactory `(PR #674)`
-- Tenant: Make migrations on startup pass in local dev `(PR #667)`
-- Msp: report error when PGDSN does not have expected template variable `(PR #664)`
-- Final ranker config for context v2 `(PR #659)`
- - Changing the ranker configuration -- Number of items fetched from zoekt
-- Sg: Make enforce-tenant-id idempotent again `(PR #655)`
-- Refactor(cody gateway): add deprecated models back to dotcom model list `(PR #649)`
-- Gomod: bump Zoekt for memory debugging `(PR #646)`
-- Dev: ensure multi-tenant migration has been run `(PR #645)`
-- Refactor(cody gateway): update dotcom models list `(PR #643)`
- - Cody Gateway: update default model list for dotcom.
-- Bump Cody Web to 0.9.0 version `(PR #642)`
-- Sg cloud eph deploy: --wait flag `(PR #637)`
-- Executors: Check for rows affected instead of running into unique constraint error `(PR #632)`
-- Symbols: hide scary error messages from users `(PR #631)`
-- Add postgres as datasource for Grafana `(PR #627)`
-- Add time to first token for upstream as header `(PR #618)`
-- Workspaces: implement `managementv1.UpdateWorkspaceMembership` RPC `(PR #613)`
-- Ci: add cloud ephemeral pipeline `(PR #611)`
-- Add sourcegraph ranker `(PR #610)`
-- Workspaces: implement GetWorkspaceMembership rpc `(PR #609)`
-- Workspaces: implement `ReportInstanceState` RPC `(PR #604)`
-- Workspaces: implement `ListWorkspaceMemberships` RPC `(PR #603)`
-- Tenant: Add method to create a new tenant in database `(PR #593)`
-- Workspaces: support []iam.Role in WorkspaceMembership `(PR #590)`
-- Cody Web: bump cody web to 0.8.3 `(PR #589)`
-- Cody context: fix bug in 'archived' change `(PR #588)`
-- Workspaces: Add WorkspaceState to GetWorkspace rpc `(PR #585)`
-- Tenant: Add support for reading tenant by hostname from database instead of hard-coded `(PR #580)`
-- Workspaces: implement user `CreateWorkspace` API `(PR #574)`
-- Workspaces: implement GetWorkspace RPC `(PR #573)`
-- Gomod: bump Zoekt for indexing memory optimization (again) `(PR #572)`
-- Use direct routing by default if present in the backend `(PR #571)`
-- Workspaces: database get/upsert instances `(PR #568)`
-- Workspaces: implement `ReportWorkspaceState` RPC `(PR #564)`
-- Gomod: bump Zoekt for indexing memory optimization `(PR #557)`
-- Bump Cody Web to 0.8.2 version `(PR #545)`
-- Clean up rerankers for Cody Context `(PR #544)`
-- Sg(tenant): Add migration for constraints to local dev `(PR #542)`
-- Rockskip: use full ctx from emitIndexRequest `(PR #532)`
-- Add billing metadata for core search, batch, and insights events `(PR #529)`
-- Cody context: support archived and forked repos `(PR #527)`
-- Vsce: patch release v2.2.18 `(PR #526)`
-- Fix context v2 zoekt subqueries `(PR #523)`
-- Repo-updater: continue start-up if hydration fails `(PR #521)`
-- Cody Web: bump cody web to 0.8.1 `(PR #518)`
-- Cody-gateway: do not PING Redis too often `(PR #517)`
-- Rockskip: Remove another duplicative BTREE index `(PR #516)`
-- Rockskip: Remove duplicative BTREE index `(PR #515)`
-- Db(tenant): lock between setTenant and exec to ensure session variable is set atomically `(PR #512)`
-- Perf: reduce allocations in `evalKeywordExpansions` `(PR #506)`
-- Local/nix: add pgvector extension `(PR #503)`
- - Enable pgvector in nix managed postgres db
-- Redispool: allow call sites to custmoize their `TestOnBorrow` and `Dial` `(PR #499)`
-- Cody-gateway: wait for Redis connection `(PR #498)`
-- Cody-gateway: set `MaxActive` for Redis `(PR #496)`
-- Bump Cody Web to 0.8.0 version `(PR #492)`
-- Recorder: remove RegistrationDone method `(PR #489)`
-- Repo-updater: add tenancy `(PR #479)`
-- Tenant: Basic support in worker `(PR #476)`
-- Cody context: return matched ranges of chunks `(PR #474)`
-- Add(cody): `api-version=2` for incremental streaming LLM responses `(PR #470)`
- - The `/.api/completions/stream` endpoint now accepts an `api-version=2` query parameter that returns incremental text text responses when using `"stream": true` to improve performance and reduce bandwidth.
-- Remove Neovim from Cody dashboard `(PR #469)`
-- Fix flaky test by bringing down memory utilization of POS filter `(PR #468)`
-- Msp/iam: fixup checks for `ErrNoRows` `(PR #465)`
-- Gomod: bump Zoekt for zoekt-git-index profiling `(PR #453)`
-- Worker: Make resetter a periodic goroutine `(PR #450)`
-- Gomod: bump Zoekt for index optimization `(PR #449)`
-- Http: Add context to more requests `(PR #437)`
-- Conf: Remove alias for ExternalURL `(PR #436)`
-- Frontend: Drop unused orgs_open_beta_stats table `(PR #435)`
-- Msp/iam: do not close connection pool on startup `(PR #433)`
-- Filter out terms based on POS and expand Zoekt queries `(PR #432)`
-- Authn: Create providers on the fly with current request context `(PR #424)`
-- Tenant: Use request context when creating OIDC provider `(PR #422)`
-- Redis: Add optional tenant isolation `(PR #421)`
-- Tenant: Add context to LogBackendEvent `(PR #420)`
-- Remove debug log statement `(PR #418)`
-- Minor doc change `(PR #413)`
-- Sg: Use custom site-config for multitenant runset `(PR #405)`
-- Retrieve and display change log during upgrades. `(PR #400)`
- - [Appliance] Retrieve live changelog and display information about the release to be upgraded.
-- Svelte: fix text wrapping for file popover `(PR #399)`
- - Fixed a bug in the web app rewrite where long paths would cause file popovers to wrap
-- Svelte: fix loading for ref panel `(PR #398)`
- - Fix loading behavior for the reference panel in the web app rewrite
-- Gomod: bump Zoekt for index optimization `(PR #389)`
-- Svelte: SymbolTree followups `(PR #388)`
-- Repo-updater: hack so it uses tenant 1 for now `(PR #386)`
-- Gitserver: inherit tenant for repoUpdateOrClone `(PR #385)`
-- Chore: close rows `(PR #379)`
-- Database: use keyword value format if connecting via unix socket `(PR #378)`
-- Frontend: always use DSN from ServiceConnections `(PR #375)`
-- Reapply "pgdsn: Allow to fall back to default variables and overwrite..." `(PR #374)`
-- Postgresdsn: support PGHOST as a filepath `(PR #372)`
-- Release: specifiy download directory for changelog `(PR #365)`
- - Specify download directory for changelog
-- Frontend: Don't double-close readiness channel during auto upgrades `(PR #358)`
-- Workspaces: initial IAM schema and implement `iam.Store` `(PR #353)`
-- Enterprise-portal: implement `iam.Store` and add tests `(PR #351)`
-- Enterprise-portal: create `internal/iam` package and run schema tests in CI `(PR #350)`
-- Tenant: Add tenants 1 and 2 in localdev `(PR #340)`
-- Sg: Introduce first multitenant runset `(PR #335)`
-- Pgdsn: Allow to fall back to default variables and overwrite frontend `(PR #332)`
-- Remove k8s utils dependency `(PR #320)`
-- Msp/iam: fixup migration PG 12 compatibility and sanity test migrations `(PR #301)`
-- Tree-sitter based chunker for embeddings indexing `(PR #298)`
-- Context: return multiple chunks per file from Zoekt results `(PR #294)`
- - We can improve recall by fetching multiple chunks per file from Zoekt results by turning on the `cody-reranker` feature flag.
-- Add(cody): `api-version=2` incremental streaming LLM response `(PR #293)`
- - The `/.api/completions/stream` endpoint now accepts an `api-version=2` query parameter that returns incremental text text responses when using `"stream": true` to improve performance and reduce bandwidth.
-- Context: improve ranker integration + loosen the tap `(PR #291)`
- - Ranker for chat context is now available behind `use-reranker` feature flag.
-- Hook Upgrade page to Release Registry API `(PR #276)`
-- Move IDF repository stats into Postgres and compute them with the background worker `(PR #270)`
-- Svelte: add symbol tree `(PR #209)`
- - Adds a symbol tree to file page in the experimental webapp
-- Redis: respect context when connecting `(PR #194)`
-- Appliance Admin UI `(PR #168)`
- - [Appliance]: Adds the upgrade path for the Appliance Admin UX
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Remove the other embedding reference `(PR #362)`
- - N/a
-
-{/* RSS={"version":"v5.8.0", "releasedAt": "2024-10-08"} */}
-
-# 5.7 Patch 1
-
-## v5.7.2474
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.7.2474)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.7.2474)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.7.2474)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.7.2474)
-
-### Fix
-
-#### Batch Changes
-
-- Workaround for a bug in GitHub `(PR #584)`
- - Fix(batches): workaround for a bug in GitHub
- Backport aad3a04f8c93561a61c404e69132e70a22d0acba from #576
-
-#### Release
-
-- Remove the other embedding reference `(PR #362)`
- - N/a
-
-#### Search
-
-- Remove query expansion `(PR #586)`
- - This fixes a bug where we added "readme" too often to the context. Backport 28ff196a663f537c6cb6340f976a91431509a90e from #582
-
-### Reverts
-
- There were no reverts for this release
-
-### Uncategorized
-
-#### Others
-
-- [Backport 5.7.x] Search: allow queries with only lang filters `(PR #583)`
-
-{/* RSS={"version":"v5.7.2474", "releasedAt": "2024-09-18"} */}
-
-# 5.7 Patch 0
-
-## v5.7.0
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.7.0)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.7.0)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.7.0)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.7.0)
-
-### Features
-
-#### Appliance
-
-- Enable frontend form and stub out, no backend routes yet `(PR #80)`
-
-#### Batch Changes
-
-- Add a container registry deny list `(PR #109)`
- - Add a container registry deny list to complement the allow list.
- - Configure in site config via `"batchChanges.containerRegistryDenylist"`.
- - Mutually exclusive with `"batchChanges.containerRegistryAllowlist"`.
-- Add support for registry allowlist `(PR #105)`
- - Add support to configure container registry allowlist for containers use from batch changes via `batchChanges.containerRegistryAllowlist` in Site Configuration.
-
-#### Cody
-
-- Add `/.api/cody/context` API `(PR #66)`
- - New `POST /.api/cody/context` REST endpoint to retrieve a list of relevant source locations given a natural language query.
-
-#### Dotcom
-
-- Add account ID in subscriptions list view `(PR #192)`
-- Forward license check to Enterprise Portal `(PR #19)`
-
-#### Enterpriseportal
-
-- Use file-based migrations with `goose` `(PR #216)`
-- Add Salesforce Account ID `(PR #176)`
-- Internal instances record detected instance `(PR #139)`
-- Return unknown license as result `(PR #134)`
-
-#### Licensecheck
-
-- Check against Enterprise Portal directly `(PR #22)`
-
-#### Msp/Runtime
-
-- Standardised migrations `(PR #242)`
-- First-class redis support `(PR #241)`
-
-#### Releases
-
-- Scoped releases `(PR #33)`
- - Feat(release): scoped releases
-
-#### Sg
-
-- MSP database migrations with `goose` `(PR #215)`
-
-#### Site Admin
-
-- Monitoring/telemetry: add v1 teestore write alerts and v2 export queue write alerts `(PR #321)`
-
-#### Svelte
-
-- Add repository sync status indicator to search results `(PR #260)`
-- Sentry: Ignore errors from third party scripts `(PR #171)`
-- Add status notifications `(PR #141)`
-- Add support for indent-based code folding `(PR #75)`
-
-#### Telemetry/Sensitivemetadataallowlist
-
-- Allow string list and nulls `(PR #27)`
-
-#### Others
-
-- Syntactic support for go `(PR #328)`
-
-### Fix
-
-#### Batch Changes
-
-- Omit headRepositoryId if empty `(PR #200)`
-- Avoid "Name already exists on this account" from creating fork by fetching the repo when the error happens `(PR #159)`
- - Fix(batches): avoid "Name already exists on this account" from creating fork by fetching the repo when the error happens
-
-#### Code Intelligence
-
-- Ensure syntactic worker marks itself as "ready" on startup `(PR #341)`
-
-#### Code Nav
-
-- Return ALL references in the same file as the definition `(PR #240)`
-
-#### Cody
-
-- Correctly parse queries containing 'or' `(PR #267)`
- - Fixes a regression in Cody context where questions containing the word 'or' could return noisy or no results.
-- Use reverse proxy for Gemini API `(PR #208)`
-- Address critical bug from code review `(PR #179)`
-- Return valid `finish_reason` in `/.api/llm/chat/completions` `(PR #154)`
- - LLM API `/.api/chat/completions` now returns OpenAI-compatible `finish_reason`.
-- Fix error handling in LLM API `(PR #153)`
- - LLM API endpoints (`/.api/llm`) now return JSON-encoded HTTP bodies for non-200 status codes.
-- Use `testdata` instead of `golly-recordings` directory name `(PR #152)`
-- Give names to LLM API handlers `(PR #151)`
-- Allow `Bearer TOKEN` header for all LLM APIs `(PR #150)`
- - For compatibility with OpenAI clients, it's possible to use `Bearer TOKEN` header with all API endpoints that start with the prefix `/.api/llm`.
-- Deepseek-coder-v2-lite-base model name mapping for dotcom users `(PR #135)`
-
-#### Cody-Gateway
-
-- Ignore schema errors on otel init `(PR #237)`
-
-#### Enterpriseportal
-
-- Normalize instance domain on create subscription `(PR #163)`
-- Add subscription ID to trace, other diagnostics improvements `(PR #130)`
-
-#### Enterpriseportal/E2e
-
-- Fix test case for check license `(PR #162)`
-
-#### Frontend
-
-- Do not sign-out users when accessing a file path containing /login `(PR #57)`
-
-#### Local
-
-- Check for rogue files and folders in svelte routes `(PR #337)`
- - Prevent `web-sveltekit` commands from running if there are untracked files under src/routes
-- Expand _after_ accumulating the whole env `(PR #257)`
-
-#### Oobmigration
-
-- Remove migrations targeting licenses/subscriptions `(PR #263)`
-
-#### Repo-Updater
-
-- Add WARN level logs every time we sync a code host `(PR #44)`
- - Repo-updater now emits logs that log the result of every code host sync.
-
-#### Sams-Notifications
-
-- Mockrequire.Values incorrectly used `(PR #315)`
-
-#### Search
-
-- Skip if git diff not found in hybrid `(PR #333)`
- - When searching an unindexed commit we would consult indexed commits for speeding up results. If our index contained a commit that no longer existed in git we would error out due to a regression in v5.4.5099. This is now fixed.
-- Add "Create batch change" back to Actions dropdown in search results `(PR #143)`
-
-#### Sg
-
-- Make start commands cancel fn be sync.OnceFunc `(PR #319)`
- - The cancel funcs used by sg commands are now wrapped in `sync.OnceFunc` to prevent duplicate execution
-- Add deprecation notice to sg wolfi update-hashes `(PR #289)`
- - Sg: fix panic when using `wolfi update-hashes`
- - Sg: add deprecation notice for `wolfi update-hashes`
-- Check if we are ephemeral before getting lease time `(PR #256)`
- - Sg - Fix panic in Cloud Ephemeral listing when listing instances that are not Ephemeral
-- Clamp deployment name consistently in cloud ephemeral `(PR #117)`
- - Ensure deployment / instance names are clamped in all places for cloud ephemeral
-- Implement env priority to improve env var ordering `(PR #31)`
-
-#### Svelte
-
-- Preserve history panel scroll position after selecting an entry `(PR #251)`
-- Update existing query filters when including suggested filters `(PR #115)`
-- Remove 'Code Ownership' top navigation `(PR #87)`
-- Update main navigation to match React app `(PR #74)`
-- Fix regex generation for routes that contain parameters `(PR #73)`
-- Fix Bazel production build `(PR #43)`
-- Workaround for handling client-side redirections in production `(PR #14)`
-
-#### Others
-
-- Switch to larger runner for scip-go jobs `(PR #221)`
-- Add deepseek virtual model string `(PR #211)`
-- Set webRoot to /client/web in launch.json `(PR #83)`
-- Speed up auto-index job expiration query `(PR #3)`
-
-### Chore
-
-#### Dotcom
-
-- Fix typo in subscriptions page `(PR #195)`
-- Delete subscriptions, licensing, and cody gateway usage `(PR #21)`
-
-#### Dotcom/Subscriptions
-
-- Minor UX tweaks `(PR #175)`
-
-#### Embedding
-
-- Delete cmd/embeddings `(PR #181)`
-
-#### Enterpriseportal
-
-- Declare required scopes in schema and use schema-based enforcement `(PR #305)`
-- Add Cody Access override case to manual E2E tests `(PR #224)`
-- Improve formatting of duplicate usage message `(PR #177)`
-- Remove dotcomdb connection and testing infra `(PR #20)`
-
-#### Gomod
-
-- Update for a bunch of CVEs `(PR #343)`
-
-#### Local
-
-- Stop using deprecated `docker-compose` command `(PR #206)`
-
-#### Pubsub
-
-- Upgrade to disable OpenTelemetry tracing `(PR #210)`
-
-#### Pubsubemulator
-
-- Init tool `(PR #272)`
-
-#### Release
-
-- Simplify changelog download in release `(PR #227)`
- - Simplify `changelog` cli download by using `gh` cli
-
-#### Search
-
-- Tell EditorConfig to stop messing with snapshot files `(PR #275)`
-- Remove Beta label from code monitors webhooks option. `(PR #274)`
-
-#### Search-Jobs
-
-- Deprecate experimental site setting `(PR #122)`
- - The site setting `experimentalFeatures.searchJobs` is not read anymore. To disable Search Jobs, set `DISABLE_SEARCH_JOBS=true` for the "frontend" and "worker" services.
-- Remove EXPERIMENTAL from gql API `(PR #116)`
-- Remove beta badge `(PR #114)`
-
-#### Svelte
-
-- Upgrade dependencies and cleanup configs `(PR #279)`
-- Fix type import `(PR #277)`
-- Reduce build log noise `(PR #252)`
-- Ingore 'RepoNotFoundError's in Sentry `(PR #113)`
-
-#### Tenant
-
-- Iterate does not enforce no tenant unlike Inherit `(PR #334)`
-
-#### Tooling
-
-- Bump Go to 1.23.0 `(PR #126)`
-
-#### Wofli
-
-- Update images `(PR #290)`
- - Update images to use latest p4-fusion binary
-
-#### Workspaces
-
-- Define initial Workspaces proto schemas `(PR #262)`
-- Stub service and directory `(PR #244)`
-
-#### Others
-
-- Fix onUserRolesChanged `has SiteAdmin role` test name `(PR #314)`
-- Update github.com/openfga/openfga to v1.6.0 `(PR #295)`
-- Updates Rust toolchain to 1.80.1 `(PR #287)`
-- Re-enable SCIP uploads to Demo `(PR #222)`
-- Create github action for changelog audit `(PR #198)`
-- Undo unneeded upgrades `(PR #164)`
-- Upgrade sourcegraph-accounts-sdk-go version `(PR #160)`
-- Simplify semaphore-based code using conc.Iterator `(PR #146)`
-- Bump autoindexing image SHAs `(PR #131)`
-- Migrate httpserver to use sg/log `(PR #112)`
- - Update httpserver to use sourcegraph/log instead of log15
-- Updates tree-sitter version `(PR #93)`
-- Delete a bunch of unused LSIF-related code `(PR #77)`
-- Clean up CODENOTIFY for Joe `(PR #28)`
-
-### Refactor
-
-#### Svelte
-
-- Make repo page integration test setups reusable `(PR #249)`
-- Refactor temporary settings to remove Apollo dependency `(PR #156)`
-- Lazy load mermaid `(PR #16)`
-
-### Reverts
-
-- Revert reverse proxy usage to access Gemini API `(PR #236)`
-
-### Uncategorized
-
-#### Others
-
-- Bump Cody Web to 0.7.7 version `(PR #347)`
-- Bug: fix slice init length `(PR #339)`
-- Add migration to create sourcegraph_rls user in local dev `(PR #331)`
-- Add tenant1 and tenant2 hostnames to caddy setup `(PR #330)`
-- Deglobalize SiteID `(PR #329)`
-- Gomod: bump zoekt for indexing observability improvements `(PR #327)`
-- Searcher: check for zoekt empty repo commit in hybrid search `(PR #326)`
-- Conf: do not log missing tenant `(PR #318)`
-- Database: introduce globaldbtenant package `(PR #317)`
-- Database: rm unused Transact, Done, ShareableStore from ConfStore `(PR #316)`
-- [perforce] Store label cache file in .p4home `(PR #308)`
-- Convert trivial chunk/batching functions to use slices.Chunk `(PR #307)`
-- Bump cody web to 0.7.6 `(PR #304)`
-- Handle error case where anthropic api returns an empty response `(PR #303)`
-- Msp/iam: use runtime standardized migrations mechanism `(PR #300)`
-- Frontend: update permissions runs per tenant `(PR #299)`
-- Tenant: avoid FromContext logging in Inherit `(PR #297)`
-- Validation: pass in ctx for validateAuthzProviders `(PR #296)`
-- Siteadmin: Make recoverUsers idempotent `(PR #292)`
- - The recoverUsers endpoint failed with a spurious error when some of the given users were already active. It is now idempotent.
-- Remove (old friend) storm project `(PR #286)`
-- All: skip slow tests when -short `(PR #284)`
-- Licensing: fix flaky uses of MockGetConfiguredProductLicenseInfo `(PR #283)`
-- Gitserver: fix RemoveBadRefs on darwin `(PR #280)`
-- Cody Web: Remove old cody web logic `(PR #273)`
-- Move package `(PR #269)`
-- Add unit test for idf index `(PR #268)`
-- Worker: fix flake in repo syncer test `(PR #266)`
-- Clean unused flag `(PR #265)`
-- Bump own and repos test timeouts to long `(PR #258)`
-- Upgrade SCIM package to allow Microsoft Entra string values `(PR #253)`
-- Add(cody): support for Sonnet 3.5 "fast edit" model `(PR #250)`
-- Enable route outside Site Admin into Appliance service. `(PR #247)`
-- Add common access token for direct routing `(PR #245)`
-- Redis: pass context through remaining methods `(PR #239)`
-- Bump Cody Web to 0.7.3 for react version `(PR #238)`
-- Dev: remove compare-hash.sh `(PR #234)`
-- Doc: update search links for monorepo to be on s2 `(PR #233)`
-- Change the default model from starcoder to deepseek `(PR #232)`
-- Database: capture missing tenant for queries `(PR #231)`
-- Goroutine: support tenants `(PR #229)`
-- Rearrange auth provider middlewares `(PR #228)`
-- Add option to cache label data with p4-fusion `(PR #225)`
- - Perforce connections now support a `cacheLabels` option to cache Perforce label data from the server, speeding up consecutive syncs on systems with a large number of labels.
-- Lib/cloudapi: introduce features config `(PR #223)`
-- Lib/cloudapi: add auth pkg `(PR #214)`
-- Shortcut noop `(PR #213)`
-- Dev/msp: expose more runtime values to gotmpl `(PR #212)`
-- Worker: add OnUserRolesUpdated SAMS notification handler `(PR #204)`
-- Tenant: use marshal method instead of strconv `(PR #203)`
-- [fix] Perforce auth provider panics when only IP is provided `(PR #199)`
-- Redis: pass context to hash and ttl methods `(PR #196)`
-- Redis: introduce KeyValue.Info() `(PR #193)`
-- Respect context in Stop methods `(PR #191)`
-- Telemetry: wait for v1 writes in tests on teestore `(PR #190)`
-- Tenant: factor out marshalling `(PR #189)`
-- Allow AWS tokens in the repository `(PR #188)`
- -
-- Tenant: prevent parallel test runs when mocking enforcement `(PR #187)`
-- Configure and activate Admin UI `(PR #186)`
- - [Appliance] Activate appliance updates on Code Search admin UI
-- Sg: skip dev-private check if OFFLINE set `(PR #185)`
-- Updating owner tag `(PR #183)`
-- Security: Ensure sourcegraph will run with uid randomisation `(PR #182)`
-- Tenant: add context to gitserver's filesystem interface `(PR #178)`
-- Change re-ranking method from public to private `(PR #173)`
-- Web: encode file path for blame `(PR #172)`
- - Fixes an issue that would cause blame view to fail on files that contain some special characters.
-- Fix main lint `(PR #169)`
- - [Fix] code linting
-- Redis: add context to httpcache and rcache `(PR #167)`
-- Fixing the limit text for autocompletes `(PR #166)`
-- Bug: Fix file/directory popover regression `(PR #165)`
- - Fix File and directory popovers in the file tree when code search is scoped to a perforce depot.
-- Ci/srcgql-compat: fix workflow `(PR #161)`
-- Guardrails: temporary cache for incident `(PR #158)`
-- Security: Remove root from some containers, and make it clearer which containers run as root `(PR #157)`
-- Update site.schema.json `(PR #155)`
-- All: update OWNERS and CODENOTIFY to match new team names `(PR #148)`
-- Migrations: remove read on pg_attribute for tenant_id `(PR #147)`
-- Cody Web: Update cody web to 0.7.1 `(PR #144)`
-- Dev/cloud-relay: add msp delivery target for rollout `(PR #142)`
-- Cody Web: fix cody web in svelte safari `(PR #138)`
-- Instrument request latency in Cody Gateway `(PR #136)`
-- Dev/cloud-relay: import repo `(PR #132)`
-- All: upgrade staticcheck and unparam `(PR #128)`
-- Cody Web: Update cody web to 0.6.1 (svelte and react) `(PR #127)`
-- Ci/cloud-gql-compat: only report error on remote workflow failure `(PR #125)`
-- Add perforce support for git references table and labels `(PR #124)`
- - Code Search now supports labels for Perforce Depots
-- Iterator: add Map function `(PR #123)`
-- Symbols: skip rockskipintegration on dev if missing binaries `(PR #121)`
-- Syntactic-indexing: skip tests on dev if scip-syntax is missing `(PR #120)`
-- Keyring: t.Parallel safe MockDefault `(PR #119)`
-- Appliance: inject os.Getenv to ensure clean environment `(PR #118)`
-- Db: add event_logs_export_allowlist and own_signal_configurations to DataTables `(PR #111)`
-- Expand special case handlers for context endpoint `(PR #110)`
-- More context improvements `(PR #104)`
-- Adding cohere reRanker in the cody context `(PR #102)`
-- Don't use markdown header symbols in graphql docs `(PR #99)`
-- Appliance: check ShouldRunSetupEnvTests in integrationtest `(PR #97)`
-- Fix hardcoded version number in security release approval message `(PR #96)`
-- Blobstore: support tenant isolation `(PR #94)`
-- Make syntactic indexing policies non exclusive to precise indexing `(PR #92)`
-- Add --build flag to `sg cloud ephemeral upgrade` `(PR #91)`
-- Turn off minification for cody web worker `(PR #90)`
-- Redis: add context arg for list methods `(PR #89)`
-- Basic custom context handler `(PR #86)`
-- Security: Auto-update package lockfiles for Sourcegraph base images `(PR #85)`
-- React: Bump Cody Web to 0.5.1 `(PR #79)`
-- Lib/cloudapi: restructure pkg to reduce nesting `(PR #68)`
-- Nix flake update to go 1.23 `(PR #62)`
-- Nix: local is a string for GOTOOLCHAIN `(PR #61)`
-- Sg CLI: Use correct pipeline when retrieving annotations `(PR #60)`
-- Security: Auto-update package lockfiles for Sourcegraph base images `(PR #56)`
-- Nix: set GOTOOLCHAIN=local `(PR #55)`
-- Search: improve indexing delay dashboards `(PR #54)`
-- Telemetry: always best-effort write to v1 store `(PR #53)`
-- Database: limit concurrent event log inserts `(PR #52)`
-- Only commits in policy commitmap `(PR #49)`
-- Lib/cloudapi: import cloud-api proto def `(PR #40)`
-- Ctags/6.1.0 package update `(PR #38)`
-- Redis_exporter/1.62.0 package update `(PR #37)`
-- Docker-client/27.1.2 package update `(PR #36)`
-- P4-fusion/1.13 package update `(PR #35)`
-- Jaeger/1.60.0 package update `(PR #34)`
-- [Stream API]: Add external_service_type field to the SearchedRepo type `(PR #32)`
- - Searched repo, commit, path, symbol and file match responses will now include external service type.
-- Directory mentions: extract and test buildKeywordQuery `(PR #30)`
-- Lib/background: fix flaky test of monitor routines with context cancel `(PR #29)`
-- Direct route for fireworks models `(PR #26)`
-- Repos: use passed in ctx for SystemsInfo `(PR #18)`
-- Removing featureflag for expanded audit logs `(PR #15)`
- - More auditlogs for sensitive admin actions will be automatically logged.
-- Perforce UI Elements: Add perforce UI elements to history panel `(PR #12)`
-- Add typescript parser for SCIP symbols `(PR #10)`
-- Migrations: run squash targetting v5.3.0 `(PR #9)`
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-
-- Support SAST Scanning with both GHAS and Custom post processing scrip… `(PR #67)`
- - Sast scans are reported without any issues
-- Added better GHAS check (#64537) `(PR #65)`
- - Chore(security): Fix GHAS check as non-zero exit code
-
-{/* RSS={"version":"v5.7.0", "releasedAt": "2024-09-04"} */}
-
-# 5.6 Patch 2
-
-## v5.6.2535
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.6.2535)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.6.2535)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.6.2535)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.6.2535)
-
-{/* RSS={"version":"v5.6.2535", "releasedAt": "2024-08-22"} */}
-
-### Chore
-
-
-#### Security
-
-- Security: added better GHAS check (#64537) `(PR #65)`
- - Chore(security): Fix GHAS check as non-zero exit code
-
-### Uncategorized
-
-- Support SAST Scanning with both GHAS and Custom post processing scrip… `(PR #67)`
- - Sast scans are reported without any issues
-- [Backport 5.6.x] fix(search): fix query parsing bug around quoted phrases #59 `(PR #70)`
-- [Backport 5.6.x] fix(batches): fix broken forking workflow `(PR #81)`fix(batches): fix broken forking workflow
- Backport f833c4a3bf2210c127ffbf1146be69e1f461a449 from #48
-- [Backport 5.6.x] svelte: add slash to path scope `(PR #98)`
- - Fixes a bug in the new web app that causes incorrect links to be generated for collapsed file names
- Backport 23dad06bb2af1e7eb6a2f3847ad7f2c76c2a89a5 from #95
-- [Backport 5.6.x] feat(cody): add deepseek-coder-v2-lite-base support `(PR #103)` Backport f71fe081aa43ca40fef66c067c8eaf49d62d491e from #4
-- Backporting #106 `(PR #107)`
-
-# 5.6 Patch 1
-
-## v5.6.185
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.6.185)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.6.185)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.6.185)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.6.185)
-
-{/* RSS={"version":"v5.6.185", "releasedAt": "2024-08-08"} */}
-
-### Uncategorized
-
-- [Backport 5.6.x] Changing azureUseDeprecatedCompletionsAPIForOldModels to default to true [#64371](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64371) Backport 3b16059588e5eff69e00ed56a489ac8560a70d8e from #64347
-- [Backport 5.6.x] Fix Cody Web CSS [#64373](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64373)
- - Make Cody Web styles more accessible. Backport 2dd38b3ffd828a1596249c2780ca91bf4bce4bdd from #64370
-
-# 5.6 Patch 0
-
-## v5.6.0
-- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.6.0)
-- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.6.0)
-- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.6.0)
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.6.0)
-
-{/* RSS={"version":"v5.6.0", "releasedAt": "2024-08-07"} */}
-
-### Feature
-
-#### Codenav
-
-- Codenav: Add symbol support for the Hack language [#64015](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64015)
-
-#### Frontend
-
-- Frontend: do not embed frontend assets anymore [#63946](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63946)
- - Frontend: assets are no longer bundled with binary through `go:embed`. Instead assets are now added to the frontend container at `assets-dist`.
-
-#### Local
-
-- Local: sg tail [#64146](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64146)
- - Adds a new `sg tail` command that provides a better UI to tail and filter log messages from `sg start --tail`.
-
-#### Appliance
-
-- Appliance: implement re-direct on all unknown endpoints [#64059](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64059)
- - Feat(appliance): implement re-direct on all unknown endpoints
-- Appliance: Adopt Frontend Service + Ingress [#63893](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63893)
- - Feat(appliance): Appliance adopts Frontend's `Ingress` + `Service`
-- Appliance: Merge unstructured objects from helm serialization and appliance cfg defaults [#64021](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64021)
- - Feat/appliance: Include existing objects when constructing Frontend's `Service` & `Ingress`
-- Appliance: self-update [#63780](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63780)
- - Appliance can automatically self-update up to 2 minor revisions beyond the currently-deployed sourcegraph version.
-- Appliance: introduce mock up database configuration step in install flow [#64162](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64162)
-- Appliance: self-update can update multiple deployments [#64132](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64132)
-- Appliance: Frontend Pulls Version Info from RelReg [#64089](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64089)
- - Feat(appliance): frontend pulls versions from relreg
-- Appliance: Change site-admin updates button to point to Appliance based on env var [#64167](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64167)
- - Feat(appliance): change update endpoint based on env var
- - Misc: add type to storybook
-
-#### Enterpriseportal
-
-- Enterpriseportal: db layer for cody gateway access [#63737](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63737)
-- Enterpriseportal: support DevOnly in list subscriptions [#63837](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63837)
-- Enterpriseportal: db layer for subscription licenses [#63792](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63792)
-- Enterpriseportal: db layer for subscription conditions [#63812](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63812)
-- Enterpriseportal: ignore context cancellation error in GetCodyGatewayUsage [#64016](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64016)
-
-#### Search
-
-- Search: remove smart search logic [#64215](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64215)Smart search is no longer supported in the Sourcegraph backend. Old searches that specify 'smart search' mode will be run in the default 'precise' mode. If your query now doesn't behave as expected, you can update it to use the new `patterntype:keyword`.
-- Search: update Zoekt [#64238](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64238)
- - Added support for all Apex language extensions
- - Shard merging for Zoekt is now enabled by default. This reduces MEM requirements for Zoekt webserver and improves performance for some queries. See our [documentation](https://sourcegraph.com/docs/admin/search#shard-merging) for more information.
-- Search: Add support to all Apex language extensions [#64194](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64194)
-- Search: Enable improved symbol parsing for large repos (when using Rockskip) [#63988](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63988)
-
-#### Svelte
-
-- Svelte: Improve commit page layout on mobile [#63920](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63920)
-- Svelte: Change branch and tags page design, including mobile [#63914](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63914)
-- Svelte: Add support for creating search jobs from search results [#64308](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64308)
-- Svelte: Improve small screeen behavior [#63859](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63859)
-- Svelte: Add compare page [#63850](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63850)
-- Svelte: Add search query syntax introduction [#63753](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63753)
-- Svelte: Add 'y' shortcut to navigate to permalink [#63719](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63719)
-
-#### Dotcom
-
-- Dotcom: use Enterprise Portal for Cody Gateway usage [#63653](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63653)
-
-#### Build
-
-- Build: Add exhaustruct linter (codeintel POC) [#63965](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63965)
-
-#### Others
-
-- Add support for precise usagesForSymbol [#64126](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64126)
- - Adds support for precise code navigation to the experimental `usagesForSymbol` API,
-which can be used to implement a reference panel or similar functionality.
-- Order search filters alphabetically [#63976](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63976)
-- Show current email during password reset and auto-populate text-box after successful completion [#59645](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/59645)
-
-#### Bazel
-
-- Bazel: read binary version info from accompanying files in OCI images instead of stamping //internal/version [#63977](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63977)
-
-#### Sg
-
-- Sg: prototype 'sg start sourcegraph-accounts' [#63894](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63894)
-- Sg: add 'sg sams client create' [#63885](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63885)
- - `sg sams client create` can now be used to create IdP clients for SAMS.
-- Sg: support correct completions on 'sg start -cmd' [#63861](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63861)
- - Completions for `sg start -cmd` now offer valid suggestions.
-- Sg: report user os information via analytics [#64280](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64280)
-- Sg: do not persist external secrets [#63890](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63890)
-- Sg: allow sg commands to default to local-dev SAMS-dev credentials [#63883](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63883)
- - `sg` commands requiring SAMS client credentials now load shared SAMS-dev client credentials by default.
-
-#### Cody
-
-- Cody: Refactor completions API to use new modelconfig (support more models) [#63797](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63797)Update the Cody APIs for chat or code completions to use the "new style" model configuration. This allows for great flexibility in configuring LLM providers and exposing new models, but also allows Cody Enterprise users to select different models for chats.This will warrant a longer, more detailed changelog entry for the patch release next week. As this unlocks many other exciting features.
-- Cody: add circuit breaker to handle timed-out requests and rate limit hits [#64133](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64133)
-
-#### Requestclient
-
-- Requestclient: propagate original User-Agent as X-Forwarded-For-User-Agent [#64113](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64113)
-
-### Fix
-
-
-#### Appliance
-
-- Appliance: don't include is_development builds in list of versions [#64138](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64138)
- - Fix(appliance): don't allow installation of development builds
-- Appliance: Make Appliance URL envvars strings [#64227](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64227)
- - Fix(appliance): make environment variables strings to be passed around
-
-#### Own
-
-- Own: Prevent infinite UI update loop in own pages [#64312](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64312)
-
-#### Docs
-
-- Docs: update quickstart guide links [#64202](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64202)
-
-#### Cody
-
-- Cody: use client-provided timeout for completions requests [#63875](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63875)
- - Use the provided timeout from request parameters if available; otherwise use the default maximum request duration (8 minutes)
-- Cody: allow pre-release versions for clients [#63913](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63913)
-- Cody: remove client check for context filters [#63855](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63855)
-
-#### Search
-
-- Search: correctly handle select:symbol.enum [#64170](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64170)Fix a bug in `select:symbol.enum` filters where they returned no results
-
-#### Bazel
-
-- Bazel: surface error message when gazelle cant process glob expression [#64214](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64214)
-
-#### Search_jobs
-
-- Search_jobs: prevent job state flip-flopping between 'queued' and 'processing' [#64098](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64098)
-- Search_jobs: remove trailing `*` from URL [#63821](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63821)
-- Search_jobs: progress reporting [#64287](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64287)
- - Show detailed progress only while job is in status "processing"
- - Remove dependency of download links on job state
-- Search_jobs: fail validation for repo searches [#64300](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64300)
-- Search_jobs: flickering placeholder component [#64009](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64009)
-
-#### Enterpriseportal
-
-- Enterpriseportal: drop old gorm fk constraints [#63864](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63864)
-
-#### Svelte
-
-- Svelte: Properly redirect to cody marketing page [#64331](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64331)
-- Svelte: Make /cody/dashboard work with the new web app [#64295](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64295)
-- Svelte: Show correct line numbers in unified diff [#63778](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63778)
-- Svelte: Fix and cleanup compare page [#63928](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63928)
-- Svelte: Update top-level route list [#64272](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64272)
-- Svelte: Ctrl+backspace in fuzzy finder [#63804](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63804)
-- Svelte: respect default pattern type in toggles [#63795](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63795)
-- Svelte: Better preloading in file tree [#64327](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64327)
-- Svelte: Center file tree loading indicator [#64309](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64309)
-
-#### Ci
-
-- Ci: reduce push_all concurrency even further due to ratelimits [#64111](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64111)
-- Ci: check command out for error when git fails [#63993](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63993)
-- Ci: reduce push_all concurrency due to ratelimits [#64106](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64106)
-- Ci: only emit bazel execlog artifact for 'test' commands [#63916](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63916)
-
-#### Release
-
-- Release: check for marker in container files instead of binary [#64205](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64205)
- - Release: check contiainer directory `/assets-dist` for marker instead of frontend binary
-
-
-#### Sg
-
-- Sg: cloud ephemeral - Do no trigger builds on main-dry-run [#64190](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64190)
- - Sg: deny deployment of `main-dry-run` branches on Cloud Ephemeral.
-- Sg: better err msg for when we fail to insert to bigquery [#63873](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63873)
- - Sg: provide a better error message when we fail to insert into bigquery
- - Sg: stop puslishing to bigquery if we get 3 errors in a row
-- Sg: do not try to publish analytics when it is disabled [#63800](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63800)
- - Sg - Only start the analytics background publisher when analytics are enabled
-- Sg: return different error types depending on secret failure [#63779](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63779)
-- Sg: provide suggestions we fail to get local gcp account email address [#64325](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64325)sg - Provide steps a user can follow if we fail to get the local gcp email address
-- Sg: acknowledge command execution state to avoid recursion when executing short running commands [#64181](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64181)
-
-#### Batches
-
-- Batches: switch github app installation handling from redirect flow to webhooks [#64036](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64036)
- - When installing a GitHub app for batch changes, the instance now waits for a callback from GitHub to complete the installation to avoid issues from eventual consistency.
-- Batches: don't request unnecessary info that's likely to cause GH errors [#64299](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64299)
- - Fix(batches): improve GitHub Apps integration reliability by simplifying the data requested from GitHub
-- Batches: show warning instead of error when the changeset status is not FAILED [#64243](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64243)
- - Batch changes that are still retrying now show a warning instead of an error.
-
-#### Others
-
-- Try workaround for bad index choice when updating execution logs [#64328](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64328)
-- Block URLs without a hostname [#64248](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64248)
-- Uses the same base64 for decoding we use for encoding the UsageCursor [#64290](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64290)
-- Don't propagate un-translated source ranges [#64263](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64263)
-- Handle sub-repo permissions in CodeGraphData API [#64241](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64241)
-- Fixes incorrect highlighting for comments at the start of a file [#64235](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64235)Fixes incorrect syntax highlighting when a comment is present at the start of a file.
-- Connection pending alert and alert content alignment [#64120](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64120)
-- Set timeout for web-sveltekit/unit_tests to moderate [#63879](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63879)
-- Add Exists method to dbworker Store to avoid COUNT(*) [#64297](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64297)
-- Prefer SCIP uploads over LSIF uploads [#64217](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64217)Fixes a bug where old LSIF uploads would also be used for code
-navigation even when newer SCIP uploads were available for the
-same language, potentially leading to duplicate results in the reference
-panel. With this change, scip-go uploads shadow the uploads
-for lsif-go, and similarly for other indexers following the scip-X/lsif-X naming
-convention.
-- Synchronize access to reads of fields in retry test [#63967](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63967)
-- Add extra check for code intelligence inference [#64083](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64083)
-- De-dup and concurrent-ify file content requests & splitting [#64169](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64169)
-- Handle potential nil reference properly [#64265](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64265)
-- Add commit signing filter to `credentialForGitHubAppExists` [#64128](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64128)
-- Make invalid token error message visible while adding external services [#60876](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/60876)
-
-#### Telemetry
-
-- Telemetry: silence invalid events that we already know about [#64084](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64084)
-
-### Chore
-
-
-#### Others
-
-- Mark flaky web-sveltekit tests as manual [#63874](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63874)
-- Frontend does not need disk [#64273](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64273)
-- Make return type more obvious [#63651](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63651)
-- Update main occurrence extraction code to allow for symbol-based matching [#64082](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64082)
-- Rename Index -> AutoIndexJob [#63955](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63955)
-- Reduce frequency of COUNT(*) on lsif_indexes [#64288](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64288)
-- Bump version of sourcegraph/log library [#64233](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64233)
-- Remove cmd/frontend/external/app [#64054](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64054)
-- Remove redis init side-effect of app.NewHandler [#64062](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64062)
-- Don't pass nil context [#64055](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64055)
-- Move codenav types to lower-level package [#64141](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64141)
-- Replace 'dumps' terminology in comments [#63775](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63775)
-- Change some APIs to use symbols instead of monikers [#64029](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64029)
-- Rename uploadstore packages for clarity [#63931](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63931)
-- Remove incorrectly logged warning [#64267](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64267)
-- Use binary search over symbols array [#64240](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64240)
-- De-duplicate CTE for visible uploads [#64232](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64232)
-- Remove unused loghandlers package [#64067](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64067)
-- Move internal/conf/validation to cmd/frontend [#64064](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64064)
-- Init userpasswd provider where we initialize every other authn provider [#64061](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64061)
-- Remove flaky flag from svelte e2e_test [#64123](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64123)
-- Mark flaky test as manual [#63968](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63968)
-- Factor out sub-query for locating nearest uploads [#64210](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64210)
-- Remove global externalURL watcher [#64058](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64058)
-- Re-enable e2e tests for web-sveltekit [#63910](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63910)
-- Replace QueuedCount -> CountByState with bitset parameter [#64302](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64302)
-- Deglobalize oneclickexporter instance [#64066](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64066)
-- Make location fetching queries more uniform [#64026](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64026)
-- Document tech debt wrt multiple doc traversals [#64006](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64006)
-- Unify LsifStore.*SymbolUsages APIs into one [#64076](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64076)
-- Add docs for RepoStore methods [#64283](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64283)
-- Rename URI -> DocumentPath [#63979](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63979)
-- Remove unused TTL in object.Storage config [#63947](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63947)
-- Move cmd/frontend/webhooks to cmd/frontend/internal [#64157](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64157)
-- Rename type Bytes -> Size [#64183](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64183)
-- Unconditionally call endObservation [#64150](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64150)
-- Move internal/highlight to cmd/frontend [#64065](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64065)
-- Bubble precise Usages instead of Locations [#64118](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64118)
-- Switch over to fake RepoStore in codenav tests [#64284](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64284)
-- Move internal/suspiciousnames to cmd/frontend/internal [#64071](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64071)
-- Simplify license routines [#64068](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64068)
-- Use Option type and rename API [#63820](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63820)
-- Bump autoindexing image SHAs [#63801](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63801)
-- Move and clean up test code for syntactic usages [#64318](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64318)
-- Remove unnecessary _ imports [#64158](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64158)
-- Remove cmd/frontend/external redirection package [#64070](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64070)
-- Consolidate mocks for dbworker/store.Store type [#64294](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64294)
-- Consolidate mocks for uploads's Store type [#64286](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64286)
-- Move cmd/frontend/oneclickexport to cmd/frontend/internal/oneclickexport [#64069](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64069)
-- Move authn into cmd/frontend [#63648](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63648)GitLab code host connections were [able to sync permissions by mapping Sourcegraph users to GitLab users via the username property of an external OIDC or SAML provider](https://sourcegraph.com/docs/admin/code_hosts/gitlab#administrator-sudo-level-access-token) that is shared across Sourcegraph and GitLab. This integration stopped working a long time ago, and it has been removed in this release.
-- Replace calls to deprecated ioutil.TempFile [#64177](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64177)
-
-#### Svelte
-
-- Svelte: Add manual entries for repo sub pages to development proxy [#64313](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64313)
-- Svelte: Disable tests which time out [#63844](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63844)
-- Svelte: Refactor infinity query implementation [#63824](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63824)
-- Svelte: fix test by removing duplicate aria-label [#63942](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63942)
-- Svelte: Commit/diff style and behavior tweaks [#63785](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63785)
-- Svelte: Refactor repo loaders [#63828](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63828)
-- Svelte: Clean up dependencies [#63777](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63777)
-
-#### Enterpriseportal
-
-- Enterpriseportal: rewrite subscriptions API tests to be table-driven [#63831](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63831)
-- Enterpriseportal: simplify display_name constraint [#63835](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63835)
-
-#### Telemetrygateway
-
-- Telemetrygateway: gracefully handle sams introspectToken cancelation [#63809](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63809)
-
-#### Bazel
-
-- Bazel: re-enable remote caching of Copy{File,Directory,ToDirectory} actions [#64153](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64153)
-- Bazel: emit json profile for image push jobs [#64188](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64188)
-- Bazel: rework push_all to improve concurrency by avoiding bazel server lock (round 2) [#64079](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64079)
-- Bazel: emit json profile for image push jobs (properly) [#64189](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64189)
-- Bazel: disable stamping on rust_binary targets [#64007](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64007)
-
-#### Config
-
-- Config: clarify env var already registered panic [#63784](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63784)
- - When conflicting env var are detected, print the two to ease debugging.
-
-#### Executors
-
-- Executors: Native Kubernetes Executors default to use single job pod [#64088](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64088)
-
-#### Codeintel
-
-- Codeintel: Derive TargetPathWithoutRoot dynamically [#63986](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63986)
-- Codeintel: Move mock generation near interface package [#64000](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64000)
-- Codeintel: Simplify code using upload filtering [#63997](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63997)
-- Codeintel: Pass UsageKind instead of raw column names [#64003](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64003)
-- Codeintel: replaces lsp.Range uses with scip.Range [#64178](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64178)
-- Codeintel: Rename local variables for clarity [#63983](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63983)
-- Codeintel: Move RequestState construction to separate func [#63998](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63998)
-- Codeintel: Rename uploads/../Store -> codegraph/../DataStore [#64001](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64001)
-
-#### Search
-
-- Search: update search API call sites to set the version explicitly [#63782](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63782)
-- Search: update logging of search durations [#64269](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64269)
-
-#### Local
-
-- Local: clear ambiguity in between sg version|live [#64122](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64122)
- - `sg version` explicitly mentions that it's the CLI version that's printed out, not any instance version.
-- Local: use //cmd/frontend:frontend_nobundle for bazel commandsets [#64085](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64085)
-
-#### Search_jobs
-
-- Search_jobs: add janitor job [#64186](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64186)The new background job drastically reduces the size of the `exhaustive_*` tables and improves performance of the Search Jobs GQL API.
-- Search_jobs: improve description on main page [#63992](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63992)
-- Search_jobs: remove label "admin" from contact card [#63823](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63823)
-
-#### Cody
-
-- Cody: allow setting "cody.contextFilters" in site config without feature flag [#63881](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63881)
-
-#### Frontend
-
-- Frontend: use explicit cache for admin analytics [#64077](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64077)
-
-#### Worker
-
-- Worker: move aggregated user stats job to worker [#64033](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64033)
-- Worker: disable jobs based on ENVs [#63853](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63853)
-- Worker: move event_logs janitor routines to worker [#63981](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63981)
-- Worker: move llm token counter to worker [#64008](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64008)
-- Worker: move refreshAnalyticsCache to worker [#64041](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64041)
-
-#### Log
-
-- Log: remove use of log15 in ghe-feeder [#64131](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64131)
-
-#### Ci
-
-- Ci: emit execlog for image push jobs [#64130](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64130)
-
-#### Sg
-
-- Sg: remove 'sg telemetry' and related docs [#63763](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63763)
- - `sg`: the deprecated `sg telemetry` command for allowlisting export of V1 telemetry from Cloud instances has been removed. Use telemetry V2 instead.
-- Sg: clean up help formatting [#63860](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63860)
-
-### Ci
-
-
-#### Others
-
-- Add cloud controller gql compat test [#64092](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64092)
-- Automatic retry push images job at least 1 [#64145](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64145)
-
-### Perf
-
-
-#### Others
-
-- Find syntactic matches concurrently [#63937](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63937)
-
-### Refactor
-
-
-#### Github
-
-- Github: Have a dedicated PublicRepository type [#63607](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63607)
-
-#### Codeintel
-
-- Codeintel: Extracts a MappedIndex abstraction over uploads [#63781](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63781)
-
-#### Others
-
-- Steps the usage cursor provenance state in a single place [#64321](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64321)
-- Handles Cursor uniformly over all usage provenances [#64319](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64319)
-- Renames usage cursor and adds fields for future syntactic cursor [#64208](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64208)
-
-#### Svelte
-
-- Svelte: Reduce logo complexity [#64274](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64274)
-
-### Reverts
-
-- Revert "Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients [#63854](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63854)
-- Revert "chore(ci): post instructions for PR sections in a comment" [#64176](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64187)
-
-### Uncategorized
-
-- Feat(code insights): language stats speed improvements by using archive loading [#62946](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62946)
- - Language stats queries now request one archive from gitserver instead of individual file requests. This leads to a huge performance improvement. Even extra large repositories like chromium are now able to compute within one minute. Previously they timed out.
-- Various improvements to saved searches [#63539](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63539)
- - Improved the saved searches feature, which lets you save search queries to easily reuse them later and share them with other people in an organization.
- - Added the ability to transfer ownership of a saved search to a user's organizations or from an organization to a user's account.
- - Removed a long-deprecated and ineffective settings `search.savedQueries` field. You can manage saved searches in a user's or organization's profile area (e.g., at `/user/searches`).
-- Correctly re-map source ranges in new SCIP-based APIs [#63630](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63630)
-- Move internal/session into cmd/frontend/internal [#63649](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63649)
-- Subrepo: More explicitly define supported hosts [#63650](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63650)
-- Licensecheck: Make proper goroutine [#63655](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63655)
-- Remove old reference to env var that no longer exists [#63656](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63656)
-- Schema: Remove unused extension schema file [#63657](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63657)
-- Dotcom: Remove dotcom on-by-default Cloudflare trust mode [#63658](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63658)
-- Webhooks: Polish UI components [#63664](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63664)
-- Webhooks: Deterministically match webhook events to repos [#63668](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63668)
-- Gating: Add individual switches for disabling tools features [#63686](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63686)
-- Svelte: implement new reference panel against new Usages API [#63724](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63724)
-- Usages API: implement surroundingContent [#63730](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63730)
-- Authz: Drop requirement for installing authz providers in every service [#63743](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63743)
-- Make pagination hooks store filter & query params in URL, not just pagination params [#63744](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63744)
-- Update comment and decode bytes instead [#63754](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63754)
-- Svelte: some unrelated cleanups [#63757](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63757)
-- Fix/internal/txemail: add timeout for SMTP connection establishment [#63759](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63759)
- - Instead of waiting forever, we wait at most 30 seconds before giving up when trying to connect to the configured mail server when sending an email.
-- Feat/graphql/access_tokens: send access token creation/deletion emails in background and create special message for dial errors [#63760](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63760)
- - When creating or deleting an access token, we no longer wait for the email to be sent before returning to the caller. Instead, we now send it in the background.
-- Add more Completions handler tests [#63761](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63761)NA
-- Search: make 'exclude tests' more general [#63762](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63762)
-- Minor refactoring, fixes [#63766](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63766)NA
-- Svelte: add more general shrinkable path [#63770](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63770)
-- Feature/db/sub_repo_perms: add IPs column to sub repo perms [#63771](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63771)
- - The sub_repo_permissions table now has an ips column to store the associated IP address associated with each path rule.
-- Security: Auto-update package lockfiles for Sourcegraph base images [#63776](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63776)
-- Gateway: Don't panic because of duplicate env var registration [#63787](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63787)
-- RFC 969 API boilerplate [#63789](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63789)
-- Structural search: fix precise lang filtering [#63791](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63791)
-- Feature: update `sg release cut` to automate stitch graph gen and release branch creation [#63794](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63794)
-- Wolfi image for Sourcegraph Frontend [#63798](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63798)
-- Fix(nix/p4-fusion): update p4-fusion helix-api hashes [#63805](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63805)
-- Move Cody Web to beta [#63806](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63806)
-- Feat/lib/telemetrygateway: expose simple Dial [#63810](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63810)
-- Internal/database/sub_repo_permissions: modify store to be able to insert ip based permissions [#63811](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63811)The sub_repositorypermissions database store can now save and retrieve the IP addresses associated with each path rule.
-- Several fixes around merging modelconfig, and the current Cody Gateway data [#63814](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63814)NA
-- Svelte: optimize `observeIntersection` [#63816](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63816)
-- Change model identifier for finetuned deepseek model [#63817](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63817)
-- Syntactic indexing non local refs java [#63822](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63822)
-- Feat/sg/msp: helpful error on cloudsqlproxy port conflict [#63830](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63830)
-- Feat/sg/enterprise: add 'sg enterprise set-name' [#63832](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63832)
-- Updated error messaging for blocked requests due to abuse [#63836](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63836)
-- Gitserver: Add option to allow setting custom context line count [#63840](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63840)
-- Misc saved searches followups [#63841](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63841)
-- Gitserver: Add OctopusMergeBase RPC method [#63842](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63842)
-- Pr-auditor: use pr-auditor from devx-service [#63847](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63847)
-- Cody: add access token callback pages for CLI, Eclipse and VS [#63849](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63849)
-- Cody: add support for neovim, cody-cli, eclipse, and visualstudio clients [#63851](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63851)
- - Fix HTTP 406 error when using the Neovim Cody plugin with Enterprise instances
-
-- Chore/lib/telemetrygateway: fixup Dial helper [#63862](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63862)
-- Blame: fix some issues with the stream [#63865](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63865)
- - Fixed an issue with blame view that can cause retry loops and error pages that block interaction with the rest of the UI
-- Docs: Add alternate names and links in GraphQL docs [#63867](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63867)
-- Show saved searches in new global navbar [#63868](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63868)
-- Factor out PatternConstrainedInput [#63869](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63869)
-- Add configuration for Intent Detection API [#63871](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63871)
-- Prompt Library [#63872](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63872)
- - The Prompt Library lets you create, share, and browse chat prompts for use with Cody. Prompts are owned by users or organizations, and site admins can make prompts public so that all users on the instance can see and use them. To use a prompt from your Prompt Library in Cody, select it in the Prompts dropdown in the Cody chat message field.
-- Integrate Cohere re-ranking API [#63877](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63877)
-- Special oauth containers [#63880](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63880)
-- Feature: db connection pinger and validator [#63884](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63884)
-- Update CodyLLMConfiguration GraphQL object to be modelconfig aware [#63886](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63886)NA
-- Sg: check for nil multiError [#63889](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63889)
-- Search: add regex support to `repo:has.meta()` [#63891](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63891)
- - `repo:has.meta()` predicate now supports regex patterns for keys and values
-- Fixes re: Cody Pro x Sourcegraph-supplied models [#63892](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63892)NA
-- Cody-gateway: handle missing Google response [#63895](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63895)cody-gateway: log missing Google response as warning
-- Svelte: fix css selector [#63896](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63896)
-- Self hosted models [#63899](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63899)Cody Enterprise: added a new configuration for self-hosting models. Reach out to support if you would like to use this feature as it is in early access.
-- Adds unit tests for syntactic usages [#63900](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63900)
-- [sg] Make rfc command use private RFCs by default [#63902](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63902)
-- Unify naming of used/ignored context [#63903](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63903)
-- Track usage stats for saved searches in UTC day increments [#63904](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63904)
-- Query Repository.id to support Apollo Client caching [#63905](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63905)
-- WithAuthenticatedUser: use react-router-dom hooks & add test [#63906](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63906)
-- Show org name not displayName in most places [#63907](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63907)
- - The user menu and other filter menus now show the names of organizations, not their "display names", to avoid ambiguity. For example, these menus will now show `abc-corp` not `ABC Corp` (if the latter was the `abc-corp`'s display name).
-- Add saved search visibility, draft, and timestamps [#63909](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63909)
- - Saved searches can now be made public (by site admins), which means all users can view them. This is a great way to share useful search queries with all users of a Sourcegraph instance.
- - Saved searches can be marked as a "draft", which is a gentle indicator that other people shouldn't use it yet.
-- Fix(build-tracker): Failed back-compat doesn't count towards branch-locking quota [#63911](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63911)
-- Sg: enable alerting by default for production projects [#63912](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63912)
-- Add separate shadow value for hovercards [#63918](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63918)
-- GraphQL: improve query cost violation message [#63921](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63921)
-- Fix/frontend/httpapi: improve request reader [#63923](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63923)
-- Saved searches & prompt library fixes [#63930](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63930)
-- Remove "organizations aren't supported" page on dotcom [#63932](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63932)
-- Prevent orgs from being named "global" on dotcom [#63933](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63933)
-- Allow non-site admins to list their orgs' members on dotcom [#63934](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63934)
-- Show "Copied" indicator when copying an access token [#63936](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63936)
-- Codeintel: GitTreeTranslator rewrite [#63938](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63938)
-- Repoupdater: Make batches init jobs dependent on batches.IsEnabled [#63939](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63939)
-- [update] Remove sleep in goroutine for webhook handlers [#63940](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63940)
-- Support getting other orgs on dotcom from the GraphQL API [#63941](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63941)
-- Misc improvements to graphqlbackend [#63943](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63943)
-- Explicitly check viewer access to settings in GraphQL API [#63945](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63945)
-- Use the viewerSettings GraphQL API instead of the 5y+-deprecated viewerConfiguration API [#63949](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63949)
-- Upgrade vitest to latest [#63951](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63951)
-- Add counter for traced requests to Fireworks [#63953](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63953)
-- Remove references to modelconfig.sourcegraph.pollingInterval [#63956](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63956)NA
-- Fix/database/sub_repo_perms: don't mark TestSubRepoPermsStore_GetByUserWithIPs as Parallel [#63958](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63958)
- - A race condition in the sub_repo_permissions database store test suite has been fixed.
-- Svelte rollout: add toggles for svelte-enabled pages [#63960](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63960)
-- Fix saved searches and prompts list page for anon users [#63961](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63961)
-- Various OrgArea fixes [#63962](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63962)
-- Allow site admins to list org members & view user/org settings on dotcom [#63963](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63963)
-- Svelte: Fix Safari 17.3 groupBy usage [#63964](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63964)
-- Finish removing chromatic [#63966](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63966)
-- Cody: correct link to emacs-cody [#63974](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63974)
-- Implement server-side single-repo context fetching for RFC 969 [#63980](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63980)
-- [fix] Fix being unable to add batch changes credentials when rate limited [#63984](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63984)
- - Fixed an issue where, when Sourcegraph is applying rate limits, batch change credentials could not be added. Sourcegraph now waits a maximum of 10 seconds to update credentials, and if it times out, it saves the credentials regardless and displays a warning to the user.
-- Fix incorrect URL (/new) on saved search and prompt library pages [#63995](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63995)
-- Feature/worker/permission syncer: perforce: sync HOST field using IP addresses [#64010](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64010)
- - The perforce permissions syncer has been updated to save the IP address associated with each sub_repository_permissions rule.
-- Bring back post-sign-up route to the backend router [#64011](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64011)
-- Authz: Compute providers on the fly [#64012](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64012)
-- Feat/frontend/dotcom: add toggles for various online license checks [#64013](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64013)
-- Update the legacy link to sg doc [#64017](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64017)
-- Update the outdated link to #dev-experience to #discuss-dev-infra [#64018](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64018)
-- Maintenance Splash Page [#64019](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64019)
-- Codeintel: returns surroundingContent from search result [#64022](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64022)
-- Codeintel: runs occurrence and symbol search in parallel [#64023](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64023)
-- Codeintel: allows batch retrieval of SCIP documents [#64024](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64024)
-- Codeintel: fetches diffs from gitserver in batches [#64025](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64025)
-- Removes the old GitTreeTranslator API [#64027](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64027)
-- Remove dead collaborators invite code [#64039](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64039)
-- Make cody gateway usage worker a periodic routine [#64040](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64040)
-- Unpin openjdk-11 version in blobstore package [#64045](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64045)
-- Bug: update version consts in updatecheck handler [#64052](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64052)
-- Cleanup: Move azure openai provider config validation to right place [#64056](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64056)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64060](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64060)
-- Auth: Fix Found page response when redis is down [#64063](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64063)
-- Codeintel: Adds a batch api for fetching multiple documents to MappedIndex [#64073](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64073)
-- Syntactic indexing policy toggle: UI and supporting APIs (with backcompat) [#64075](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64075)
- - In site-admin APIs for updating code intelligence policies:
- - Field `indexingEnabled` is renamed to `preciseIndexingEnabled`
- - A required `syntacticIndexingEnabled` is added (only takes effect if experimental feature is enabled)
- - Field `forIndexing` is renamed to `forPreciseIndexing`
-- Codeintel: Speed up syntactic and search-based usages using batch APIs [#64078](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64078)
-- Scip-syntax: uses `.starts_with` to check reference capture [#64081](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64081)
-- Feat/worker/permission syncing: make sub repo permissions re-insertion fall back to original paths if ips not added yet [#64086](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64086)
-- Enable p4-fusion by default for Perforce code host connections [#64101](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64101)
- - For Perforce code host connections, `p4-fusion` is now always enabled and the option for the much slower and unreliable `git p4` no longer exists.
-- Gerrit: Add support for repositoryPathPattern [#64102](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64102)Added support for the `repositoryPathPattern` setting for Gerrit code host connections.
-- Msp: use BUILDKITE_BUILD_CREATOR as fallback [#64104](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64104)
-- Msp: remove old author variable [#64107](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64107)
-- Blob search: Fix incorrect icons in the blob search bar [#64108](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64108)
-- Gomod: update zoekt for guardrails perf experiment [#64109](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64109)
-- Svelte Navigation: hide teams when own is not enabled [#64110](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64110)
-- Search-blitz: adjust limit for snippetAttribution to match gateway [#64119](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64119)
-- Observability: Adds useful data to traces from gosyntect.Highlight [#64121](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64121)
-- Scip-syntax: Simplifies to two visibilities [#64124](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64124)
-- Gomod: update zoekt to include improvement to experiment [#64125](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64125)
-- Support detecting search and edit intent [#64129](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64129)
-- SvelteKit: Add 'Tools' Menu item back to global navigation [#64134](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64134)
-- Svelte: do not show path section if empty [#64135](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64135)
-- SvelteKit: fix issue where clicking link with no href refreshed the page [#64136](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64136)
-- Fix/internal/requestclient: read all instances of x-forwarded-for header, not just the first [#64137](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64137)
-- Bug: parse v in target versions [#64139](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64139)
-- Codeintel: document that pagination for usages might return extra results [#64142](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64142)
-- Bug: fix default version [#64143](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64143)
-- Chore(syntax-highlighter): Some cleanup for locals detection [#64144](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64144)
-- Bump cody web to most recent package @sourcegraph/cody-web [#64149](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64149)
-- Docs: Specify matching behavior for usagesForSymbol(range:) [#64151](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64151)
-- Svelte: Bump cody web to most recent package @sourcegraph/cody-web [#64152](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64152)
-- Nit: adds space between tools menu item and dropdown icon [#64154](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64154)
-- Frontend: Remove global conf server variable [#64155](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64155)
-- Frontend: Consolidate remaining registry packages [#64156](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64156)
-- Add unit test for modelconfig converting starcoder completion model [#64160](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64160)NA
-- Relax modelconfig name restrictions [#64161](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64161)NA.
-- Svelte: add welcome introduction when enabling svelte for the first time [#64163](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64163)
-- Replace modelOverridesRecommendedSettings with selfHostedModels [#64164](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64164)Improved configuration functionality for Cody Enterprise with Self-hosted models.
-- Fix autocomplete regression in `main` ("various" provider issue) [#64165](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64165)N/A
-- Expose ranker relevance score in GraphQL API [#64172](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64172)
-- Policy patch - Leave fields unchanged if they're missing from request [#64174](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64174)
-- Docs: Weaken guarantees for Usage cursor [#64185](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64185)
-- Code intel: respect provenance when getting usages [#64193](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64193)
-- Bump @sourcegraph/cody-web to 0.3.2 [#64195](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64195)
-- Don't block `frontend` initialization with invalid modelconfig [#64200](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64200)NA
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64204](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64204)
-- Search: apply phrase boosting to more queries [#64207](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64207)
-- Sg cloud eph: simplify status [#64209](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64209)
-- Styling updates throughout [#64221](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64221)
-- Svelte: welcome banner followups [#64222](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64222)
-- Cody web: add server-side fetching for URL mentions [#64223](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64223)
-- Bump @sourcegraph/cody-web to 0.3.4 [#64224](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64224)
-- Chore: remove enablePreciseOccurrences feature flag [#64229](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64229)
-- Web: fix git blame for files that have `/stream/` in their path [#64230](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64230)
- - Fixed an issue where blame view would error when the file contains the path element `/stream/`
-- Codeintel: make usage-range non-optional [#64236](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64236)
-- Ephemerals: fix feature flag name [#64237](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64237)
-- Reapply "soap: Fix auto-redirect to IdP when SOAP is enabled" (#64234) [#64244](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64244)
-- Gitserver: RawDiff checks if commits exist [#64245](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64245)Fixes a bug where a force push on HEAD of a repository might lead to our unindexed search failing until the indexed search had updated.
-- Servicecatalog: remove searcher dep on database [#64247](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64247)
-- Chore: remove non-null assertions [#64249](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64249)
-- Svelte: fix welcome banner flashing on reload [#64251](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64251)
-- Cody Web: Update Cody Web to 0.3.6 [React version] [#64254](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64254)
-- Svelte: make closing the welcome overlay more obvious [#64256](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64256)
-- Gomod: update zoekt for shard scanning improvement [#64264](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64264)
-- Update p4-fusion-sg wolfi-package [#64266](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64266)
-- Return 'sourcegraph' as the CodyLLMConfigurationResolver.Provider [#64276](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64276)NA
-- Svelte: remove site admin gate on code intel preview [#64277](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64277)
-- Improving Azure errors for customer containers [#64278](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64278)
-- Update the default Sourcegraph-supplied LLM models [#64281](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64281)NA?
-- Enable SCIP based APIs by default [#64285](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64285)
-- Update wolfi hashes [#64289](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64289)
-- Searcher: fix benchmarks [#64292](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64292)
-- Search: re-add support for 'lucky' patterntype [#64293](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64293)
-- Update Cody Web to 0.3.7 [#64296](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64296)
-- Search: boost matches on quoted terms [#64298](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64298)
-- Return model IDs from GraphQL, not model Names [#64307](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64307)NA
-- Svelte: more welcome banner behavior updates [#64311](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64311)
-- Fix Cody Web Svelte Sidebar [#64320](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64320)
-- Center align Cody logo in Cody Web Sidebar [#64324](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64324)
-- Upgrade Cody Web, always create a new chat [#64334](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64334)
-- Svelte: enable toggle by default [#64340](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64340)
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-- [Backport-5.5.x]: Move Cody Web to beta (#63806) [#63808](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63808)
-- Backport: Blame: fix some issues with the stream (#63865) [#63929](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63929)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64035](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64035)
-- Security: Bump openjdk-11 version in blobstore image [#64047](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64047)
-- Appliance: backport all recent appliance changes [#64182](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64182)
- - Backport all recent appliance changes. The appliance is still pre-release.
-- Cherry-pick 856e41e with resolved conflicts [#64228](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64228)
-
-# v5.5.3956
-
-{/* RSS={"version":"v5.5.3956", "releasedAt": "2024-08-02"} */}
-
-### Reverts
-
-### Uncategorized
-
-- [Backport-5.5.x]: Move Cody Web to beta (#63806) [#63808](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63808)
-- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app [#63833](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63833) Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 [#63856](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63856)
-- Backport 63870 to 5.5.x [#63882](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63882)
- - Adds an experimental feature `commitGraphUpdates` to control how upload visibility is calculated.
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) [#63901](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63901)
-- Backport: Blame: fix some issues with the stream (#63865) [#63929](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63929)
-- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created [#63975](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63975)
- - Fixed an issue where the `http-header` auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
-- [Backport 5.5.x] Publish images for all commits on release branches [#63987](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63987) Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
-- [Backport 5.5.x] [logging] Only record events if a new user was created [#64005](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64005) Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
-- [Backport 5.5.x] Integrate security release approval into release pipeline [#64030](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64030) Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64035](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64035)
-- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed [#64037](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64037)
- - Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the `worker` service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
-- Security: Bump openjdk-11 version in blobstore image [#64047](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64047)
-- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes [#64050](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64050) Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
-- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting [#64074](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64074)
- - Fixes a Chrome-specific stack overflow when highlighting large files.
- Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
-- Backport 5ce2eea to 5.5.x [#64166](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64166)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64180](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64180)
-- [Backport 5.5.x] fix(appliance): cache authorization status [#64219](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64219) Backport 156aa5a0adec1bc7a1f2142878761d8993dd4c43 from #64213
-- [Backport 5.5.x] fix(appliance): reliably redirect to site-admin post-install [#64220](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64220) Backport e54407d9f50ed11f1a7c27edbb5c42966070f236 from #64216
-- Cherry-pick 856e41e with resolved conflicts [#64228](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64228)
-
-### Untracked
-
-The following PRs were merged onto the previous release branch but could not be automatically mapped to a corresponding commit in this release:
-- [Backport 5.5.x] release/bug: generate a new stitched migration graph [#63769](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63769) Backport cb19d6f0a98f7ecce65629bd117c34a8dc1db8e2 from #63764
-- [Backport 5.5.x] Context: return lines around symbol match [#63788](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63788)
-- [Backport 5.5.x] fix/alertmanager: downgrade prometheus/common to fix generated config [#63793](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63793)
- - Fix Prometheus Alertmanager configuration failing to apply `observability.alerts` from site config Backport ffa873f3adb18e2c5807ca752115a70fcbc493c8 from #63790
-- [Backport-5.5.x]: Move Cody Web to beta (#63806) [#63808](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63808)
-- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app [#63833](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63833) Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 [#63856](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63856)
-- Backport 63870 to 5.5.x [#63882](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63882)
- - Adds an experimental feature `commitGraphUpdates` to control how upload visibility is calculated.
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) [#63901](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63901)
-- Backport: Blame: fix some issues with the stream (#63865) [#63929](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63929)
-- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created [#63975](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63975)
- - Fixed an issue where the `http-header` auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
-- [Backport 5.5.x] Publish images for all commits on release branches [#63987](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63987) Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
-- [Backport 5.5.x] [logging] Only record events if a new user was created [#64005](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64005) Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
-- [Backport 5.5.x] Integrate security release approval into release pipeline [#64030](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64030) Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64035](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64035)
-- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed [#64037](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64037)
- - Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the `worker` service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
-- Security: Bump openjdk-11 version in blobstore image [#64047](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64047)
-- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes [#64050](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64050) Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
-- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting [#64074](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64074)
- - Fixes a Chrome-specific stack overflow when highlighting large files.
- Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
-- Backport 5ce2eea to 5.5.x [#64166](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64166)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64180](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64180)
-
-# v5.5.3738
-
-{/* RSS={"version":"v5.5.3738", "releasedAt": "2024-07-31"} */}
-
-### Feat
-
-- Appliance: backport all recent appliance changes [#64182](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64182)
- - Backport all recent appliance changes. The appliance is still pre-release.
-
-### Reverts
-
-### Uncategorized
-
-- [Backport 5.5.x] fix: Fix Chrome stack overflow during highlighting [#64074](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64074)
- - Fixes a Chrome-specific stack overflow when highlighting large files.
- Backport 2644e242447ac355a415abec7af5cfb8d9849e75 from #64072
-- Backport 5ce2eea to 5.5.x [#64166](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64166)
-
-# v5.5.2463
-
-{/* RSS={"version":"v5.5.2463", "releasedAt": "2024-07-24"} */}
-
-### Uncategorized
-
-- Backport: Blame: fix some issues with the stream (#63865) [#63929](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63929)
-- [Backport 5.5.x] [fix] Only trigger externalAcctSignup event when a new user is created [#63975](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63975)
- - Fixed an issue where the `http-header` auth would cause a massive amount of event logs spam Backport cd6595196177b3d307a4e8f76222c6d8c5c9b23f from #63843
-- [Backport 5.5.x] Publish images for all commits on release branches [#63987](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63987) Backport b7242d280f37a4b9effebb52ac4301e59635d629 from #63985
-- [Backport 5.5.x] [logging] Only record events if a new user was created [#64005](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64005) Backport 777c7a089956f1ad9c494ab55e8660bbdd781259 from #64004
-- [Backport 5.5.x] Integrate security release approval into release pipeline [#64030](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64030) Backport 9dd901f3c957cf5bf83aa6ac41fc3c6b2744cfd3 from #63990
-- Security: Auto-update package lockfiles for Sourcegraph base images [#64035](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64035)
-- [Backport 5.5.x] fix(source): Fix issue where worker would crash if a Bitbucket Cloud token couldn''t be refreshed [#64037](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64037)
- - Fixed an issue where a Bitbucket Cloud OAuth token failing to refresh would crash the `worker` service. Backport bc036ad2bafc9a09d80646d30d26335359a28fd1 from #64028
-- Security: Bump openjdk-11 version in blobstore image [#64047](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64047)
-- [Backport 5.5.x] ci: make internal+promote release higher priority in runtypes [#64050](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/64050) Backport 0309564f9362ea24e248aa5189d66f89826ccecf from #64049
-
-# v5.5.1337
-
-{/* RSS={"version":"v5.5.1337", "releasedAt": "2024-07-18"} */}
-
-### Uncategorized
-
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.7 (#63863) [#63901](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63901)
-
-# v5.5.1220
-
-{/* RSS={"version":"v5.5.1220", "releasedAt": "2024-07-17"} */}
-
-### Uncategorized
-
-- [Backport-5.5.x]: Move Cody Web to beta (#63806) [#63808](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63808)
-- [Backport 5.5.x] fix(batches): the baseURL for github instance is now updated when creating a GitHub app [#63833](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63833) Backport 1c40c9e5bccd4f6265945bd3449b70a648022e60 from #63803
-- [Backport 5.5.x] Upgrade cody web experimental package to 0.2.5 [#63856](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63856)
-- Backport 63870 to 5.5.x [#63882](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63882)
- - Adds an experimental feature `commitGraphUpdates` to control how upload visibility is calculated.
-
-# v5.5.160
-
-{/* RSS={"version":"v5.5.160", "releasedAt": "2024-07-11"} */}
-
-### Uncategorized
-
-- [Backport 5.5.x] Context: return lines around symbol match [#63788](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63788)
-- [Backport 5.5.x] fix/alertmanager: downgrade prometheus/common to fix generated config [#63793](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63793)
-- Fix Prometheus Alertmanager configuration failing to apply `observability.alerts` from site config Backport ffa873f3adb18e2c5807ca752115a70fcbc493c8 from #63790
-
-# v5.5.0
-
-{/* RSS={"version":"v5.5.0", "releasedAt": "2024-07-11"} */}
-
-### Chore
-
-- Change errors.HasType to respect multi-errors [#63024](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63024)
-- Codenav: Resolve repo and commit in common code [#63072](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63072)
-- Graph: Add changelog entry for Python scip-ctags fix (second attempt) [#63106](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63106)
-- Search: Add test case covering hack lang detection behavior [#63136](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63136)
- - Add test case for coverage hack lang detection
-- Msp: document gRPC notes in spec docstrings [#63140](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63140)
-- Fix lint error (unparam) [#63151](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63151)
-- Validate driver type immediately [#63177](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63177)
-- Appliance: remove references to embeddings [#63185](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63185)
- - Remove references to embeddings from (still unreleased) appliance.
-- Security: update dependencies [#63197](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63197)
-- Ci: conditionally stamp genrules [#63204](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63204)
- - Avoid invalidating cache in stamped genrules on dev builds.
-- Schema: Add implementation status for codeGraphData [#63219](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63219)
-- Add GitBlobResolver and GitTreeResolver for readability [#63223](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63223)
-- Remove dead code for Rust crates [#63224](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63224)
-- Bazel: bump to 7.2.0 [#63226](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63226)
-- Changelog: advise contributors of new process [#63243](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63243)
- - Advise contributors of new changelog process.
-- Svelte: Migrate all icons to Lucide/custom icons [#63246](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63246)
-- Add binary search function that returns range [#63248](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63248)
-- Move deduplicateBy to collections package [#63249](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63249)
-- Codeintel: Use internal language detection package for insights [#63254](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63254)
- - Code clean up to use common language detection mechanism in more places
-- Remove broken link in README [#63256](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63256)
-- Remove unused code paths in lsifstore package [#63259](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63259)
-- Add more tests for GetLanguages API [#63260](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63260)
-- Simplify location uniquing [#63263](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63263)
-- Add specialized function for sorting primitive sets [#63269](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63269)
-- Bump go-enry and Zoekt to handle new languages [#63281](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63281)
- - Updates the `lang:` filter to add support for languages such as Mojo, Roc, EdgeQL etc.
-- Ci: remove buildchecker sunday summary posts [#63289](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63289)
-- Maintain consistency between languages functions [#63292](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63292)
-- Local: remove docsite from dotcom commandset [#63314](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63314)
-- Deps: upgrade grpc, prometheus/common [#63328](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63328)
-- Deps: upgrade alertmanager package dependency, improve logs and tests [#63329](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63329)
-- Add more docs for occurrences GraphQL API [#63338](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63338)
-- Svelte: Simplify development for dotcom [#63341](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63341)
-- Svelte: Remove stub logger [#63342](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63342)
-- Plg: migrate invoices list to react-query [#63343](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63343)
-- Local: simplify 'sg db' inline help [#63344](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63344)
-- Ci: instrument push_all.sh commands in honeycomb [#63350](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63350)
-- Ci: mark web-sveltekit:e2e_test as flaky [#63351](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63351)
-- Svelte: Update fuzzy finder designs [#63354](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63354)
-- Fix inaccurate error message [#63361](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63361)
-- Remove obsolete tracking code for Cody App downloads [#63364](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63364)
-- Centralize logic for disabling Batch Changes on dotcom [#63370](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63370)
-- Add SymbolUsageKind to GraphQL API [#63371](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63371)
-- Add doc comment for DiffOptions.Paths [#63385](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63385)
-- Deps: replace internal/slices [#63386](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63386)
- - Add a collections library to dependencies.
-- Refactor and document GitTreeTranslator [#63390](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63390)
-- Batches: remove visibility options from create batch changes page [#63393](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63393)
- - Remove visibility options from create batch change page
-- Enterpriseportal: only use 'revoke' verb for licenses [#63407](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63407)
-- Bazel: bump rules_js to address permissions denied warning [#63419](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63419)
-- Ci: emit compact executon log in CI [#63420](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63420)
-- Batches: remove beta badge from batch changes [#63423](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63423)
- - Remove Beta badge from Batch Changes pages.
-- Enterpriseportal: split database package [#63425](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63425)
-- Enterpriseportal: properly close DB handle [#63426](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63426)
-- Codeintel: Differentiate between paths relative to upload root vs repo root [#63437](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63437)
-- Batches: remove beta badge from Batch Changes page [#63441](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63441)
- - The Beta badge is now removed from Batch Changes
-- Plg: add useEmbeddedUI site config param [#63442](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63442)
-- Svelte: Properly route to revision agnostic pages [#63444](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63444)
-- Enterpriseportal: tweak maybeMigrate tracing [#63448](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63448)
-- Ci: emit compact executon log in CI for test + build commands only [#63451](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63451)
-- Enterpriseportal: propagate context to migration database context [#63455](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63455)
-- Svelte: Hide cody nav entries and upsell banner when cody isn't enabled [#63463](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63463)
-- Add collection type - OrderedSet [#63469](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63469)
-- Bazel: don't stamp yq rule for wolfi base images [#63470](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63470)
-- Bazel: add client/backstage-frontend to bazelignore [#63471](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63471)
-- Svelte: Upgrade SvelteKit [#63490](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63490)
-- Enterpriseportal: rename customer admin role in API [#63501](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63501)
-- Enterpriseportal: add test for iam_model [#63503](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63503)
-- Codygatewayevents: extract into standalone package for reuse, split up internal/codygateway [#63528](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63528)
-- Local: add dotcom-cody-e2e commandset [#63548](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63548)
-- Linearhooks: use MSP rollouts [#63556](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63556)
-- Analytics: remove Cody characters events from inclusion in pin… [#63557](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63557)
-- Search: VSCode Search extension: Remove signup link for sourcegraph.com [#63558](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63558)
- - Remove links to create an account on sourcegraph.com because it no longer hosts private code.
-- Search: VSCode Search extension: Remove url and token from configuration [#63559](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63559)
- - Remove access token and URL from extension settings because they are managed in the extension now.
-- Preserve format imposed by bazel [#63561](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63561)
-- Add feature flag for new SCIP-based GraphQL APIs [#63565](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63565)
-- Simplify path trimming logic in perm checking [#63574](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63574)
-- Set scipBasedAPIs to off by default [#63575](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63575)
-- Use api.RepoID and api.CommitID in more places [#63596](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63596)
-- Local: sg warns about opposite default value on dev builds [#63612](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63612)
-- Local: make sg handle empty secret file gracefully [#63614](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63614)
-- Local: simplify sg teammate [#63667](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63667)
-- Svelte: Cleanup dependencies [#63691](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63691)
-- Drop isGitHubApp field from batch changes credentials [#63709](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63709)
-- Reword headline from tokens to credentials [#63714](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63714)
-- Redis: set max active redis connections to 1000 [#63718](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63718)
- - Redis-pool: set max active clients to 1000
-- Security: Updated dind image to 27-0-3 [#63725](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63725)
- - Upgraded dind to 27.0.3 to patch CVE-2024-24790 vulnerability
-- Svelte: Update to latest cody web version [#63732](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63732)
-- Svelte: Use MDI icons for seach input pattern type toggles [#63733](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63733)
-- Svelte: Update cody web version [#63747](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63747)
-- Add changelog entry for Batch Changes - GitHub apps integration [#63756](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63756)
- - Batch Changes: GitHub apps can now be added as a credential for authentication and interacting with changesets. [#31533](https://github.com/sourcegraph/sourcegraph-public-snapshot/issues/31533)
-
-### Feat
-
-- Ci: Adds playwright tests for sveltekit to bazel [#62560](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62560)
-- Search: Add Syntax Highlighting for Hack Language [#62770](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62770)
-- Search: Add Syntax Highlighting for Magik language [#62919](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62919)
- - Added syntax highlighting for the Magik programming language.
-- Msp: allow enablement of logical replication features for Datastream [#63092](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63092)
- - MSP services can now configure `postgreSQL.logicalReplication` to enable Data Analytics team to replicate selected database tables into BigQuery.
-- Search: Support Magik language file filter in search [#63110](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63110)
- - Added Magik language to language filters (`lang:magik`)
-- Sg: add command to generate a dotcom user gateway access token [#63125](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63125)
-- Appliance: deploy frontend [#63158](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63158)
- - Appliance (still unreleased) can deploy frontend.
-- Appliance: deploy searcher [#63191](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63191)
- - Appliance (as yet unreleased) can deploy Searcher.
-- Gitserver: don't log memoryObservation error if it occured b/c context cancellation [#63210](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63210)
- - Reduce logspam in the gitserver command functionality by ignoring memory observation errors if they occurred due to external context cancellation.
-- Plg: Add new Checkout flow that uses Stripe's `createToken` API [#63213](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63213)
-- Gitserver: avoid logspam from deadline exceeded memory tracking errors [#63215](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63215)
- - In the gitserver new command logic, logspam from the memory observer when the context error is deadline exceeded will no longer occur.
-- Plg: Add seats [#63227](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63227)
-- Search: Add icon for the Hack language [#63233](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63233)
- - Adds icon for the Hack language
-- Plg: Apply designs to Cody Pro pages [#63244](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63244)
-- Plg: Use react-query for team management [#63267](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63267)
-- Ci: Trigger security scanner from release pipeline [#63280](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63280)
- - Added security scanner to the release pipeline
-- Plg: remove accept invite page [#63290](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63290)
-- Enterpriseportal: UpdateCodyGatewayAccess RPC definition [#63307](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63307)
-- Enterpriseportal: CreateEnterpriseSubscription RPC definition [#63308](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63308)
-- Enterpriseportal: add Salesforce metadata at subscription level [#63317](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63317)
-- Sg: command to add default site-admin with predefined access token [#63320](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63320)
-- Enterpriseportal: CreateEnterpriseSubscriptionLicense RPC defininition [#63323](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63323)
-- Enterpriseportal: ArchiveEnterpriseSubscription RPC definition [#63330](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63330)
-- Enterpriseportal: RevokeEnterpriseSubscriptionLicense RPC definition [#63331](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63331)
-- Add id for CodeGraphData [#63337](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63337)
-- Codeintel: Add precise auto-inferencing for dotnet [#63348](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63348)
- - Enable automatic precise indexing of .NET projects
-- Plg: Update Cody Pro badge deck [#63352](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63352)
-- Appliance: appliance docker container [#63357](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63357)
- - Feat(appliance): create docker container
-- Plg: Tweak invite co-workers flow [#63374](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63374)
-- Plg: Invite users on Cody Dashboard [#63375](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63375)
-- Plg: require confirmation before removing user or revoking admin [#63388](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63388)
-- Svelte: Make fuzzy finder matching more reliable [#63397](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63397)
- - Add 'search all' tab
- - Support multi-word search
- - Support regular expression patterns
- - Fix matching reliability
-- Plg: remove seats from subscription [#63408](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63408)
-- Sg: add 'sg enterprise' commands for Cody Analytics [#63414](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63414)
-- Enterpriseportal: validate and normalize instance domains [#63415](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63415)
-- Appliance: local developer mode [#63417](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63417)
- - Local developer mode for appliance config authors.
-- Enterpriseportal: use UUID type for subscription ID [#63452](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63452)
-- Enterpriseportal: initialize subscriptions tables [#63453](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63453)
-- Enterpriseportal: init licenses tables [#63454](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63454)
-- Enterpriseportal: init Cody Gateway Access table [#63457](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63457)
-- Dotcom: show subscription UUID in Enterprise Portal format [#63482](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63482)
-- Sg: add -auto-approve option for 'sg enterprise' updates [#63500](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63500)
-- Enterpriseportal: make UpdateEnterpriseSubscriptionMembership authoritative [#63502](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63502)
-- Codeintel: Add scip-ctags support for Magik [#63504](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63504)
- - Add symbol browsing support for the Magik language
-- Enterpriseportal: define GetCodyGatewayUsage RPC, use uint64 for rate limits [#63531](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63531)
-- Remove experimental label from batches merge changesets action [#63542](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63542)
-- Enterpriseportal: implement GetCodyGatewayUsage RPC [#63555](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63555)
-- Search: Make search aware of perforce changelist id mapping [#63563](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63563)
- - For perforce depots, support searching within a specific changelist by specifying a ref like `context:global repo:^repo/name$@changelist/83854`
-- Introduce database fields for github apps - Batch changes integration, and update database layer [#63577](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63577)
-- Sg: sqlite-backed local store for sg analytics [#63578](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63578)
-- Search: remove keyword toggle [#63584](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63584)The keyword search toggle has been removed from the search results page. [Keyword search](https://sourcegraph.com/docs/code-search/queries#keyword-search-default) is now enabled by default for all searches in the Sourcegraph web app.
-- Sg: one-time oauth login to persist user email for analytics [#63603](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63603)
-- Cody: Expose Sg modelconfig data via HTTP REST API [#63604](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63604)Sourcegraph instances how expose an HTTP endpoint that authenticated users can call to get a list of LLM models supported by the Sourcegraph instance. In the future this will be used to allow Cody users to select the LLM model dynamically, based on what is currently available.
-- Batches: use "keyword" as default pattern type [#63613](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63613)
- - The new (optional) field "version" of batch specs determines how the spec is processed. This allows us to introduce new features while maintaining backward compatability.
- - A new version `2` is introduced. Batch specs specifying `version: 2` will use keyword search as the default pattern type to determine repos/workspaces. Batch specs with `version: 1` or without version field keep using pattern type "standard".
-- Svelte: Make diff headers on commit page sticky [#63615](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63615)
-- Implement functionality to create credential GitHub apps [#63635](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63635)
-- Svelte: Add Cody chat sidebar [#63638](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63638)
-- Dotcom: add Enterprise Portal auth proxy [#63652](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63652)
-- Svelte: Add cody button to repo home page [#63684](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63684)
-- Dotcom: remove per-user Enterprise subscriptions UI [#63698](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63698)
-- Enterpriseportal: database layer for subscriptions upsert [#63703](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63703)
-- Svelte: Add reblame support to blame column [#63727](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63727)
-- Source: Properly render multi-line changelist messages from Perforce [#63728](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63728)
- - Properly render multi-line perforce changelist descriptions
-
-### Fix
-
-- Appliance: use version for image tags [#63075](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63075)
- - Appliance uses requested version as image tag, instead of requiring sha256 digests.
-- Sg: fix cloud eph suggested commands [#63093](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63093)
- - Fix suggested cloud ephemeral commands
- - Show duration till expiry for cloud ephemeral
-- Release: remove generate-notes from github release creation [#63121](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63121)
- - Remove `generate-notes` cli flag when promoting releases
- - Push only a single tag
- - Fix token name used in changelog generation
-- Search: Properly handle URLs with file paths that contain route segments [#63123](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63123)
-- SCIM: don't allow SCIM users to change fields [#63130](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63130)
-- Highlighting: Update JSX/TSX highlighting to more properly label tag delimiters [#63138](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63138)
- - Update highlighting of JSX/TSX Tags to correctly label delimiters
-- Highlighting: Improve highlighting for Magik language [#63155](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63155)
- - Correctly identify null and symbols in Magik language syntax highlighting
-- Search: Contributors page errors with empty date string [#63182](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63182)
-- Tests: Clean up mocks after test [#63201](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63201)
-- Local: disable bazel remote cache [#63203](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63203)
-- Search: Copy text from read-only code host configuration input [#63239](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63239)
-- Plg: Fix "Remove team member" feature [#63241](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63241)
-- Svelte: scrolling search input [#63261](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63261)
-- Search: VSCode Search extension: remove auth provider [#63262](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63262)
- - Remove interaction between the Sourcegraph Search extension and the Accounts menu.
-- Search: Better diagnostic message for invalid and incomplete select: filter value [#63266](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63266)
- - Show useful valid values when an invalid `select:` value is entered
- - Do not render empty hover tooltips
-- Search: Improve syntax highlighting of search history entries [#63271](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63271)
-- Search: Ignore *lock keys for keyboard shortcut matching [#63272](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63272)
-- Svelte: Add trailing slash to group and directory suggestions [#63273](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63273)
-- Source: Fix documentation URLs for code hosts help pages [#63274](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63274)
- - Fix in-product documentation links for code hosts to point to updated docs location
-- Ci: remove broken glob [#63277](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63277)
-- Don't mark references in import statements as definitions [#63284](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63284)
- - Fixes a bug where import statements in TypeScript code showed up in `type:symbol` search.
-- Plg: banner styles [#63287](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63287)
-- Svelte: Fix icon color in search sidebar [#63288](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63288)
-- Svelte: Open correct file from preview panel line number [#63309](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63309)
-- Svelte: Reference panel width [#63310](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63310)
-- Svelte: Fix reference panel loading/error state [#63316](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63316)
-- Svelte: Properly scope global CSS selector [#63332](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63332)
-- Svelte: Preserve selected lines in codehost URL [#63334](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63334)
- - Line selection is preserved when navigating to GitHub or GitLab external URLs
- - File actions are now available in the inline 'at commit' view
- - File icon is now rendered in the file header for the inline diff view
-- Svelte: History suggestions should show immediately when clicking the history button [#63335](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63335)
-- Batches: disallow retry on deleted changesets [#63336](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63336)
- - Disallow auto-retry when a changeset is deleted.
-- Svelte: Data/code preloading doesn't work when using panels [#63339](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63339)
-- Svelte: Use correct symbol icon color [#63355](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63355)
-- Api: only allow a user or site admin to view that user's usage stats [#63365](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63365)
-- Client: restore paths for extension bundles [#63402](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63402)
-- Sg: fix mangled log output from `sg start` and `sg run` [#63405](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63405)
-- Enterpriseportal: ListEnterpriseSubscriptions fixes [#63412](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63412)
-- Svelte: Properly rounded corner for file view hover cards [#63446](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63446)
-- Analytics: fix broken v1 codeintel event logging [#63449](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63449)
-- Plg: ensure invite flow is enabled only for embedded UI [#63466](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63466)
-- Check (uploadID, path) pairs in bulk [#63485](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63485)
-- Search: remove "lucky" from default pattern types [#63486](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63486)
- - Removed experimental pattern type "lucky" from the list of supported default pattern types.
-- Sg: reduce max interrupt count and os.Exit always [#63516](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63516)
- - Sg - Always os.Exit once shutdown hooks have completed
- - Sg - Reduce max intterupt count from 5 to 2 to hard exit
-- Batches: remove leading and trailing spaces from batch changes credentials [#63517](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63517)
- - Whitespaces in Batch Changes credentials are trimmed before being saved to the database, this prevents 401 errors when using the token to construct an authenticated push URL.
-- Search: VSCode Search extension: bring back matched lines in search results. [#63524](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63524)
-- Sg: fix 'sg enterprise' per-command flags [#63527](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63527)
-- Sg: conditionally show protips [#63541](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63541)
- - Sg - Conditionally show protips when running `sg bazel`
-- Search: Token decoration in keyword-enabled query input [#63543](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63543)
-- Svelte: Reference layout shift while loading data [#63546](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63546)
-- Batches: fix zero division error resulting in wrong stats computation [#63547](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63547)
-- Enterpriseportal: forcibly run gorm-incompatible migration in local dev [#63549](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63549)
-- Telemetrygateway: reduce context cancellation error reports [#63551](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63551)
-- Search: VSCode Search extension: hide file preview link [#63552](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63552)
-- Svelte: Fix unplugin icons usage in storybook [#63594](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63594)
-- Ci: panic using correct err [#63599](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63599)
- - Ci - Use correct err value to panic on
-- Svelte: Remove rogue console.log statement [#63600](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63600)
-- Search: Don't show inline cody widget when new cody web is enabled [#63608](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63608)
-- Actions: update pinned SHA for `pnpm/action-setup` action [#63632](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63632)
-- Batches: display failure alert depending on github app kind [#63633](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63633)
-- Svelte: Render correct error page [#63663](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63663)
-- Svelte: Use 'pointer' pointer for cody button [#63665](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63665)
-- Svelte: Respect cody ignore settings [#63677](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63677)
-- Svelte: Fixes excessive 'the hotkey ... has already been registered' messages [#63679](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63679)
-- Batches: fix broken credential validator [#63687](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63687)
-- Svelte: Properly load/serve version.json [#63688](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63688)
-- Codygateway: tweak enterprise-portal dial options [#63692](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63692)
-- Batches: fix broken `ghauth` import [#63693](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63693)
-- Svelte: Update cody web [#63710](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63710)
-- Better alignemnt of github credentials and check success notice [#63717](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63717)
-- Show success notice in the correct area [#63721](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63721)
-- Svelte: Prefill search home page query input with (default) context filter [#63740](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63740)
-- Remove watch path that's gone [#63746](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63746)
-- Batches: enable check for creating source as non credential [#63751](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63751)
-- Build: update wolfi image lock for otel [#63755](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63755)
- - Fix(build): update wolfi lock for otel-collector
-
-### Refactor
-
-- Cody: Reshape the `CompletionsClient` interface [#63358](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63358)NA, just some under the hood refactoring that shouldn't impact any functionality.
-
-### Test
-
-- Cody: Add unit tests for the Completions API [#63434](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63434)NA. Just trivial changes and adding more tests.
-
-### Reverts
-
-
-### Uncategorized
-
-- Gitserver: Sunset Exec endpoint [#62774](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62774)
-- Gitserver: Cleanup CreateCommitFromPatch [#62781](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62781)
-- [React]: Add initial usage of the new web worker-based cody web chat [#62792](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62792)
-- Gitserver: Framework to support integration testing against gitserver [#62801](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62801)
-- Feat/internal/memcmd: add internal/memcmd package to allow for memory tracking of exec.Cmd processes [#62803](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62803)This feature adds a package that allows us to track the memory usage of commands invoked via exec.Cmd.
-- Feat(search/svelte): Add context specific suggestions to repo search input [#62880](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62880)
-- Feat/cody-gateway: use Enterprise Portal for actor/productsubscriptions [#62934](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/62934)
-- Reimplement license checks [#63068](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63068)
-- Svelte: inject into primary `app.html` [#63088](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63088)
-- Syntactic Indexing: add TAR archive indexing mode to scip-syntax CLI [#63097](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63097)
-- Add Support for Counting Tokens for Azure Code and Update in Redis [#63100](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63100)
-- Enterprise-portal: update RPC for subscription domain and members [#63105](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63105)
-- Cody Gateway embeddings: powering with generated metadata - Take 2 [#63112](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63112)
-- Fix(Cody Gateway): add model field to Google completion request [#63113](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63113)
-- Feat/cmd/gitserver: add memory tracking for both linux and macos [#63114](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63114)Adds a new experimental feature to enable track of `git` command memory invocations when the `GITSERVER_MEMORY_OBSERVATION_ENABLED` environment variable is true (off by default).
-- Feat/sg-msp-pg: add suggestion to check msp-ops page on perms error [#63118](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63118)
- - `sg msp pg connect` will tell you about your service's generated Notion page if you run into a permissions-looking error during command setup, where there is guidance about the required Entitle requests.
-- Svelte: add sentry [#63126](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63126)
-- Sg: deny cloud ephemeral builds from main [#63127](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63127)
- - Deny cloud ephemeral deployments triggered from 'main'
-- Svelte: Add bottom panel close button [#63128](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63128)
- - Added bottom panel close button
- - Added 'text' variant to Button component
- - Added 'actions' slot to Tabs component
- - Added Button component stories
-- Svelte: Migrate repo sidebar toggle button to use lucide icon [#63129](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63129)
-- Bug: update hard coded consts [#63133](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63133)
- - Tmp process: update release consts to 5.4.5099
-- Reapply "gitserver(client): Reintroduce 500 maximum connections limit" [#63134](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63134)
-- Scim: Fix user updates when SCIM was previously enabled [#63135](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63135)
-- Enterprise-portal: rename "scope" to "permission" for query RPC [#63137](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63137)
-- Enterprise-portal: init database schema and handler store [#63139](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63139)
-- Svelte: allow popovers to have external targets [#63141](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63141)
-- Feat/enterprise-portal: rudimentary audit logging [#63142](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63142)
-- Build: fixup custom eslint test rule after bump to rules_js 2 [#63143](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63143)
-- Remove references to 'rate-limits-exceeded-for-testing' feature flag [#63144](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63144)
-- Security: Auto-update package lockfiles for Sourcegraph base images [#63145](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63145)
-- Svelte: fix tests [#63146](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63146)
-- Gitserver: Remove comment about error checking [#63147](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63147)
-- Adds stubs for usage connection resolver [#63156](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63156)
-- Feat/enterprise-portal: return all attributes, even when access is disabled [#63159](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63159)
-- Webhooks: Update payload testdata and type for Bitbucket Server push events [#63161](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63161)
-- Fix/enterprise-portal: ignore empty hashes for Cody Gateway access tokens [#63162](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63162)
-- Feat(cody-gateway): add Google Gemini stable models to allowed models [#63163](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63163)
-- Feat/msp/runtime: PG_QUERY_LOGGING=true for local dev query logging [#63164](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63164)
- - MSP runtime users can now set `PG_QUERY_LOGGING=true` to dump queries and arguments from database interactions at `DEBUG` level in local dev.
-- Msp: encode commit_message as base64 [#63165](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63165)
-- Cody Gateway: Add support for Google non-streaming endpoint [#63166](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63166)
-- Svelte: add Cody upsell banner [#63167](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63167)
-- Chore/cody-gateway: instrument removeUnseenTokens [#63169](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63169)
-- Svelte: add footer links for dotcom [#63170](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63170)
-- Chore/otel-collector: upgrade to v0.103.0, remove jaegerexporter [#63171](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63171)
- - OpenTelemetry Collector: Upgraded OpenTelemetry Collector to v0.103.0
- - OpenTelemetry Collector: The [deprecated ](https://github.com/open-telemetry/opentelemetry-specification/pull/2858). Users of `exporter: { jaeger: ... }` in the OpenTelemetry Collector should use `exporter: { otlp/jaeger: ... }` to send traces directly to Jaeger via its OTLP receiver.
- - Users of the default Jaeger configurations now need to provide `JAEGER_OTLP_GRPC_PORT` as well as the existing `JAEGER_HOST` configuration.
-- Cody Gateway: handle streams with trailing newline in Gemini response [#63172](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63172)
-- Enterprise-portal: implement basic MSP IAM and RPCs [#63173](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63173)
-- Fix: auth issues with Sourcegraph VSCode extension [#63175](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63175)
- - Entering the URL and access token in the UI now works - No more manual editing of `settings.json`
-- Adds a search client to the codenav service [#63180](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63180)
-- Feat(search/svelte): Support more file icons [#63181](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63181)
-- Dotcom: fix issue with dotcom emails [#63183](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63183)
-- Fix(search/svelte): Hide diff view when closing bottom panel [#63184](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63184)
-- Extend instructions for running CG locally [#63186](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63186)
-- Enterprise-portal: temporarily disable local DB migrate [#63187](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63187)
-- SSC: Fix "Make admin" and "Revoke admin" button actions [#63188](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63188)fix(plg): fixed "Make admin" and "Revoke admin" button actions
-- Resolve syntactic symbol at request range [#63189](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63189)
-- SSC: Fix checkout links [#63190](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63190)fix(plg): make upgrade links point to the right pages for Teams & Invites
-- [Svelte]: Fix standard click-based popover flow [#63192](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63192)
-- Fix: querying event logs breaks when "id" column value > int32 [#63193](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63193)
- - Address "value out of range" errors when querying the event logs
-- Sg: cloud eph - Improve missing tag/version message [#63195](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63195)
- - Sg - Improve messaging when an image is missing from Cloud ephemeral registry
-- Adds function to find candidate occurrences via search [#63196](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63196)
-- Webhooks: Add support for secrets for Bitbucket Cloud [#63198](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63198)
-- Context: detect if README is required [#63199](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63199)
-- Sg: cloud eph - Set max deployment name [#63202](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63202)
- - Sg - Set a max length for cloud ephemeral deployment names
-- Fix/internal/memcmd: fix goroutine leak in linux observer [#63206](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63206)A goroutine leak in the experimental linux memory observation logic has been fixed.
-- Feat/internal/memcmd: ignore context cancellation errors from Stop() [#63208](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63208)
- - Slightly improve logspam from Linux memory observation logic by ignoring context cancellation errors that occur when the user explicitly stopped the observer.
-- Use 8B version of llama3 in metadata generation [#63212](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63212)
-- Fix/internal/memcmd: close the explicit stop channel before cancelling context [#63214](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63214)This PR fixes a logspam bug in the linux memory observer that was due to do slightly faulty synchronizzation logic.
-- Internal: make adding EventsStore middleware easier [#63216](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63216)
-- Codenav: use new occurrences API for symbol definitions [#63217](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63217)
-- Svelte: remove v1 telemetry [#63220](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63220)
-- Svelte: use Inter font for --font-family-base [#63221](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63221)
-- Proof-of-concept for Intent detector API [#63228](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63228)
-- Add unit test for saml requests with multiple certs [#63229](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63229)
-- Chore(search/svelte): Remove dependencies on barrel files to speed up dev build [#63230](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63230)
-- PLG: Allow users who are already on a team accept invites [#63231](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63231)
-- Svelte: use Roboto Mono as monospace font [#63247](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63247)
-- Chore: disable flaky tests [#63251](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63251)
-- Svelte: implement keyboard shortcut design [#63253](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63253)
-- Svelte: add repo header dropdown menu [#63257](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63257)
-- Fix(cody-gateway): Improve prompt and request validation for gemini [#63258](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63258)
-- Filters candidate matches against syntactic SCIP documents [#63268](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63268)
-- PLG: encode URL search params [#63275](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63275)
-- Chore: update goldmark [#63276](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63276)
-- Cody Gateway: add gemini model to code completion list [#63278](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63278)
-- Adding Anthropic messages API support to the Google provider through Google vertex [#63282](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63282)
-- Adding deepseek and lang specific mixtral for completions ab experiment [#63283](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63283)
-- Wraps up syntactic usages in resolvers [#63285](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63285)
-- Fix(cody-gateway): Disable flagging Google requests [#63295](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63295)
-- Svelte: fix sidebar icon alignment [#63296](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63296)
-- Fix/graphql/database: make count of failed user permissions syncs ignore soft deleted users [#63297](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63297)
- - The failed user permission sync count on the permission dashboard now properly ignores syncs from deleted users (which is the expected behavior).
-- Fix/graphql/database: fix repo permission sync count to ignore soft deleted repositories [#63298](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63298)
- - The failed repository permission sync count on the permission dashboard now properly ignores syncs from deleted repository (which is the expected behavior).
-- Feature/internal/database: add test to ensure that not found errors fulfiill errcode.NotFound [#63299](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63299)
- - Added unit tests to ensure that the database userNotFound and RepositoryNotFound error types fulfuill the errcode.NotFound interface.
-- Context: simplify file chunk conversion [#63301](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63301)
-- Fix/frontend/graphql: log and add trace events for all non-not-found errors that occur when fetching permission syncs [#63302](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63302)
- - Our graphqlAPI now logs and traces any non-not-found errors that occur when fetching permission sync jobs (as opposed to being silently swallowed).
-- Feat(cody gateway): code completion support for Google Gemini Flash models [#63303](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63303)feat(cody gateway): code completion support for Google Gemini Flash models
-- Fix(cody-gateway): Fix Google flagging configuration [#63305](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63305)
-- Fix(cody-gateway): streaming google endpoint [#63306](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63306)
-- Syntax-highlighter: Use camino to make handling utf8 paths nicer [#63311](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63311)
-- Retry 404 errors from Triton [#63315](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63315)
-- Minor: update license wording [#63318](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63318)
-- Svelte: repo header followups [#63319](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63319)
-- Dotcom: Remove on-demand cloning of repositories [#63321](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63321)Dotcom no longer clones repos on demand.
-- Chore: remove search console [#63322](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63322)
-- Wip: Introduce `cody-gateway-config` tool for generating model configuration [#63324](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63324)NA, this is an initial step. A later PR will elaborate on the exciting new feature this is enabling.
-- V2-telemetry: Simplify sensitive metadata allowlist to accept feature only [#63325](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63325)
-- Search: surface pattern type in query input [#63326](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63326)
-- Code monitors: respect default pattern type [#63333](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63333)
-- Use math/rand/v2 [#63346](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63346)
-- Cody pro icon was squashed in the upgrade banner [#63356](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63356)
-- Refactor the 'getModel' callbacks into their own file [#63359](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63359)NA
-- Fix/msp/postgresqlroles: wait for databases to be provisioned [#63362](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63362)
- - MSP Cloud SQL: Fix race condition between database creation and role grants for the read-only operator access user
-- Skip highlighting large lockfiles on all instances, not just dotcom [#63366](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63366)
- - Syntax highlighting is disabled on lockfiles (such as `package-lock.json`) because it is CPU-intensive on these large files and very rarely desirable.
-- Allow repo access by default on dotcom [#63367](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63367)
-- Clearer access tokens allow check on dotcom [#63368](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63368)
-- Nix: use go1.22.4 [#63372](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63372)
-- Remove extraneous Cody onboarding steps [#63373](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63373)
-- Publish images from patch release branches [#63379](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63379)
-- Plg: Make page headers the same style [#63380](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63380)
-- Improve InviteUsers interface [#63383](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63383)
-- Cody Gateway: New Claude 3.5 Sonnet model [#63395](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63395)feature(plg): new Claude 3.5 Sonnet model support for Cody Pro users
-- Search: expose path matches on FileMatch [#63396](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63396)
- - Exposed the matched ranges of a file path via the GraphQL API
-- Svelte: Make the byline in the fuzzy finder items bigger [#63398](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63398)
-- Msp: add `GetFloat` to runtime `Env` [#63399](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63399)
-- Fix(cody-gateway): model id for claude 3.5 sonnet [#63400](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63400)
-- Fix(cody-gateway): getAPIURL before transformBody [#63406](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63406)
-- Search: always respect default pattern type [#63410](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63410)
-- Feat(cody-gateway): add support for Gemini models with context cache [#63413](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63413)
-- Rename intent API (add chat reference, make the name more idiomatic) [#63416](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63416)
-- Add language ID to private metadata for v2 codeintel events (for in p… [#63421](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63421)
-- Lib: downgrade GORM to 1.25.6 [#63427](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63427)
-- "Cody" in navbar not "Cody AI" [#63429](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63429)
- - In the navbar, Cody is now just "Cody" not "Cody AI".
-- Remove Cody "upsells"—and all Cody links if Cody is disabled [#63430](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63430)
- - When Cody is disabled in site config (with `"cody.enabled": false`), all links and UI elements about Cody are hidden from all users. Previously, when Cody was disabled, users would see some links informing them about Cody.
-- Remove disabled web UI code for embeddings [#63432](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63432)
-- Remove rule warning about React props spreading [#63433](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63433)
-- Support fast, simple `sg start single-program-experimental-blame-sqs` for local dev [#63435](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63435)
-- Config: Various fixes and updating the naming rules for ModelConfig resource IDs [#63436](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63436)
-- Remove unused CODY_APP esbuild config and entrypoint [#63438](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63438)
-- Remove old and unused Cody search page [#63439](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63439)
-- Remove Code Search upsell from Cody page [#63440](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63440)
-- Scip-syntax: adds strict SCIP symbol parsing and formatting [#63443](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63443)
-- Fix(code hosts): Use more deterministic API endpoints for GitHub code host connections [#63445](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63445)
- - The `"internal"` repositoryQuery for GitHub code host connections now use a more deterministic API that's less susceptible to missing repositories
- - The `"public"` repositoryQuery for GitHub code host connections now make additional requests to fetch missing repository details, like topics. This fixes an issue where repos added by the `"public"` repositoryQuery would have missing repo details
-- Add back /post-sign-up [#63456](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63456)
-- Add v2 telemetry infrastructure to browser extensions and native inte… [#63458](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63458)
-- Allow more models to be used in Cody Free [#63459](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63459)
-- Gateway: forward X-Fireworks-Genie header from client [#63460](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63460)
-- Search-based usages for new codenav API [#63464](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63464)
-- Chore(code-search): disable codemonitoring dotcom (jscontext) [#63465](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63465)
-- Notebooks: store default pattern type per notebook [#63472](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63472)
-- Chore: refactoring occurrence indexing [#63473](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63473)
-- Update free tier limits [#63474](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63474)
-- Svelte: add debug view for code intel occurrences [#63475](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63475)
-- Chore: fix repo stars alignment [#63476](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63476)
-- Omit go:embed of big assets from `sg start single-program-experimental-blame-sqs` [#63477](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63477)
-- Fix chopped-off tooltips in code monitor query input [#63478](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63478)
- - Fixed an issue when creating or editing a code monitor that obscured helpful tooltips in the query editor.
-- Add React key to fragments in code monitoring logs [#63479](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63479)
-- Remove beta labels for code monitoring Slack notifs & logs [#63480](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63480)
- - Code monitoring Slack notifications, previously in beta, are now GA. This feature lets you post matching code changes to a Slack channel.
- - Code monitoring logs, previously in beta, are now GA. This feature lets you see the status of and activity related to code monitors to troubleshoot issues with finding results and performing configured actions.
-- Shorter PR template [#63481](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63481)
-- Cloud: add feature flags to show no edit warning [#63484](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63484)
-- Saved searches: use default pattern type [#63487](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63487)
-- Search: fix regexp toggle if regexp is default [#63489](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63489)
-- Fix azure completions api [#63491](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63491)
-- Enable new Cody Web by default [#63493](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63493)
-- Msp: split contract into JobContract and ServiceContract [#63494](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63494)
-- Svelte: improve contrast for file tree guide line [#63495](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63495)
-- Fix/internal/observation: make ErrCollector type threadsafe [#63496](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63496)
- - Fixed a threadsafety issue in the internal/observation.ErrCollector type
-- Fix initial context for Cody Web on the repository page [#63497](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63497)
-- Cody Web: Fix Cody page for signed out users [#63498](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63498)
-- Cloud: update feature flag warning severity [#63499](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63499)n/a
-- Svelte: rev picker design updates and addition to commits page [#63506](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63506)
-- Oops, fix Cody Web enablement [#63508](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63508)
-- Fix Cody nav link for unauthed dotcom users [#63510](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63510)
-- Looser eslint rules [#63511](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63511)
-- Remove unused CTAs [#63512](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63512)
-- Misc wording and UI tweaks to search contexts pages [#63513](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63513)
-- Make Cody and Code Search global navbar items one-click [#63514](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63514)
- - Code Search and Cody now are one-click links in the global navbar. Other features are in the new "Tools" menu: search contexts, code monitors, search jobs, and notebooks. Your Cody dashboard is linked from your user menu (in the top right).
-- Bump `cody-web-experimental` package version [#63525](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63525)
-- Sg: generate github action subscription matrix dynamically [#63526](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63526)
-- Backend: Introduce a basic utils package for appliance sourcegraph upgrades [#63529](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63529)
-- Link to Cody chat on the web from the Cody manage page [#63530](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63530)
-- Feature: Data types for encoding LLM Model config via Sourcegraph site config [#63533](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63533)
-- Release: resource def jaeger [#63534](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63534)
-- Release: resource def grafana [#63535](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63535)
-- Scip-syntax: implements parallel processing for workspace and tar commands [#63536](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63536)
-- Add LazyQueryInputFormControl, remove duplicated common pattern [#63537](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63537)
-- Fetch User.id to suppress GraphQL cache warning [#63538](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63538)
-- Fix(sg/bazel-do): use ci.sourcegraph.bazelrc with bazel-do [#63545](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63545)
- - Sg - Ensure bazel-do invocations use the ci sourcegraph bazelrc
-- (chore)analytics: consistent naming of web code copied events [#63550](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63550)
-- Update config for workflows 5.10 [#63554](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63554)
-- Chore(search) VSCode Search extension: Update README and CHANGELOG [#63562](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63562)
-- Perf(scip-syntax): uses the same parse tree for globals and locals [#63564](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/63564)
-- Make `
-
# Sourcegraph Releases
@@ -9511,6 +13,12 @@ Currently supported versions of Sourcegraph:
| **Release** | **General Availability Date** | **Supported** | **Release Notes** | **Install** |
|--------------|-------------------------------|---------------|--------------------------------------------------------------------|------------------------------------------------------|
+| 6.4 Patch 3 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v643889) | [Install](https://sourcegraph.com/docs/admin/deploy) |
+| 6.4 Patch 2 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v642622) | [Install](https://sourcegraph.com/docs/admin/deploy) |
+| 6.4 Patch 1 | June 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v641203) | [Install](https://sourcegraph.com/docs/admin/deploy) |
+| 6.4 Patch 0 | May 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v640) | [Install](https://sourcegraph.com/docs/admin/deploy) |
+| 6.3 Patch 2 | May 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v634167) | [Install](https://sourcegraph.com/docs/admin/deploy) |
+| 6.3 Patch 1 | May 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v632692) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 6.3 Patch 0 | April 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v630) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 6.2 Patch 3 | April 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v623841) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 6.2 Patch 2 | April 2025 | ✅ | [Notes](https://sourcegraph.com/docs/technical-changelog#v622553) | [Install](https://sourcegraph.com/docs/admin/deploy) |
@@ -9590,6 +98,7 @@ These versions fall outside the release lifecycle and are not supported anymore:
+ - [6.3](https://6.3.sourcegraph.com)
- [6.2](https://6.2.sourcegraph.com)
- [6.1](https://6.1.sourcegraph.com)
- [6.0](https://6.0.sourcegraph.com)
@@ -9961,7 +470,9 @@ Purchasing Premium Support provides several of the following services beyond tho
- Heightened Support via Slack - Faster response times and closer collaboration through direct access to Sourcegraph experts with closer connection to end users and administrators.
- More Proactive Collaboration - Hands-on technical guidance to ensure successful migrations, upgrades, and maintenance; early access to new features; quarterly insights reports.
-### Premium Support SLAs
+### Premium Support Packages
+
+### Package 1: Premium Support SLAs
Premium Support SLAs give customers access to our Support team 24x7 for Severity 0 and 1 issues that critically impact your instance and ability to use Sourcegraph.
@@ -9971,13 +482,13 @@ This service is provided for all GA products Sourcegraph offers, not for any [Ex
>NOTE: This package includes access to Slack Support
-### Dedicated Support
+### Package 2: Dedicated Support
Access to named senior support engineers who will have knowledge of your infrastructure and can help reduce the time needed to triage, diagnose, and resolve an issue in your instance.
>NOTE: This package includes access to Slack Support
-### Slack Support
+### Package 3: Slack Support
Slack Support provides access to creating tickets directly from Slack, allowing customers to resolve tickets directly from a familiar interface and allowing for greater collaboration between Support and customers.
@@ -10413,6 +924,23 @@ To find all commits between versions `5.0` and `5.1` made by `sourcegraph/own` t
Same query can be run for any owner (a person or a team).
+## Troubleshooting
+
+### Memory issues and worker crashes
+
+The Own background processes (such as ownership signals computation) can consume significant memory, potentially causing worker jobs to crash due to excessive memory usage. If you experience memory problems or worker crashes related to Own:
+
+1. **Disable ownership signals**: Go to **Site admin > Code graph > Ownership signals** and disable the signals that are causing issues:
+ - Recent contributors signal
+ - Recent views signal
+ - Analytics computation
+
+2. **Exclude large repositories**: Use the repository filtering options to exclude large repositories from ownership signal computation.
+
+3. **Monitor resource usage**: Check your instance's memory usage after disabling signals to confirm the issue is resolved.
+
+If memory issues persist after disabling ownership features, consider whether Own functionality is essential for your use case.
+
## Further reading
In order to learn more please check out our references:
@@ -11453,12 +1981,9 @@ Site admins can [configure Sourcegraph to respect Bitbucket Server / Bitbucket D
We recommend installing the Sourcegraph Bitbucket plugin which adds the following features to your Bitbucket Server / Bitbucket Data Center instance:
-- **Native code navigation**: users don't need to install the [Sourcegraph browser extension](#browser-extension) to get hover tooltips, go-to-definition, find-references, and code search while browsing files and viewing pull requests on Bitbucket Server / Bitbucket Data Center.
- **Fast permission syncing** between Sourcegraph and Bitbucket Server / Bitbucket Data Center
- **Webhooks with configurable scope**, which are used by and highly recommended for usage with [batch changes](/batch-changes/)
-
-
### Installation and requirements
Install the Sourcegraph plugin for Bitbucket from the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/1231975/sourcegraph-for-bitbucket?tab=overview&hosting=datacenter) or see the [bitbucket-server-plugin](https://github.com/sourcegraph/bitbucket-server-plugin) repository for instructions on how to manually install the plugin on your Bitbucket Server / Bitbucket Data Center instance.
@@ -11503,12 +2028,6 @@ In order to update the plugin, follow the same steps as for installing it, which
When the Sourcegraph instance connected to the Bitbucket Server plugin is updated, so will the code that's fetched by the plugin to enable native code navigation. No manual steps required. (See the [Technical Details](#technical-details) section on how this works.)
-### Native code navigation
-
-Once the plugin is installed and the **Sourcegraph URL** is set under **Administration > Add-ons > Sourcegraph**, native code navigation is enabled when browsing code or pull requests on your Bitbucket Server / Bitbucket Data Center instance.
-
-To disable native code navigation, simply set **Sourcegraph URL** to an empty value. Note that this will also disable [Webhooks](#webhooks)!
-
### Webhooks
Once the plugin is installed, go to **Administration > Add-ons > Sourcegraph** to see a list of all configured webhooks and to create a new one.
@@ -11535,22 +2054,6 @@ This section provides some technical insight into the Bitbucket Server plugin to
You can find the full source code for the plugin at [github.com/sourcegraph/bitbucket-server-plugin](https://github.com/sourcegraph/bitbucket-server-plugin/).
-#### Native code navigation
-
-The Bitbucket Server plugin provides **native code navigation** without users having to install the [Sourcegraph browser extension](/integration/browser_extension).
-
-It does that by fetching the required JavaScript code from the configured Sourcegraph instance and injecting it into the HTML that the Bitbucket Server / Bitbucket Data Center instance serves. See the [`sourcegraph-bitbucket.js`](https://github.com/sourcegraph/bitbucket-server-plugin/blob/master/src/main/resources/js/sourcegraph-bitbucket.js) file for how it does that.
-
-The code that's injected is the code of the [Sourcegraph browser extension](#browser-extension). It is hosted by your Sourcegraph instance in this case and adds the same code navigation functionality to all files and pull requests viewed on Bitbucket Server / Bitbucket Data Center.
-
-The code only talks to the Sourcegraph instance that's configured in the Bitbucket Server plugin configuration. It doesn't add any more load to the Bitbucker Server instance.
-
-No private code, private repository names, usernames, or any other specific data is sent somewhere else. The code will send usage information to the connected private Sourcegraph instance only, so that the site admins can see usage statistics.
-
-If it failed to load or talk to the Sourcegraph instance, messages are logged to the browser console.
-
-When the Sourcegraph instance is updated to a newer version, the embedded browser extension code that provides the native code navigation may also be updated.
-
#### Webhooks
Bitbucket Server / Bitbucket Data Center natively only [provides **per-repository** webhooks](https://confluence.atlassian.com/bitbucketserver/managing-webhooks-in-bitbucket-server-938025878.html).
@@ -12236,6 +2739,25 @@ Full [search query syntax](/code-search/queries).
+
+# AWS Instance Sizing for Sourcegraph
+
+## Instance size chart
+
+Select an instance type according to the number of users and repositories you have using this table. If you fall between two sizes, choose the larger of the two.
+
+For example, if you have 8,000 users with 80,000 repositories, your instance size would be **L**. If you have 1,000 users with 80,000 repositories, you should still go with size **M**.
+
+| | **XS** | **S** | **M** | **L** | **XL** |
+|----------------------|-----------------------|-----------------------|-----------------------|-----------------------|------------------------|
+| **Users** | ≥ 500 | ≥ 1,000 | ≥ 5,000 | ≥ 10,000 | ≥ 20,000 |
+| **Repositories** | ≥ 5,000 | ≥ 10,000 | ≥ 50,000 | ≥ 100,000 | ≥ 250,000 |
+| **Recommended Type** | m6a.2xlarge | m6a.4xlarge | m6a.8xlarge | m6a.12xlarge | m6a.24xlarge |
+| **Minimum Type** | m6a.2xlarge | m6a.2xlarge | m6a.4xlarge | m6a.8xlarge | m6a.12xlarge |
+
+While we recommend certain instance types in our sizing chart, the Sourcegraph AMI will dynamically use the resources available on the EC2 instance type it is deployed to, provided the minimum amount of resources needed is available. If you would like to resize your EC2 instance, follow the [upgrade steps](/admin/deploy/machine-images/aws-ami#upgrade) to switch to a more appropriate instance type.
+
+
# Sourcegraph Tour
@@ -13878,7 +4400,7 @@ This prompt can help you if you want to generate unit tests for your code based
>You're working with Golang and need Cody to generate unit tests that comply with your team’s conventions. Your organization follows a specific structure for tests, including table-driven tests and `require` from the `testify` package for assertions. However, Cody might provide a simple test that does not align with your standards.
-While you can use the default `generate-unit-tests` prompt but to get the desired output, you can customize e the prompt to include the following:
+While you can use the default `generate-unit-tests` prompt but to get the desired output, you can customize the prompt to include the following:
```
Please generate Golang unit tests that adhere to the following conventions:
@@ -14692,13 +5214,22 @@ For OpenAI reasoning models, the `reasoningEffort` field value corresponds to th
"displayName": "huggingface",
"serverSideConfig": {
"type": "openaicompatible",
+ // optional: disable the use of /completions for autocomplete requests, instead using
+ // only /chat/completions. (available in Sourcegraph 6.4+ and 6.3.2692)
+ //
+ // "useLegacyCompletions": false,
"endpoints": [
{
"url": "https://api-inference.huggingface.co/models/meta-llama/CodeLlama-7b-hf/v1/",
"accessToken": "token"
+
+ // optional: send custom headers (in which case accessToken above is not used)
+ // (available in Sourcegraph 6.4+ and 6.3.2692)
+ //
+ // "headers": { "X-api-key": "foo", "My-Custom-Http-Header": "bar" },
}
]
- }
+ }
}
],
"modelOverrides": [
@@ -14913,6 +5444,43 @@ The response includes:
}
```
+## Reasoning models
+
+Claude 3.7 and 4 support is available with Sourcegraph versions 6.4+ and 6.3.4167 when using Cody Gateway. This section is primarily relevant to Sourcegraph Enterprise customers using AWS Bedrock or Google Vertex.
+
+Reasoning models can be added via `modelOverrides` in the site configuration by adding the `reasoning` capability to the `capabilities` list, and setting the `reasoningEffort` field on the model. Both must be set for the models' reasoning functionality to be used (otherwise the base model without reasoning / exteded thinking will be used.)
+
+For example, this `modelOverride` would create a `Claude Sonnet 4 with Thinking` option in the Cody model selector menu, and when the user chats with Cody with that model selected, it would use Claude Sonnet 4's Extended Thinking support with a `low` reasoning effort for the users' chat:
+
+```json
+{
+ "modelRef": "bedrock::2024-10-22::claude-sonnet-4-thinking-latest",
+ "displayName": "Claude Sonnet 4 with Thinking",
+ "modelName": "claude-sonnet-4-20250514",
+ "contextWindow": {
+ "maxInputTokens": 93000,
+ "maxOutputTokens": 64000,
+ "maxUserInputTokens": 18000
+ },
+ "capabilities": [
+ "chat",
+ "reasoning"
+ ],
+ "reasoningEffort": "low",
+ "category": "accuracy",
+ "status": "stable"
+}
+```
+
+
+
+The `reasoningEffort` field is only used by reasoning models (those having `reasoning` in their `capabilities` section). Supported values are `high`, `medium`, `low`. How this value is treated depends on the specific provider:
+
+* `anthropic` provider treats e.g. `low` effort to mean that the minimum [`thinking.budget_tokens`](https://docs.anthropic.com/en/api/messages#body-thinking) value (1024) will be used. For other `reasoningEffort` values, the `contextWindow.maxOutputTokens / 2` value will be used.
+* `openai` provider maps the `reasoningEffort` field value to the [OpenAI `reasoning_effort`](https://platform.openai.com/docs/api-reference/chat/create#chat-create-reasoning_effort) request body value.
+
+
+
@@ -15022,7 +5590,7 @@ In the configuration above, we:
- Define a new provider with the ID `"anthropic-byok"` and configure it to use the Anthropic API
- Since this provider is unknown to Sourcegraph, no Sourcegraph-supplied models are available. Therefore, we add a custom model in the `"modelOverrides"` section
- Use the custom model configured in the previous step (`"anthropic-byok::2024-10-22::claude-3.5-sonnet"`) for `"chat"`. Requests are sent directly to the Anthropic API as set in the provider override
-- For `"fastChat"` and `"autocomplete"`, we use Sourcegraph-provided models via Cody Gateway
+- For `"fastChat"` and `"codeCompletion"`, we use Sourcegraph-provided models via Cody Gateway
## Config examples for various LLM providers
@@ -15236,8 +5804,8 @@ In the configuration above,
- Set up a provider override for OpenAI, routing requests for this provider directly to the specified OpenAI endpoint (bypassing Cody Gateway)
- Add three OpenAI models:
- `"openai::2024-02-01::gpt-4o"` with chat capability - used as a default model for chat
- - `"openai::unknown::gpt-4.1-nano"` with chat, edit and autocomplete capabilities - used as a default model for fast chat and autocomplete
- - `"openai::unknown::o3"` with chat and reasoning capabilities - o-series model that supports thinking, can be used for chat (note: to enable thinking, model override should include "reasoning" capability and have "reasoningEffort" defined).
+ - `"openai::unknown::gpt-4.1-nano"` with chat, edit and autocomplete capabilities - used as a default model for fast chat and autocomplete
+ - `"openai::unknown::o3"` with chat and reasoning capabilities - o-series model that supports thinking, can be used for chat (note: to enable thinking, model override should include "reasoning" capability and have "reasoningEffort" defined).
@@ -15327,7 +5895,7 @@ In the configuration above,
**Note:** For Azure OpenAI, ensure that the `modelName` matches the name defined in your Azure portal configuration for the model.
- Add four OpenAI models:
- `"azure-openai::unknown::gpt-4o"` with chat capability - used as a default model for chat
- - `"azure-openai::unknown::gpt-4.1-nano"` with chat, edit and autocomplete capabilities - used as a default model for fast chat and codeCompletion
+ - `"azure-openai::unknown::gpt-4.1-nano"` with chat, edit and autocomplete capabilities - used as a default model for fast chat and autocomplete
- `"azure-openai::unknown::o3-mini"` with chat and reasoning capabilities - o-series model that supports thinking, can be used for chat (note: to enable thinking, model override should include "reasoning" capability and have "reasoningEffort" defined)
- `"azure-openai::unknown::gpt-35-turbo-instruct-test"` with "autocomplete" capability - included as an alternative model
- Since `"azure-openai::unknown::gpt-35-turbo-instruct-test"` is not supported on the newer OpenAI `"v1/chat/completions"` endpoint, we set `"useDeprecatedCompletionsAPI"` to `true` to route requests to the legacy `"v1/completions"` endpoint. This setting is unnecessary if you are using a model supported on the `"v1/chat/completions"` endpoint.
@@ -15423,6 +5991,48 @@ In the configuration above,
- Set `clientSideConfig.openaicompatible` to `{}` to indicate to Cody clients that these models are OpenAI-compatible, ensuring the appropriate code paths are utilized
- Designate these models as the default choices for chat and autocomplete, respectively
+## Disabling legacy completions
+
+Available in Sourcegraph 6.4+ and 6.3.2692
+
+By default, Cody will send Autocomplete requests to the legacy OpenAI /completions endpoint (i.e. for pure-inference requests) - if your OpenAI-compatible API endpoint supports only /chat/completions, you may disable the use of the legacy completions endpoint by adding the following above your serverSideConfig endpoints list:
+
+```json
+"serverSideConfig": {
+ "type": "openaicompatible",
+ "useLegacyCompletions": false,
+ // ^ add this to disable /completions and make Cody only use /chat/completions
+ "endpoints": [
+ {
+ "url": "https://api-inference.huggingface.co/models/meta-llama/CodeLlama-7b-hf/v1/",
+ "accessToken": "token"
+ }
+ ]
+}
+```
+
+## Sending custom HTTP headers
+
+
+Available in Sourcegraph v6.4+ and v6.3.2692
+
+By default, Cody will only send an `Authorization: Bearer ` header to OpenAI-compatible endpoints. You may configure custom HTTP headers if you like under the URL of endpoints:
+
+```json
+"serverSideConfig": {
+ "type": "openaicompatible",
+ "endpoints": [
+ {
+ "url": "https://api-inference.huggingface.co/models/meta-llama/CodeLlama-7b-hf/v1/",
+ "headers": { "X-api-key": "foo", "My-Custom-Http-Header": "bar" },
+ // ^ add this to configure custom headers
+ }
+ ]
+}
+```
+
+When using custom headers, both `accessToken` and `accessTokenQuery` configuration settings are ignored.
+
@@ -15663,7 +6273,7 @@ Provider override `serverSideConfig` fields:
Provisioned throughput for Amazon Bedrock models can be configured using the `"awsBedrockProvisionedThroughput"` server-side configuration type. Refer to the [Model Overrides](/cody/enterprise/model-configuration#model-overrides) section for more details.
- If using [IAM roles for EC2 / instance role binding](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html),
+ If using [IAM roles for EC2 / instance role binding](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html),
you may need to increase the [HttpPutResponseHopLimit
](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_InstanceMetadataOptionsRequest.html#:~:text=HttpPutResponseHopLimit) instance metadata option to a higher value (e.g., 2) to ensure that the metadata service can be accessed from the frontend container running in the EC2 instance. See [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-existing-instances.html) for instructions.
@@ -15731,15 +6341,13 @@ Cody supports multi-repository context, allowing you to search up to 10 reposito
Keep @-mentioning repos that you want to include in your context. This flexibility lets you get more comprehensive and accurate responses by leveraging information across multiple codebases.
-## @-mention directories
-
-To better support teams working with large monorepos, Enterprise users can `@-mention` directories when chatting with Cody. This helps you define more specific directories and sub-directories within that monorepo to give more precise context.
+## @-mention context
-To do this, type `@` in the chat, and then select **Directories** to search other repositories for context in your codebase.
+Users can `@-mention` repositories, files, symbols, and web URLs to better support Enterprise teams working with large codebases when chatting with Cody. This helps you define more specific context.
-
+To do this, type `@` in the chat, and then select the context of your choice.
-Please note that you can only `@-mention` remote directories (i.e., directories in your Sourcegraph instance) but not local directories. This means any recent changes to your directories can't be utilized as context until your Sourcegraph instance re-indexes any changes.
+
If you want to include recent changes that haven't been indexed in your Sourcegraph instance, you can `@-mention` specific files, lines of code, or symbols.
@@ -15887,6 +6495,59 @@ For `accessToken`, you can either:
- Set it to `:` if directly configuring the credentials
- Set it to `::` if a session token is also required
+#### AWS Bedrock: Latency optimization
+
+Optimization for latency with AWS Bedrock is available in Sourcegraph v6.5 and more.
+
+AWS Bedrock supports [Latency Optimized Inference](https://docs.aws.amazon.com/bedrock/latest/userguide/latency-optimized-inference.html) which can reduce autocomplete latency with models like Claude 3.5 Haiku by up to ~40%.
+
+To use Bedrock's latency optimized inference feature for a specific model with Cody, configure the `"latencyOptimization": "optimized"` setting under the `serverSideConfig` of any model in `modelOverrides`. For example:
+
+```json
+"modelOverrides": [
+ {
+ "modelRef": "aws-bedrock::v1::claude-3-5-haiku-latency-optimized",
+ "modelName": "us.anthropic.claude-3-5-haiku-20241022-v1:0",
+ "displayName": "Claude 3.5 Haiku (latency optimized)",
+ "capabilities": [
+ "chat",
+ "autocomplete"
+ ],
+ "category": "speed",
+ "status": "stable",
+ "contextWindow": {
+ "maxInputTokens": 200000,
+ "maxOutputTokens": 4096
+ },
+ "serverSideConfig": {
+ "type": "awsBedrock",
+ "latencyOptimization": "optimized"
+ }
+ },
+ {
+ "modelRef": "aws-bedrock::v1::claude-3-5-haiku",
+ "modelName": "us.anthropic.claude-3-5-haiku-20241022-v1:0",
+ "displayName": "Claude 3.5 Haiku",
+ "capabilities": [
+ "chat",
+ "autocomplete"
+ ],
+ "category": "speed",
+ "status": "stable",
+ "contextWindow": {
+ "maxInputTokens": 200000,
+ "maxOutputTokens": 4096
+ },
+ "serverSideConfig": {
+ "type": "awsBedrock",
+ "latencyOptimization": "standard"
+ }
+ }
+]
+```
+
+See also [Debugging: running a latency test](#debugging-running-a-latency-test).
+
### Example: Using GCP Vertex AI
On [GCP Vertex](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude), we only support Anthropic Claude models.
@@ -15981,6 +6642,40 @@ To enable StarCoder, go to **Site admin > Site configuration** (`/site-admin/con
Users of the Cody extensions will automatically pick up this change when connected to your Enterprise instance.
+## Debugging: Running a latency test
+
+Debugging latency optimizated inference is supported in Sourcegraph v6.5 and more.
+
+Site administrators can test completions latency by sending a special debug command in any Cody chat window (in the web, in the editor, etc.):
+
+```shell
+cody_debug:::{"latencytest": 100}
+```
+
+Cody will then perform `100` quick `Hello, please respond with a short message.` requests to the LLM model selected in the dropdown, and measure the time taken to get the first streaming event back (for example first token from the model.) It records all of these requests timing information, and then responds with a report indicating the latency between the Sourcegraph `frontend` container and the LLM API:
+
+```shell
+Starting latency test with 10 requests...
+
+Individual timings:
+
+[... how long each request took ...]
+
+Summary:
+
+* Requests: 10/10 successful
+* Average: 882ms
+* Minimum: 435ms
+* Maximum: 1.3s
+```
+
+This can be helpful to get a feel for the latency of particular models, or models with different configurations - such as when using the AWS Bedrock Latency Optimized Inference feature.
+
+Few important considerations:
+
+- Debug commands are only available to site administrators and have no effect when used by regular users.
+- Sourcegraph's built-in Grafana monitoring also has a full `Completions` dashboard for monitoring LLM requests, performance, etc.
+
@@ -16004,7 +6699,8 @@ Here's a detailed breakdown of the token limits by model:
| GPT 4o mini | 7,000 | shared | 4,000 |
| GPT o3 mini medium | 7,000 | shared | 4,000 |
| Claude 3.5 Haiku | 7,000 | shared | 4,000 |
-| **Claude 3.5 Sonnet (New)** | **15,000** | **30,000** | **4,000** |
+| Claude 3.5 Sonnet (New) | 15,000 | 30,000 | 4,000 |
+| **Claude Sonnet 4** | **15,000** | **45,000** | **4,000** |
| Gemini 1.5 Pro | 7,000 | shared | 4,000 |
| Gemini 2.0 Flash | 7,000 | shared | 4,000 |
| Gemini 2.0 Flash-Lite Preview | 7,000 | shared | 4,000 |
@@ -16015,19 +6711,20 @@ Here's a detailed breakdown of the token limits by model:
The Pro tier supports the token limits for the LLM models on Free tier, plus:
-| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
-| ----------------------------- | ------------------------ | --------------------- | ---------- |
-| GPT 4o mini | 7,000 | shared | 4,000 |
-| GPT o3 mini medium | 7,000 | shared | 4,000 |
-| GPT 4 Turbo | 7,000 | shared | 4,000 |
-| GPT 4o | 7,000 | shared | 4,000 |
-| o1 | 7,000 | shared | 4,000 |
-| Claude 3.5 Haiku | 7,000 | shared | 4,000 |
-| **Claude 3.5 Sonnet (New)** | **15,000** | **30,000** | **4,000** |
-| Claude 3.7 Sonnet | 15,000 | 30,000 | 4,000 |
-| Gemini 1.5 Pro | 15,000 | 30,000 | 4,000 |
-| Gemini 2.0 Flash | 7,000 | shared | 4,000 |
-| Gemini 2.0 Flash-Lite Preview | 7,000 | shared | 4,000 |
+| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
+| ------------------------------ | ------------------------ | --------------------- | ---------- |
+| GPT 4o mini | 7,000 | shared | 4,000 |
+| GPT o3 mini medium | 7,000 | shared | 4,000 |
+| GPT 4 Turbo | 7,000 | shared | 4,000 |
+| GPT 4o | 7,000 | shared | 4,000 |
+| o1 | 7,000 | shared | 4,000 |
+| Claude 3.5 Haiku | 7,000 | shared | 4,000 |
+| Claude 3.5 Sonnet (New) | 15,000 | 30,000 | 4,000 |
+| **Claude Sonnet 4 w/Thinking** | **15,000** | **45,000** | **4,000** |
+| Claude 3.7 Sonnet | 15,000 | 30,000 | 4,000 |
+| Gemini 1.5 Pro | 15,000 | 30,000 | 4,000 |
+| Gemini 2.0 Flash | 7,000 | shared | 4,000 |
+| Gemini 2.0 Flash-Lite Preview | 7,000 | shared | 4,000 |
@@ -16035,19 +6732,22 @@ The Pro tier supports the token limits for the LLM models on Free tier, plus:
The Enterprise tier supports the token limits for the LLM models on Free and Pro tier, plus:
-| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
-| ----------------------------- | ------------------------ | --------------------- | ---------- |
-| GPT 4o mini | 7,000 | shared | 4,000 |
-| GPT o3 mini medium | 7,000 | shared | 4,000 |
-| GPT 4 Turbo | 7,000 | shared | 4,000 |
-| GPT 4o | 7,000 | shared | 4,000 |
-| o1 | 7,000 | shared | 4,000 |
-| o3 mini high | 7,000 | shared | 4,000 |
-| Claude 3.5 Haiku | 7,000 | shared | 4,000 |
-| **Claude 3.5 Sonnet (New)** | **15,000** | **30,000** | **4,000** |
-| Claude 3.7 Sonnet | 15,000 | 30,000 | 4,000 |
-| Gemini 2.0 Flash | 7,000 | shared | 4,000 |
-| Gemini 2.0 Flash-Lite Preview | 7,000 | shared | 4,000 |
+| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
+| ------------------------------ | ------------------------ | --------------------- | ---------- |
+| GPT 4o mini | 7,000 | shared | 4,000 |
+| GPT o3 mini medium | 7,000 | shared | 4,000 |
+| GPT 4 Turbo | 7,000 | shared | 4,000 |
+| GPT 4o | 7,000 | shared | 4,000 |
+| o1 | 7,000 | shared | 4,000 |
+| o3 mini high | 7,000 | shared | 4,000 |
+| Claude 3.5 Haiku | 7,000 | shared | 4,000 |
+| Claude 3.5 Sonnet (New) | 15,000 | 30,000 | 4,000 |
+| **Claude Sonnet 4 w/Thinking** | **15,000** | **45,000** | **4,000** |
+| **Claude Opus 4** | **15,000** | **45,000** | **4,000** |
+| **Claude Opus 4 w/Thinking** | **15,000** | **45,000** | **4,000** |
+| Claude 3.7 Sonnet | 15,000 | 30,000 | 4,000 |
+| Gemini 2.0 Flash | 7,000 | shared | 4,000 |
+| Gemini 2.0 Flash-Lite Preview | 7,000 | shared | 4,000 |
@@ -16159,25 +6859,6 @@ The following diagram describes the data flow between the different components o
-
-# Embeddings
-
-
Learn how you can use embeddings with Cody for better code understanding.
-
-Embeddings are no longer supported on Cody Free, Pro or Enterprise.
-
-## What are embeddings?
-
-Embeddings are a semantic representation of text that allows you to create a search index over your codebase. Cody splits your codebase into searchable chunks and sends them to an external service specified in your site's configuration for embedding. The resulting embedding index is stored in your local hard drive.
-
-## Embeddings in VS Code
-
-As of Sourcegraph version 5.3, embeddings are only available to Cody Free and Cody Pro users on the VS Code extension.
-
-Cody Free and Pro users can leverage local embeddings for context fetching. Embeddings are created automatically and are used to provide context to Cody in chat, edits, and more.
-
-
-
# Cody Context
@@ -17524,6 +8205,7 @@ git diff | cody chat -m 'Write a commit message for this diff' -
| @-file | ✅ | ✅ | ✅ | ✅ | ❌ |
| @-symbol | ✅ | ❌ | ✅ | ✅ | ❌ |
| LLM Selection | ✅ | ✅ | ✅ | ✅ | ❌ |
+| Agentic Context Fetching | ✅ | ✅ | ✅ | ✅ | ✅ |
| **Context Selection** | | | | | |
| Single-repo context | ✅ | ✅ | ✅ | ✅ | ❌ |
| Multi-repo context | ❌ | ❌ | ❌ | ✅ (public code only) | ❌ |
@@ -17533,13 +8215,14 @@ git diff | cody chat -m 'Write a commit message for this diff' -
| Access to prompts and Prompt library | ✅ | ✅ | ✅ | ✅ | ❌ |
| Promoted Prompts | ✅ | ❌ | ❌ | ✅ | ❌ |
-## Code Autocomplete
+## Code Autocomplete and Auto-edit
-| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** |
-| --------------------------------------------- | ----------- | ------------- | ----------------- |
-| Single and multi-line autocompletion | ✅ | ✅ | ✅ |
-| Cycle through multiple completion suggestions | ✅ | ✅ | ✅ |
-| Accept suggestions word-by-word | ✅ | ❌ | ❌ |
+| **Feature** | **VS Code** | **JetBrains** | **Visual Studio** |
+| ----------------------------------------------------- | ----------- | ------------- | ----------------- |
+| Single and multi-line autocompletion | ✅ | ✅ | ✅ |
+| Cycle through multiple completion suggestions | ✅ | ✅ | ✅ |
+| Accept suggestions word-by-word | ✅ | ❌ | ❌ |
+| Auto-edit suggestions via cursor movements and typing | ✅ | ✅ | ❌ |
Few exceptions that apply to Cody Pro and Cody Enterprise users:
@@ -17765,7 +8448,6 @@ Cody supports a variety of cutting-edge large language models for use in chat an
| OpenAI | [GPT-4o-mini](https://platform.openai.com/docs/models#gpt-4o-mini) | ✅ | ✅ | ✅ | | | | |
| OpenAI | [o3-mini-medium](https://openai.com/index/openai-o3-mini/) (experimental) | ✅ | ✅ | ✅ | | | | |
| OpenAI | [o3-mini-high](https://openai.com/index/openai-o3-mini/) (experimental) | - | - | ✅ | | | | |
-| OpenAI | [o1](https://platform.openai.com/docs/models#o1) | - | ✅ | ✅ | | | | |
| OpenAI | [o3](https://platform.openai.com/docs/models#o3) | - | ✅ | ✅ | | | | |
| OpenAI | [o4-mini](https://platform.openai.com/docs/models/o4-mini) | ✅ | ✅ | ✅ | | | | |
| OpenAI | [GPT-4.1](https://platform.openai.com/docs/models/gpt-4.1) | - | ✅ | ✅ | | | | |
@@ -17774,6 +8456,10 @@ Cody supports a variety of cutting-edge large language models for use in chat an
| Anthropic | [Claude 3.5 Haiku](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) | ✅ | ✅ | ✅ | | | | |
| Anthropic | [Claude 3.5 Sonnet](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) | ✅ | ✅ | ✅ | | | | |
| Anthropic | [Claude 3.7 Sonnet](https://docs.anthropic.com/claude/docs/models-overview#model-comparison) | - | ✅ | ✅ | | | | |
+| Anthropic | [Claude Sonnet 4](https://docs.anthropic.com/en/docs/about-claude/models/overview) | ✅ | ✅ | ✅ | | | | |
+| Anthropic | [Claude Sonnet 4 w/Thinking](https://docs.anthropic.com/en/docs/about-claude/models/overview) | - | ✅ | ✅ | | | | |
+| Anthropic | [Claude Opus 4](https://docs.anthropic.com/en/docs/about-claude/models/overview) | - | - | ✅ | | | | |
+| Anthropic | [Claude Opus 4 w/Thinking](https://docs.anthropic.com/en/docs/about-claude/models/overview) | - | - | ✅ | | | | |
| Google | [Gemini 1.5 Pro](https://deepmind.google/technologies/gemini/pro/) | ✅ | ✅ | ✅ (beta) | | | | |
| Google | [Gemini 2.0 Flash](https://deepmind.google/technologies/gemini/flash/) | ✅ | ✅ | ✅ | | | | |
| Google | [Gemini 2.0 Flash](https://deepmind.google/technologies/gemini/flash/) | ✅ | ✅ | ✅ | | | | |
@@ -17782,17 +8468,17 @@ Cody supports a variety of cutting-edge large language models for use in chat an
To use Claude 3 Sonnet models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version.
-### Claude 3.7 Sonnet
+### Claude 3.7 and 4 Sonnet
-Claude 3.7 has two variants — Claude 3.7 Sonnet and Claude 3.7 Extended Thinking — to support deep reasoning and fast, responsive edit workflows. This means you can use Claude 3.7 in different contexts depending on whether long-form reasoning is required or for tasks where speed and performance are a priority.
+Claude 3.7 and 4 Sonnet have two variants; the base version, and the **extended thinking** version which supports deep reasoning and fast, responsive edit workflows. Cody enables using both, and lets the user select which to use in the model dropdown selector, so the user can choose whether to use extended thinkig depending on their work task.
-Claude 3.7 Extended Thinking is the recommended default chat model for Cloud customers. Self-hosted customers are encouraged to follow this recommendation, as Claude 3.7 outperforms 3.5 in most scenarios.
+Claude 4 models support is available with Sourcegraph versions v6.4+ and v6.3.4167. It also depends on the deployement type and whether it's **thinking** or not.
-#### Claude 3.7 for GCP
+#### Claude 3.7 and 4 via Google Vertex, via AWS Bedrock
-In addition, Sourcegraph Enterprise customers using GCP Vertex (Google Cloud Platform) for Claude models can use both these variants of Claude 3.7 to optimize extended reasoning and deeper understanding. Customers using AWS Bedrock do not have the Claude 3.7 Extended Thinking variant.
+Starting in Sourcegraph v6.4+ and v6.3.416, Claude 3.7 Extended Thinking - as well as Claude 4 base and extended thinking variants - are available in Sourcegraph when using Claude through either Google Vertex or AWS Bedrock.
-Claude 3.7 Sonnet with thinking is not supported for BYOK deployments.
+See [Model Configuration: Reasoning models](/cody/enterprise/model-configuration#reasoning-models) for more information.
## Autocomplete
@@ -17814,7 +8500,15 @@ Cody uses a set of models for autocomplete which are suited for the low latency
| :----------- | :------------- | :------- | :------ | :------------- | --- | --- | --- | --- | --- | --- |
| Fireworks.ai | Qwen 2.5 Coder | ✅ | ✅ | ✅ | | | | | | |
-Enterprise users not using Cody Gateway get a Claude Sonnet-based model for Smart Apply.
+Fireworks.ai is the default model for cody-gateway, but if you wish to switch to Claude models, Site admins can do it following these steps-
+
+Go to "Site admin"
+
+Click on the "Feature flags"
+
+Search for cody-smart-apply-instant-mode-enabled feature flag
+
+Turn off/delete the "cody-smart-apply-instant-mode-enabled" feature flag
@@ -18205,9 +8899,9 @@ Once migrated, you can run it like any other prompt. However, you **cannot** edi
Use additional context sources from outside of your codebase by leveraging OpenCtx providers.
-OpenCtx context providers are in the Experimental stage for all Cody users. Enterprise users can also use this, but with limited support. If you have feedback or questions, please visit our [support forum](https://community.sourcegraph.com/c/openctx/10).
+MCP is the recommended method for adding external context in Cody due to its broad community adoption and extensive tool support. [Read the docs](/cody/capabilities/agentic-context-fetching#mcp-support) to learn more about configuring MCP.
-[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. Cody Free and Pro users can use OpenCtx providers to fetch and use context from the following sources:
+[OpenCtx](https://openctx.org/) is an open standard for bringing contextual info about code into your dev tools. OpenCtx context providers are in the Experimental stage for all Cody users. Enterprise users can use this, but with limited support. Cody Free and Pro users can use OpenCtx providers to fetch and use context from the following sources:
- [Webpages (via URL)](https://openctx.org/docs/providers/web) (enabled in Cody by default)
- [Jira tickets](https://openctx.org/docs/providers/jira)
@@ -18882,29 +9576,27 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
-
-# Agentic chat
-
-
Learn about the agentic chat experience, an exclusive chat-based AI agent with enhanced capabilities.
+
+# Agentic Context Fetching
-Agentic chat (available in version 6.0) is currently in the Experimental stage for Cody Pro and Enterprise and is supported on VS Code, JetBrains, Visual Studio editor extensions and Web. Usage may be limited at this stage.
+
Learn about agentic context fetching, a mini-agent that uses search and tools to retrieve context.
-Cody's agentic chat experience is an AI agent that can evaluate context and fetch any additional context (OpenCtx, terminal, etc.) by providing enhanced, context-aware chat capabilities. It extends Cody's functionality by proactively understanding your coding environment and gathering relevant information based on your requests before responding. These features help you get noticeably higher-quality responses.
+Cody's agentic context fetching experience can evaluate context and fetch any additional context (MCP, OpenCtx, terminal, etc.) by providing enhanced, context-aware chat capabilities. It extends Cody's functionality by proactively understanding your coding environment and gathering relevant information based on your requests before responding. These features help you get noticeably higher-quality responses.
-This agentic chat experience aims to reduce the learning curve associated with traditional coding assistants by minimizing users' need to provide context manually. It achieves this through agentic context retrieval, where the AI autonomously gathers and analyzes context before generating a response.
+This experience aims to reduce the learning curve associated with traditional coding assistants by minimizing users' need to provide context manually. It achieves this through agentic context retrieval, where the AI autonomously gathers and analyzes context before generating a response.
## Capabilities of agentic chat
-The agentic chat experience leverages several key capabilities, including:
+The agentic context fetching experience leverages several key capabilities, including:
- **Proactive context gathering**: Automatically gathers relevant context from your codebase, project structure, and current task
- **Agentic context reflection**: Review the gathered context to ensure it is comprehensive and relevant to your query
- **Iterative context improvement**: Performs multiple review loops to refine the context and ensure a thorough understanding
- **Enhanced response accuracy**: Leverages comprehensive context to provide more accurate and relevant responses, reducing the risk of hallucinations
-## What can agentic chat do?
+## What can agentic context fetching do?
-Agentic chat can help you with the following:
+Agentic context fetching can help you with the following:
### Tool Usage
@@ -18914,17 +9606,18 @@ It has access to a suite of tools for retrieving relevant context. These tools i
- **Codebase File**: Retrieves the full content from a file in your codebase
- **Terminal**: Executes shell commands in your terminal
- **Web Browser**: Searches the web for live context
+- **MCP**: (Configure MCP and add servers)[] to fetch external context
- **OpenCtx**: Any OpenCtx providers could be used by the agent
It integrates seamlessly with external services, such as web content retrieval and issue tracking systems, using OpenCtx providers. To learn more, [read the OpenCtx docs](/cody/capabilities/openctx).
-Terminal access is not supported on the Web. It currently only works with VS Code, JetBrains, and Visual Studio editor extensions.
+Terminal access is not supported on the Web. It currently only works with VS Code, JetBrains, and Visual Studio editor extensions.
## Terminal access
-Agentic chat can use the CLI Tool to request the execution of shell commands to gather context from your terminal. Its ability to execute terminal commands enhances its context-gathering capabilities. However, it’s essential to understand that any information accessible via your terminal could potentially be shared with the LLM. It's recommended not to request information that you don't want to share. Here's what you should consider:
+Agentic context fetching can use the CLI Tool to request the execution of shell commands to gather context from your terminal. Its ability to execute terminal commands enhances its context-gathering capabilities. However, it's essential to understand that any information accessible via your terminal could potentially be shared with the LLM. It's recommended not to request information that you don't want to share. Here's what you should consider:
-- **Requires user consent**: Agentic chat will pause and ask for permission each time before executing any shell command.
+- **Requires user consent**: Agentic context fetching will pause and ask for permission each time before executing any shell command.
- **Trusted workspaces only**: Commands can only be executed within trusted workspaces with a valid shell
- **Potential data sharing**: Any terminal-accessible information may be shared with the LLM
@@ -18932,30 +9625,78 @@ Commands are generated by the agent/LLM based on your request. Avoid asking it t
## Use cases
-Agentic chat can be helpful to assist you with a wide range of tasks, including:
+Agentic context fetching can be helpful to assist you with a wide range of tasks, including:
- **Improved response quality**: Helps you get better and more accurate responses than other LLMs, making up for the additional processing time for context gathering a non-issue
- **Error resolution**: It can automatically identify error sources and suggest fixes by analyzing error logs
- **Better unit tests**: Automatically includes imports and other missing contexts to generate better unit tests
-## Enable agentic chat
+## Enable agentic context fetching
+
+Agentic context fetching is enabled by default for all Cody users. It uses LLM reflection and basic tool use steps to gather and refine context before sending it in the final model query. The review step in agentic context fetching experience defaults to Gemini 2.5 Flash and falls back to Claude Haiku or GPT 4.1 mini if Flash is unavailable.
+
+You can disable agentic context in your extension settings using `cody.agenticContext`.
-### Getting agentic chat access for Pro users
+Terminal access for Enterprise users is disabled by default. To enable it, set the `agentic-chat-cli-tool-experimental` feature flag [terminal access](#terminal-commands).
-Pro users can find the agentic chat option in the LLM selector drop-down.
+## MCP support
-
+Cody supports [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) for connecting to external context. MCP servers are utilized via Cody’s agentic context fetching. Users can configure multiple local MCP servers via their Cody extension settings. Based on your query, agentic context will determine which MCP tools to invoke and what parameters to provide to the tools. Cody will execute these tools and inject the context from the tool calls into the context window.
-### Getting agentic chat access for Enterprise customers
+### Setting up MCP tools
-Enterprise customers must opt-in to access this agentic chat feature (reach out to your account team for access).
+MCP is disabled by default. To enable it, add the `agentic-context-mcp-enabled` feature flag to your Enterprise Sourcegraph instance.
-For the experimental release, agentic chat is specifically limited to using Claude Haiku for the reflection steps and Claude Sonnet for the final response to provide a good balance between quality and latency. Therefore, your enterprise instance must have access to both Claude Sonnet and Claude Haiku to use agentic chat. We use the latest versions of these models, and can fall back to older versions when necessary. These models may be changed during the experimental phase to optimize for quality and/or latency.
+Once MCP is enabled, there are two ways to configure an MCP server:
-Additionally, enterprise users need to upgrade their supported client (VS Code, JetBrains, and Visual Studio) to the latest version of the plugin by enabling the following feature flags on their Sourcegraph Instance:
+#### 1. From the editor extension UI
-- `agentic-chat-experimental` to get access to the feature
-- `agentic-chat-cli-tool-experimental` to allow [terminal access](#terminal-commands)
+To configure an MCP server from the editor extension UI, click your profile icon in the Cody extension and select the **MCP Settings** option.
+
+
+
+Create a new server configuration and input the necessary arguments provided by the server. You can disable individual tools in the UI by clicking on them.
+
+#### 2. From the editor extension settings
+
+- Edit your MCP configuration settings using the `cody.mcpServers` property in your extension settings.
+ - `settings.json` (VSCode)
+ - `cody_settings.json` (JetBrains)
+- Use the following format when adding a new server
+
+In JetBrains, you need the absolute path to the command. Use the `which` command in the terminal to find it. For example, `which npx`.
+
+```json
+"cody.mcpServers": {
+ "": {
+ "command": "...",
+ "args": [...],
+ "env": {
+ ...
+ },
+ "disabledTools": [...]
+ }
+ }
+```
+
+When you submit a query, Cody will determine whether to use any of the server's tools.
+
+
+
+### MCP Best Practices
+
+Since MCP is an open protocol and servers can be created by anyone, your mileage may vary. Tool names, descriptions, and the underlying models you have available may all affect the performance of MCP retrieval. To get the best results using your MCP servers, we recommend the following:
+
+- Read through the tools of the servers you install and their parameters. Be as explicit as possible in your queries to provide all of the information the tool needs
+- If you don't get the desired results on the first try, iterate on your query. It may take a couple of tries to get the results you're expecting
+- Choose high-quality servers. Prefer servers from official sources over third parties. Read through the code to understand how the servers you are installing work
+
+### Limitations
+
+- MCP is supported through Cody’s agentic context fetching capabilities. You must have these capabilities enabled in order to utilize MCP servers
+- Cody currently supports only local MCP servers
+- MCP offers three main capabilities: Tools, Resources, and Prompts. Currently, Cody supports only Tools
+- Since most MCP servers require users to create their access tokens, the servers will have the same access as whatever token you provide. For example, if a user has write permissions to Jira and creates an access token with write permissions, they can use Cody to write back into Jira via MCP. It is not possible today to limit write access across all MCP tools broadly. You should use tools with this consideration in mind
@@ -22280,6 +13021,105 @@ Use the **Searching everywhere** or **Searching in this repo** filter to determi
+
+# Deep Search
+
+
Learn more about Sourcegraph's agentic Code Search tool Deep Search.
+
+ New in version 6.4. Deep Search is currently in research preview for Enterprise customers with access to Cody and Code Search. Because Deep Search is in research preview, it might change significantly in the future as we make improvements and adjust to user feedback. Please reach out to your Sourcegraph account team to request access.
+
+Deep Search is an agentic code search tool. It receives a natural language question about a codebase, performs an in-depth search, and returns a detailed answer. The user can also ask follow-up questions to improve the answer further.
+
+Under the hood, Deep Search is an AI agent that uses various tools to generate its answer. These tools include multiple modes of Sourcegraph's Code Search and Code Navigation tools. Using tools in an agentic loop enables Deep Search to iteratively refine its understanding of the question and codebase, searching until it is confident in its answer.
+
+Deep Search displays a list of sources used to generate the answer. The sources are the various types of searches it performs and the files it reads. The answer is formatted in markdown. If prompted to do so, Deep Search can also generate diagrams as part of its answer.
+
+## Best practices
+
+- Give the agent a starting point for the search: Mention relevant repositories, files, directories, or symbol names. The more specific you are, the faster the search will be.
+- Provide reasonably scoped questions. The agent will perform much better if it does not have to read the entire codebase at once.
+- Check the list of sources. This is extremely useful for debugging and understanding where the answer came from. If something is missing, ask a follow-up question and mention the missing source.
+
+### Examples of prompts
+
+- Find examples of logger usage and show examples of the different types of logging we use.
+- I want to know when the indexing queue functionality was last changed in `sourcegraph/zoekt`. Show me the last few commit diffs touching this code and explain the changes.
+- Look at the GraphQL APIs available in `sourcegraph/sourcegraph`. Are any of them unused? The client code is in `sourcegraph/cody`.
+- Which tools do we use in our build processes defined in `BUILD.bazel` files?
+- Generate a request flow diagram for `src/backend`. Mark the auth and rate limit points.
+
+## Enabling Deep Search
+
+Deep Search can only be used on Sourcegraph instances with Code Search and Cody licenses.
+
+Deep Search is disabled by default. To enable it, ask your site administrator to set `experimentalFeatures.deepSearch.enabled = "true"` in your site configuration.
+
+For optimal performance, Deep Search is specialized to only use one model. Currently, Deep Search only supports Claude Sonnet 4.
+
+### Configuring Deep Search on Amazon Bedrock or GCP Vertex
+
+Include configuration for Claude Sonnet 4 in [modelOverrides](/cody/enterprise/model-configuration#model-overrides) in your site configuration. For more information on configuring models, refer to [Model Configuration](/cody/enterprise/model-configuration).
+
+Examples for Sonnet 4 configuration inside `modelOverrides`:
+
+Amazon Bedrock:
+```json
+{
+ "modelRef": "aws-bedrock::v1::claude-sonnet-4",
+ "modelName": "us.anthropic.claude-sonnet-4-20250514-v1:0",
+ "displayName": "Claude Sonnet 4 (AWS Bedrock)",
+ "capabilities": [
+ "chat",
+ "tools",
+ ],
+ "category": "balanced",
+ "status": "stable",
+ "contextWindow": {
+ "maxInputTokens": 200000,
+ "maxOutputTokens": 32000,
+ }
+},
+```
+
+GCP Vertex:
+```json
+{
+ "modelRef": "google-anthropic::v2::claude-sonnet-4",
+ "modelName": "claude-sonnet-4@20250514",
+ "displayName": "Claude Sonnet 4 (GCP Vertex)",
+ "capabilities": [
+ "chat",
+ "tools",
+ ],
+ "category": "balanced",
+ "status": "stable",
+ "contextWindow": {
+ "maxInputTokens": 200000,
+ "maxOutputTokens": 32000,
+ }
+},
+```
+
+Then, configure Deep Search to use this model in `experimentalFeatures`:
+
+Amazon Bedrock:
+```json
+"experimentalFeatures": {
+ "deepSearch.enabled": true,
+ "deepSearch.model": "aws-bedrock::v1::claude-sonnet-4"
+},
+```
+
+GCP Vertex:
+```json
+"experimentalFeatures": {
+ "deepSearch.enabled": true,
+ "deepSearch.model": "google-anthropic::v2::claude-sonnet-4"
+},
+```
+
+
+
# Search Query Language Reference
@@ -23449,14 +14289,14 @@ This table is maintained as an authoritative resource for users, Sales, and Cust
| --------------------- | ----------------- | ------ | ---------- | ---------------- | --------------- | ---------- | ---------------- | -------------------- |
| Go | [scip-go] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| TypeScript/ JavaScript | [scip-typescript] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
-| C/C++ | [scip-clang] | 🟡 | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ |
-| Java | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓* | ✓ | ✓ |
-| Scala | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓* | ✓ | ✓ |
-| Kotlin | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓* | ✗ | ✓ |
-| Rust | [rust-analyzer] | 🟢 | ✓ | ✓ | ✓ | ✓* | ✗ | ✓ |
+| C/C++ | [scip-clang] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| Java | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| Scala | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| Kotlin | [scip-java] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ |
+| Rust | [rust-analyzer] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ |
| Python | [scip-python] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
-| Ruby | [scip-ruby] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ |
-| C# | [scip-dotnet] Build tools (`.sln`, `.csproj`) | 🟠 | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ |
+| Ruby | [scip-ruby] | 🟢 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| C# | [scip-dotnet] Build tools (`.sln`, `.csproj`) | 🟢 | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ |
[scip-go]: https://github.com/sourcegraph/scip-go
[scip-typescript]: https://github.com/sourcegraph/scip-typescript
@@ -24006,7 +14846,7 @@ Precise code navigation relies on the open source [SCIP Code Intelligence Protoc
## Setting up code navigation for your codebase
-There are several options for setting up precise code navigation listed below. However, we always recommend you start by manually indexing your repo locally using the [approriate indexer](/code-navigation/writing_an_indexer#quick-reference) for your language. Code and build systems can vary by project and ensuring you can first succesfully run the indexer locally leads to a smoother experience since it is vastly easier to debug and iterate on any issues locally before trying to do so in CI/CD or in Auto-Indexing.
+There are several options for setting up precise code navigation listed below. However, we always recommend you start by manually indexing your repo locally using the [approriate indexer](/code-search/code-navigation/writing_an_indexer#quick-reference) for your language. Code and build systems can vary by project and ensuring you can first succesfully run the indexer locally leads to a smoother experience since it is vastly easier to debug and iterate on any issues locally before trying to do so in CI/CD or in Auto-Indexing.
1. **Manual indexing**. Index a repository and upload it to your Sourcegraph instance:
@@ -24016,12 +14856,8 @@ Precise code navigation relies on the open source [SCIP Code Intelligence Protoc
- [Index a Python repository](https://sourcegraph.com/github.com/sourcegraph/scip-python)
- [Index a Ruby repository](https://sourcegraph.com/github.com/sourcegraph/scip-ruby)
-2. [**Automate indexing via CI**](/code_navigation/how-to/adding_scip_to_workflows): Add indexing and uploading to your CI setup.
+2. [**Automate indexing via CI**](/code-search/code-navigation/how-to/adding_scip_to_workflows): Add indexing and uploading to your CI setup.
3. [**Auto-indexing**](/code-search/code-navigation/auto_indexing#enable-auto-indexing): Sourcegraph will automatically index your repositories and enable precise code navigation for them.
-4. Set up **auto-dependency indexing** to navigate and search through the dependencies your code uses:
- - **Go**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing) and Sourcegraph will start indexing your dependencies.
- - **JavaScript, TypeScript**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing#enable-auto-indexing) and set up an [npm dependencies code host](/integration/npm).
- - **Java, Scala, Kotlin**: Enable [auto-indexing](/code-search/code-navigation/auto_indexing) and set up a [JVM dependencies code host](/integration/jvm).
## Supported languages and indexers
@@ -24036,7 +14872,7 @@ Precise Code Navigation requires language-specific indexes to be generated and u
| Rust | [rust-analyzer](https://sourcegraph.com/github.com/rust-lang/rust-analyzer) | 🟢 Generally available |
| Python | [scip-python](https://sourcegraph.com/github.com/sourcegraph/scip-python) | 🟢 Generally available |
| Ruby | [scip-ruby](https://sourcegraph.com/github.com/sourcegraph/scip-ruby) | 🟢 Generally available |
-| C#, Visual Basic | [scip-dotnet](https://github.com/sourcegraph/scip-dotnet) | 🟡 Partially available |
+| C#, Visual Basic | [scip-dotnet](https://github.com/sourcegraph/scip-dotnet) | 🟢 Generally available |
The easiest way to configure precise code navigation is with [auto-indexing](/code-search/code-navigation/auto_indexing). This feature uses [Sourcegraph executors](/admin/executors/) to automatically create indexes for the code, keeping precise code navigation available and up-to-date.
@@ -26431,7 +17267,7 @@ To learn more about how the Sourcegraph team operates managed SMTP internally, r
### Audit Logs
Our Cloud instances provide [audit logs](/admin/audit_log#cloud) to help you monitor and investigate actions taken by users and the system. These logs are available to download by request and are also sent to a [centralized logging service](https://about.sourcegraph.com/security#logging) for 30 day retention. Should you wish to
-extend this period, please be aware that additional charges will apply.
+extend this period, please be aware that additional charges will apply.
To request an extension, please contact your assigned Customer Engineer (CE) or send an email to Sourcegraph Support at support@sourcegraph.com.
#### Download audit logs
@@ -26560,7 +17396,6 @@ The below are for example purposes only:
In the case of things like Code Search, latency is directly correlated with user input / shape of the query, ex. on our public [sourcegraph.com](https://sourcegraph.com/search) instance:
-- searching for “squirrel” in the [sourcegraph/sourcegraph](https://sourcegraph.com/github.com/sourcegraph/sourcegraph) repo takes 30ms and returns 163 results
- searching for “squirrel” in all OSS repos, but only requesting 1000 matches takes 540ms
- searching for all matches of “squirrel” in all OSS repos returns 1.7million results in 30000ms
- In the case of other features, latency of Sourcegraph directly depends on latency / uptime / rate-limits of customer managed systems, ex. for:
@@ -30564,7 +21399,7 @@ For more information, see [Code host interactions in Batch Changes](/batch-chang
To update a batch change after previewing the changes, do the following:
-- Edit the [batch spec](/batch-changes/batch-spec-yaml-reference) with which you created the batch change to include the changes you want to make to the batch change. For example, change [the commit message in the `changesetTemplate`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-message), or add a new changeset id [to the importedChangesets](/batch-changes/batch-spec-yaml-reference#importchangesets), or [modify the repositoriesMatchingQuery](/batch-changes/batch-spec-yaml-reference#onrepositoriesmatchingquery) to return different search results
+- Edit the [batch spec](/batch-changes/batch-spec-yaml-reference) with which you created the batch change to include the changes you want to make to the batch change. For example, change [the commit message in the `changesetTemplate`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitmessage), or add a new changeset id [to the importedChangesets](/batch-changes/references/batch-spec-yaml-reference#importchangesets), or [modify the repositoriesMatchingQuery](/batch-changes/references/batch-spec-yaml-reference#onrepositoriesmatchingquery) to return different search results
- Use the [Sourcegraph CLI (`src`)](https://github.com/sourcegraph/src-cli) to execute and preview the batch spec
```bash
@@ -31353,7 +22188,7 @@ src batch preview -f sprintf-to-itoa.batch.yaml
- Open the preview URL that the command printed out
- Examine the preview. Confirm that the changesets are the ones you intended to track. If not, edit the batch spec and then re-run the command above
- Click the **Apply** button to create the batch change
-- Feel free to then publish the changesets (i.e., create pull requests and merge requests) by [modifying the `published` attribute in the batch spec](/batch-changes/batch-spec-yaml-reference#changesettemplate-published) and re-running the `src batch preview` command
+- Feel free to then publish the changesets (i.e., create pull requests and merge requests) by [modifying the `published` attribute in the batch spec](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished) and re-running the `src batch preview` command
@@ -31374,7 +22209,7 @@ In practical terms, a user should be able to run `src batch apply -f my.batch.ya
That can only work if the inputs to the batch spec stay the same, too.
-Since a batch spec's [`on.repositoriesMatchingQuery`](/batch-changes/batch-spec-yaml-reference#on-repositoriesmatchingquery) uses Sourcegraph's search functionality to **dynamically** produce a list of repositories in which to execute the [`steps`](/batch-changes/batch-spec-yaml-reference#steps), the list of repositories might change between executions of `src batch apply`.
+Since a batch spec's [`on.repositoriesMatchingQuery`](/batch-changes/batch-spec-yaml-reference#onrepositoriesmatchingquery) uses Sourcegraph's search functionality to **dynamically** produce a list of repositories in which to execute the [`steps`](/batch-changes/batch-spec-yaml-reference#steps), the list of repositories might change between executions of `src batch apply`.
If that's the case, the `steps` need to be re-executed in any newly found repositories. Changesets in repositories that are not found anymore will be closed and archived in the batch change (see [Updating a batch change](/batch-changes/update-a-batch-change) for more details). In unchanged repositories, [Sourcegraph CLI](/cli/) tries to use cached results to avoid re-executing the `steps`.
@@ -31385,11 +22220,11 @@ Whenever [Sourcegraph CLI](/cli/) re-executes the same batch spec, it checks a *
Whether a cached result can be used is dependent on multiple things:
- The repository's default branch's revision didn't change (because if new commits have been pushed to the repository, re-executing the `steps` might lead to different results)
-- The `steps` themselves didn't change, including all their inputs, such as [`steps.env`](/batch-changes/batch-spec-yaml-reference#environment-array), and the `steps.run` field (which can change between executions if it uses [templating](/batch-changes/batch-spec-templating) and is dynamically built from search results)
+- The `steps` themselves didn't change, including all their inputs, such as [`steps.env`](/batch-changes/batch-spec-yaml-reference#environmentarray), and the `steps.run` field (which can change between executions if it uses [templating](/batch-changes/batch-spec-templating) and is dynamically built from search results)
That also means that [Sourcegraph CLI](/cli/) can use cached results when re-executing a **changed batch spec**, as long as the changes didn't affect the `steps` and the results they produce.
-For example, if only the [`changesetTemplate.title`](/batch-changes/batch-spec-yaml-reference#changesettemplate-title) field has been changed, cached results can be used, since that field doesn't have any influence on the `steps` and their results.
+For example, if only the [`changesetTemplate.title`](/batch-changes/batch-spec-yaml-reference#changesettemplatetitle) field has been changed, cached results can be used, since that field doesn't have any influence on the `steps` and their results.
@@ -31502,7 +22337,7 @@ changesetTemplate:
message: Append Hello World to all README files
```
-The commits you create here will use the `git config` values for `user.name` and `user.email` from your local environment or `batch-changes@sourcegraph.com` if no user is set. Alternatively, you can also [specify an `author`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-author) in this spec.
+The commits you create here will use the `git config` values for `user.name` and `user.email` from your local environment or `batch-changes@sourcegraph.com` if no user is set. Alternatively, you can also [specify an `author`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitauthor) in this spec.
## Create the batch change
@@ -31702,7 +22537,7 @@ changesetTemplate:
Then run the `src batch preview` command again or `src batch apply` to publish the changesets immediately. Publishing a changeset will:
- Create a commit with the changes from the patches for that repository
-- Push a branch using the branch name you defined in the batch spec with [`changesetTemplate.branch`](/batch-changes/batch-spec-yaml-reference#changesettemplate-branch). If [forks are enabled](/admin/config/batch_changes#forks), then the branch will be pushed to a fork of the repository
+- Push a branch using the branch name you defined in the batch spec with [`changesetTemplate.branch`](/batch-changes/batch-spec-yaml-reference#changesettemplatebranch). If [forks are enabled](/admin/config/batch_changes#forks), then the branch will be pushed to a fork of the repository
- Create a changeset (e.g., GitHub pull request) on the code host for review and merging
When pushing the branch Sourcegraph will use a **force push**. Make sure that the branch names are unused otherwise, previous commits will be overwritten.
@@ -31728,7 +22563,7 @@ changesetTemplate:
- github.com/sourcegraph-private/*: false
```
-See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplate-published) in the batch spec reference for more details.
+See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished) in the batch spec reference for more details.
### Publishing changesets as drafts
@@ -31742,13 +22577,13 @@ changesetTemplate:
published: draft
```
-See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplate-published) in the batch spec reference for more details.
+See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished) in the batch spec reference for more details.
### Fully publishing draft changesets
If you have previously published changesets as drafts on code hosts by setting `published` to `draft`, you then fully publish them and take them out of draft mode by updating the `published` to `true`.
-See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplate-published) in the batch spec reference for more details.
+See [`changesetTemplate.published`](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished) in the batch spec reference for more details.
## Within the UI
@@ -31786,7 +22621,7 @@ Once applied, you can select the changesets you want to publish from the batch c
Regardless of how you publish your changesets, the commit created and pushed to the branch uses the details specified in the batch spec's `changesetTemplate` field.
-See [`changesetTemplate.commit`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit) for details on how to set the author and the commit message.
+See [`changesetTemplate.commit`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommit) for details on how to set the author and the commit message.
@@ -31993,6 +22828,7 @@ Here, you will learn what happens when a user applies or previews a Batch Spec b
- [Sending changeset specs](#sending-changeset-specs)
- [Sending the batch spec](#sending-the-batch-spec)
- [Preview or apply the batch spec](#preview-or-apply-the-batch-spec)
+ - [Halt execution](#halt-execution)
The only difference is the last step, i.e., Preview or apply the batch spec. Here, the `src batch apply` command applies the batch spec, and the `src batch preview` prints a URL that gives you a preview of what would change if you applied the batch spec.
@@ -32156,6 +22992,10 @@ If `src batch apply` was used, then the ID of the batch change is used to send a
If `src batch preview` was used to execute and create the batch spec, then a URL is printed, pointing to a preview page on the Sourcegraph instance, on which you can see what would happen if you were to apply the batch spec.
+### Halt execution
+
+If you encounter an error while running the `src batch preview` command, there is a fail-fast mode that halts the batch change execution immediately. To implement this, you can add a `-fail-fast` flag to the `src batch preview` and `src batch apply` commands. Once added, your execution should immediately halt on the first error instead of continuing with other repositories. This streamlines the iteration loop for users building a batch change who want to identify errors quickly.
+
@@ -32309,7 +23149,7 @@ There's a rule of thumb:
## Can I create tickets or issues along with Batch Changes?
Batch Changes does not support a declarative syntax for issues or tickets.
-However, [steps](/batch-changes/batch-spec-yaml-reference#steps-run) can run any container. Some users have built scripts to create tickets for each apply:
+However, [steps](/batch-changes/batch-spec-yaml-reference#stepsrun) can run any container. Some users have built scripts to create tickets for each apply:
- [Jira tickets](https://github.com/sourcegraph/batch-change-examples/blob/main/ticketing-systems/jira-tickets/README)
- [GitHub issues](https://github.com/sourcegraph/batch-change-examples/blob/main/ticketing-systems/github-issues/README)
@@ -32333,7 +23173,7 @@ Unapplied batch specs are removed from the database after **seven days**.
Yes. When [executing a batch spec](/batch-changes/how-src-executes-a-batch-spec), `src` will attempt to pull missing docker images. If you are logged into the private container registry, it will pull from it.
-Also, see [`steps.container`](/batch-changes/batch-spec-yaml-reference#steps-container). Within the spec, it will work as expected if `docker pulls` points to your private registry from the command line.
+Also, see [`steps.container`](/batch-changes/batch-spec-yaml-reference#stepscontainer). Within the spec, it will work as expected if `docker pulls` points to your private registry from the command line.
However, outside the spec, `src` pulls an image from Docker Hub when running in volume workspace mode. This is the default on macOS, so you will need to use one of the following three workarounds:
@@ -32385,14 +23225,14 @@ Remember the context in which the inner `${{ }}` will be evaluated, and be sure
## How is commit author determined for commits produced from Batch Changes?
-Commit author is determined when running `src batch [apply|preview]`. If no [author](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-author) key is defined in the batch spec, `src` will try to use the git config values for `user.name` and `user.email` from your local environment, or `batch-changes@sourcegraph.com` if no user is set.
+Commit author is determined when running `src batch [apply|preview]`. If no [author](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitauthor) key is defined in the batch spec, `src` will try to use the git config values for `user.name` and `user.email` from your local environment, or `batch-changes@sourcegraph.com` if no user is set.
## Why is the checkbox on my changeset disabled when previewing a batch change?
Since Sourcegraph 3.31, it is possible to publish many types of changesets when previewing a batch change by modifying the publication state for the changeset directly from the UI (see ["Publishing changesets"](/batch-changes/publishing-changesets#from-the-preview)). However, not every changeset can be published by Sourcegraph. By hovering over your changeset's disabled checkbox, you can see why that specific changeset is not currently publishable. The most common reasons include:
- The changeset is already published (we cannot unpublish a changeset or convert it back to a draft)
-- The changeset's publication state is being controlled from your batch spec file (i.e., you have the [`published` flag set in your batch spec](/batch-changes/batch-spec-yaml-reference#changesettemplate-published)); the batch spec takes precedence over the UI
+- The changeset's publication state is being controlled from your batch spec file (i.e., you have the [`published` flag set in your batch spec](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished)); the batch spec takes precedence over the UI
- You do not have permission to publish to the repository the changeset would be opened against
- The changeset was imported (and was therefore already published by someone or something else)
@@ -32872,7 +23712,7 @@ changesetTemplate:
published: false # Do not publish any changes to the code hosts yet
```
-The commits created from your spec will use the `git config` values for `user.name` and `user.email` from your local environment or `batch-changes@sourcegraph.com` if no user is set. Alternatively, you can also [specify an `author`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-author) in this spec.
+The commits created from your spec will use the `git config` values for `user.name` and `user.email` from your local environment or `batch-changes@sourcegraph.com` if no user is set. Alternatively, you can also [specify an `author`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitauthor) in this spec.
See the [batch spec YAML reference](/batch-changes/batch-spec-yaml-reference) for more details on how to write batch specs.
@@ -33364,10 +24204,12 @@ Below is a list of supported bulk operations for changesets and the conditions w
| **Commenting** | Post a comment on all selected changesets. Useful for pinging people, reminding them to take a look at the changeset, or posting your favorite emoji |
| **Detach** | Detach a selection of changesets from the batch change to remove them from the archived tab |
| **Re-enqueue** | Re-enqueues the pending changes for all selected changesets that failed |
-| **Merge (experimental)** | Merge the selected changesets on code hosts. Some changesets may be unmergeable due to their states, which does not impact the overall bulk operation. Failed merges are listed under the bulk operations tab. In the confirmation modal, you can opt for a squash merge strategy, available on GitHub, GitLab, and Bitbucket Cloud. For Bitbucket Server/Data Center, only regular merges are performed |
+| **Merge** | Merge the selected changesets on code hosts. Some changesets may be unmergeable due to their states, which does not impact the overall bulk operation. Failed merges are listed under the bulk operations tab. In the confirmation modal, you can opt for a squash merge strategy, available on GitHub, GitLab, and Bitbucket Cloud. For Bitbucket Server/Data Center, only regular merges are performed |
| **Close** | Close the selected changesets on the code hosts |
-| **Publish** | Publishes the selected changesets, provided they don't have a [`published` field](/batch-changes/batch-spec-yaml-reference#changesettemplate-published) in the batch spec. You can choose between draft and normal changesets in the confirmation modal |
+| **Publish** | Publishes the selected changesets, provided they don't have a [`published` field](/batch-changes/batch-spec-yaml-reference#changesettemplatepublished) in the batch spec. You can choose between draft and normal changesets in the confirmation modal |
| **Export** | Export selected changesets that you can use for later use |
+| **Re-execute** | Users can re-execute individual changeset creation logic for selected workspaces. This allows for creating new changesets for users who are using non-deterministic run steps (for example,LLMs) |
+| **Enable auto-merge for GitHub (experimental)** | Enable auto-merge on selected GitHub changesets. When enabled, changesets will be automatically merged once all required status checks pass and any blocking reviews are resolved. This feature is GitHub-specific and requires [appropriate setup](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository) on the target repositories. Failed actions are listed under the bulk operations tab. |
## Monitoring bulk operations
@@ -34436,17 +25278,17 @@ run: goimports -w cmd/src/main.go internal/fmt/fmt.go
Templating is supported in the following fields:
-- [`steps.run`](/batch-changes/batch-spec-yaml-reference#steps-run)
-- [`steps.env`](/batch-changes/batch-spec-yaml-reference#steps-env) values
-- [`steps.files`](/batch-changes/batch-spec-yaml-reference#steps-files) values
-- [`steps.outputs..value`](/batch-changes/batch-spec-yaml-reference#steps-outputs)
-- [`steps.if`](/batch-changes/batch-spec-yaml-reference#steps-if)
-- [`changesetTemplate.title`](/batch-changes/batch-spec-yaml-reference#changesettemplate-title)
-- [`changesetTemplate.body`](/batch-changes/batch-spec-yaml-reference#changesettemplate-body)
-- [`changesetTemplate.branch`](/batch-changes/batch-spec-yaml-reference#changesettemplate-branch)
-- [`changesetTemplate.commit.message`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-message)
-- [`changesetTemplate.commit.author.name`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-author)
-- [`changesetTemplate.commit.author.email`](/batch-changes/batch-spec-yaml-reference#changesettemplate-commit-author)
+- [`steps.run`](/batch-changes/batch-spec-yaml-reference#stepsrun)
+- [`steps.env`](/batch-changes/batch-spec-yaml-reference#stepsenv) values
+- [`steps.files`](/batch-changes/batch-spec-yaml-reference#stepsfiles) values
+- [`steps.outputs..value`](/batch-changes/batch-spec-yaml-reference#stepsoutputsnamevalue)
+- [`steps.if`](/batch-changes/batch-spec-yaml-reference#stepsif)
+- [`changesetTemplate.title`](/batch-changes/batch-spec-yaml-reference#changesettemplatetitle)
+- [`changesetTemplate.body`](/batch-changes/batch-spec-yaml-reference#changesettemplatebody)
+- [`changesetTemplate.branch`](/batch-changes/batch-spec-yaml-reference#changesettemplatebranch)
+- [`changesetTemplate.commit.message`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitmessage)
+- [`changesetTemplate.commit.author.name`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitauthor)
+- [`changesetTemplate.commit.author.email`](/batch-changes/batch-spec-yaml-reference#changesettemplatecommitauthor)
## Template variables
@@ -34495,7 +25337,7 @@ The following template variables are available in the fields under `changesetTem
| `steps.added_files` | `list of strings` | List of files that have been added by the `steps`. Empty list if no files have been added |
| `steps.deleted_files` | `list of strings` | List of files deleted by the `steps`. Empty list if no files have been deleted |
| `steps.path` | `string` | Path (relative to the root of the directory, no leading `/` or `.`) in which the `steps` have been executed. Empty if no workspaces have been used and the `steps` were executed in the root of the repository |
-| `outputs.` | depends on `outputs..format`, default: `string` | Value of an [`output`](/batch-changes/batch-spec-yaml-reference#steps-outputs) set by `steps`. If the [`outputs..format`](batch-spec-yaml-reference#stepsoutputsnameformat) is `yaml` or `json` and the `value` a data structure (i.e., array, object, ...), then subfields can be accessed too. See [Templating Examples](#templating-examples) below |
+| `outputs.` | depends on `outputs..format`, default: `string` | Value of an [`output`](batch-spec-yaml-reference#stepsoutputs) set by `steps`. If the [`outputs..format`](batch-spec-yaml-reference#stepsoutputsnameformat) is `yaml` or `json` and the `value` a data structure (i.e., array, object, ...), then subfields can be accessed too. See [Templating Examples](#templating-examples) below |
| `batch_change_link` | `string` | Only available in `changesetTemplate.body` Link back to the batch change that produced the changeset on Sourcegraph. If omitted, the link will be automatically appended to the end of the body. Requires [Sourcegraph CLI](/cli/) 3.40.9 or later |
## Template helper functions
@@ -34605,7 +25447,7 @@ changesetTemplate:
The second step left this one: ${{ outputs.otherMessage }}
```
-Using the [`steps.outputs..format`](/batch-changes/batch-spec-yaml-reference#steps-outputs-name-format) field, it's possible to parse the value of output as JSON or YAML and access it as a data structure instead of just text:
+Using the [`steps.outputs..format`](/batch-changes/batch-spec-yaml-reference#stepsoutputsnameformat) field, it's possible to parse the value of output as JSON or YAML and access it as a data structure instead of just text:
```yaml
steps:
@@ -34637,7 +25479,7 @@ changesetTemplate:
${{ end }}
```
-Using the [`steps.if`](/batch-changes/batch-spec-yaml-reference#steps-if) field to conditionally execute different steps in different repositories:
+Using the [`steps.if`](/batch-changes/batch-spec-yaml-reference#stepsif) field to conditionally execute different steps in different repositories:
```yaml
steps:
@@ -35679,7 +26521,7 @@ The Sourcegraph GraphQL API supports the following types of queries:
- Rich git-level metadata, including commits, branches, blame information, and file tree data
- Repository and user metadata
-The API is under active development. Backwards compatibility will be maintained in most cases, and backwards-incompatible changes will be documented in the [changelog](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/CHANGELOG).
+The API is under active development. Backwards compatibility will be maintained in most cases.
## Quickstart
@@ -35703,6 +26545,8 @@ You should see a response like this:
{ "data": { "currentUser": { "username": "YOUR_USERNAME" } } }
```
+For automated scripts, CI/CD pipelines, and production integrations, use [service accounts](/admin/access_control/service_accounts) instead of personal access tokens. Service accounts are designed specifically for programmatic API access and provide better security and audit capabilities.
+
## Documentation & tooling
### API Console
@@ -35852,6 +26696,8 @@ It’s simple to identify which code is generated by Cody, but much more difficu
- We exclude any insertions made in an inactive file/editor window
- We exclude any insertions into “stale” code - code the user hasn’t touched in the last 5 seconds
+This metric only includes data from users on Cody versions 1.42+.
+
@@ -35860,22 +26706,25 @@ It’s simple to identify which code is generated by Cody, but much more difficu
Enterprise customers can use Sourcegraph Analytics to get a clear view of usage, engagement, performance, and impact.
## Sourcegraph Cloud Analytics
+This solution is available to:
+- [Sourcegraph Cloud](/cloud) customers
+- Self-hosted customers that have fully enabled usage telemetry, and that are running a supported version of Sourcegraph (5.9+)
[Sourcegraph Cloud](/cloud) customers can use our managed [cloud analytics service](https://analytics.sourcegraph.com) for Cody and Code Search usage data.
-Self-hosted customers can also use this service, but they must
-
-Upgrade to a supported version of Sourcegraph (5.9+)
-Have fully enabled usage telemetry.
+Self-hosted customers can also use this service, but they must:
+- Upgrade to a supported version of Sourcegraph (5.9+)
+- Have fully enabled usage telemetry
+- [Enablement instructions](/analytics/cloud#enablement)
-- [Enablement instructions](/analytics/cloud#enablement)
+For more details on setting up Sourcegraph Analytics, see our [enablement instructions](/analytics/cloud#enablement)

-## Self-Hosted Analytics
+## Air-Gapped Analytics
-Self-hosted customers will soon be able to use our self-hosted and locally deployed analytics service, built on Grafana, to see Sourcegraph usage data.
+Air-Gapped analytics is an upcoming feature currently in development. If you would like to learn more, please get in touch with your Sourcegraph representative.
-This product is in development now. If you would like to learn more, please contact your Sourcegraph representative.
+Air-Gapped customers can view usage metrics in a locally deployed analytics service built on Grafana to see Sourcegraph usage data.
## Metrics
@@ -35885,14 +26734,14 @@ Learn more about how we think about [the ROI of Sourcegraph in our blog](https:/
### Overview metrics
-| Metric | Description |
+| **Metric** | **Description** |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Percent of code written by Cody | Percentage of code written by Cody out of all code written during the selected time. [Learn more about this metric.](/analytics/pcw) |
| Lines of code written by Cody | Total lines of code written by Cody during the selected time |
### User metrics
-| Metric | Description |
+| **Metric** | **Description** |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| Total active users | Total number of unique users who have used any Sourcegraph product during the selected time |
| Average daily users | The average number of unique users who use Sourcegraph per day during the selected time |
@@ -35908,14 +26757,14 @@ Cody-only user metrics
Many of the metrics above are also available for Cody only. However, some user definitions are slightly different:
-| User category | Description |
+| User category | Description |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Authenticated users | All users signed in to Cody in an editor or interacted with Cody on the web during the selected period. [Read more](/admin/pricing#authenticated-users). |
| Active users | All users who sign in to Cody in an editor or interact with Cody on the web during the period selected. [Read more](/admin/pricing#billable-active-users). |
### Code Search & navigation metrics
-| Metric | Description |
+| **Metric** | **Description** |
| ------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Total in-product searchers | Number of unique users who performed searches using the Sourcegraph search interface during the selected time |
| Total result clicks | Count of times users clicked on search results to view files or other resources during the selected time |
@@ -35929,23 +26778,24 @@ Many of the metrics above are also available for Cody only. However, some user d
| Daily code navigation activity | Count of code navigation operations performed each day |
| Daily code navigation users | Number of unique users utilizing code navigation features each day |
| Precise vs. search-based code navigation actions by language | Comparison of precise vs. search-based navigation success rates broken down by programming language |
+| Batch changes usage funnel | Number of times various Batch Changes actions were taken each day: Batch Changes opened, specs created, specs executed, changesets published, and changes merged (from the Sourcegraph UI) |
### Autocompletion metrics
-| Metric | Description |
+| **Metric** | **Description** |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Total accepted completions | Count of completions accepted by users during the selected time |
-| Hours saved | The number of hours saved by Cody users, assuming 2 minutes saved per completion |
-| Completions by day | The number of completions suggested by day and by editor. |
-| Completion acceptance rate (CAR) | The percent of completions presented to a user for at least 750ms accepted by day, the editor, day, and month. |
-| Weighted completion acceptance rate (wCAR) | Similar to CAR, but weighted by the number of characters presented in the completion, by the editor, day, and month. This assigns more "weight" to accepted completions that provide more code to the user. |
-| Completion persistence rate | Percent of completions that are retained or mostly retained (67%+ of inserted text) after various time intervals. |
-| Average completion latency (ms) | The average milliseconds of latency before a user is presented with a completion suggestion by an editor. |
-| Acceptance rate by language | CAR and total completion suggestions broken down by editor during the selected time |
+| Total accepted completions & auto-edits | Count of completions and auto-edits accepted by users during the selected time |
+| Hours saved | The number of hours saved by Cody users, assuming 2 minutes saved per completion and auto-edit |
+| Completions and auto-edits by day | The number of completions and auto-edits suggested by day and by editor. |
+| Completion and auto-edit acceptance rate (CAR) | The percent of completions and auto-edits presented to a user for at least 750ms accepted by day, the editor, day, and month. |
+| Weighted completion and auto-edit acceptance rate (wCAR) | Similar to CAR, but weighted by the number of characters presented in the completion and auto-edit, by the editor, day, and month. This assigns more "weight" to accepted completions that provide more code to the user. |
+| Completion persistence rate | Percent of completions that are retained or mostly retained (67%+ of inserted text) after various time intervals. Auto-edits are not included. |
+| Average completion and auto-edit latency (ms) | The average milliseconds of latency before a user is presented with a completion or auto-edit suggestion by an editor. |
+| Acceptance rate by language | CAR and total completion suggestions broken down by editor during the selected time. Auto-edits not included |
### Chat and prompt metrics
-| Metric | Description |
+| **Metric** | **Description** |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Total chat events | Total number of chat interactions with Cody during the selected time |
| Hours saved by chats | Total hours saved through Cody chat interactions during the selected time , assuming 5 minutes saved per chat |
@@ -35961,7 +26811,7 @@ Many of the metrics above are also available for Cody only. However, some user d
_As of Sourcegraph version 5.10, commands are being deprecated in favor of our new feature, chat prompts. As a result, if your Sourcegraph instance is running version 5.10 or later, you may see decreased command usage. In the coming weeks, these command metrics will be deprecated and replaced with new prompt metrics on the Chats tab._
-| Metric | Description |
+| **Metric** | **Description** |
| ----------------------- | ----------------------------------------------------------------------------------------------------------- |
| Total command events | Total number of command executions during the selected time |
| Hours saved by commands | Total hours saved through command executions during the selected time, assuming 5 minutes saved per command |
@@ -35969,12 +26819,60 @@ _As of Sourcegraph version 5.10, commands are being deprecated in favor of our n
| Cody command users | Daily count of command users |
| Most used commands | Ranking of most frequently used Cody commands during the selected time |
+### CSV export
+
+You can download underlying user activity data from Sourcegraph Analytics as a CSV export. To do this, click the `Export user-level data` button at the top right of any tab within the portal.
+
+When exporting, you can group the data by:
+
+- User
+- User and month
+- User and day
+- User, day, client, and language
+
+And you can select the timeframe for the export using the `startDate` and `endDate` parameters (with `YYYY-MM-DD` values).
+
+Each row in the CSV represents a user's activity for a specific combination of these groupings (e.g., a particular day, month, client, and/or language). The CSV includes metrics such as searches, code navigation actions, chat conversations, code completions, and more.
+
+#### Important Notes
+
+- Not all billable actions are included: Some Sourcegraph features, such as code monitors and batch changes, are not yet represented as columns in the CSV export. We plan to add these fields soon. If a user engages with these features, their activity may appear as a “blank” row in the export. If a user is listed as an “Active Sourcegraph User” (see column D), but the rest of the row is blank, they performed a billable action that isn’t currently tracked in the CSV
+- A zero or blank value in a row can also mean that the user did not perform tracked actions for that specific date, client, or language
+
+| **Column Name** | **Description** |
+| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| Instance user ID | Unique identifier assigned to each user in the system. |
+| User Email | Email address associated with the user's account. For self-hosted instances, customer must sign the user metadata export addendum for this column to populate. |
+| Username | User's login identifier, usually matches the username from the auth provider (e.g., GitHub). For self-hosted instances, customer must sign the user metadata export addendum for this column to populate. |
+| Active Sourcegraph User | Indicates if the user activity in this row is considered billable. [Read more](/admin/pricing#billable-active-users) |
+| Client Name | Name of the client application or interface used. Common values: - `[IDE_name].cody`: Cody extension interactions from IDEs. - `server.web`: Interactions with the web interface (e.g., searches, code navigation, insights, and some chat events). Variations like `server.svelte-web` may exist. |
+| Timestamp Date (or Month) | When the activity was recorded. |
+| Language | Programming language of the interaction. This is only recorded for a subset of events, mostly completion and code navigation, and will therefore be blank for many rows. |
+| Searches | Number of search queries performed by the user in the web UI. Searches via other methods (e.g., API) are not captured here. |
+| Code Navigation Events | Number of times the user navigated through code structures (e.g., "find references", "go to definition"). |
+| Code Insight Views | Number of times a code insight was viewed. |
+| Chat Events | Number of Cody chats executed. |
+| Command Events | Number of Cody commands executed. |
+| Combined Completion Suggestions | Number of code completion suggestions offered. |
+| Combined Completion Acceptances | Number of code completions accepted by the user. |
+| Total Accepted Char Count | Sum of characters from the user’s accepted code completions (includes both full and partial acceptances). |
+| Combined CAR | Completion acceptance rate (ratio of accepted to suggested completions), combined across editors. |
+| Weighted CAR | Similar to CAR, but weighted by the number of characters presented in the completion. Gives more weight to accepted completions with more code. |
+| Total Characters Written by Cody | Inserted code that Cody generates via chat, prompt responses, accepted autocompletions, or suggestions/fixes. Used as the numerator in the "Percentage of Code Written by Cody" ratio. |
+| Total Characters Written | Total new code inserted into the editor (includes both user-generated and Cody-generated characters). Used as the denominator in the "Percentage of Code Written by Cody" ratio. |
+| Percentage of Code Written by Cody | Measures Cody's impact: (Total Characters Written by Cody ÷ Total Characters Written) × 100. [Learn more about this metric.](/analytics/pcw) |
+| Auto-edit suggested events | Number of Cody auto-edit suggestions offered. |
+| Auto-edit accepted events | Number of Cody auto-edit suggestions accepted by the user. |
+| Auto-edit acceptance rate | Ratio of accepted to suggested auto-edits, combined across editors. |
+| Lines changed by chats and commands | Number of lines of code (LOC) changed by chat and command events. |
+| Lines changed by completions and auto-edits | Number of lines of code (LOC) changed by completion and auto-edit events. |
+
# Sourcegraph Cloud Analytics
-The following instructions are for all Sourcegraph Cloud and self-hosted customers who have upgraded to a sufficient version of Sourcegraph (5.9+) and fully enabled usage telemetry.
+The following instructions are for all Sourcegraph Cloud and self-hosted customers who have upgraded to a sufficient version of Sourcegraph (5.9+) and fully enabled usage telemetry.

@@ -35989,30 +26887,176 @@ To enable Sourcegraph Analytics:
## Data export
-Sourcegraph Cloud Analytics also includes a CSV export option with key metrics like the number of searches, chats, autocomplete suggestions, completion acceptance rate (CAR %), and more. The data is split by user, day, client/editor, and programming language, perfect for automating retrieval and analyzing data in ways that make the most sense to your organization.
+Sourcegraph Analytics also includes a CSV export option with key metrics like the number of searches, chats, autocomplete suggestions, Completion Acceptance Rate (CAR%), and more. The data is split by user, day, client/editor, and programming language, perfect for automating retrieval and analyzing data in ways that make the most sense to your organization.
-
+## Access tokens
-
-# Sourcegraph Air-gapped Analytics
+For Sourcegraph Analytics, you can generate an access token for programmatic access. Tokens are long-lived with an optional expiry and have the same permissions to access instance data as the user who created them.
-This feature is not yet available. Coming soon.
+### Token management APIs
-Sourcegraph Air-gapped Analytics is coming soon! Air-gapped customers can view usage metrics in a locally deployed analytics service built on Grafana.
+Token management is currently only available via the Sourcegraph Analytics API. Token management APIs are authenticated via the `cas` session cookie.
-This product is in development now. If you would like to learn more, please contact your Sourcegraph representative.
+- Sign in to [Sourcegraph Analytics](https://analytics.sourcegraph.com).
+- Retrieve your session cookie, `cas`, from your browser's developer tools.
-## Set-up instructions
+
-Coming soon.
+- Export the cookie as an environment variable to use in the following commands:
-## Updates
+```sh
+export CAS_COOKIE=""
+```
+
+#### Token creation
+
+Create the token by running the following command:
+
+```sh
+curl -X POST https://analytics.sourcegraph.com/api/service-access-tokens \
+ -H "Content-Type: application/json" \
+ -H "Cookie: cas=$CAS_COOKIE" \
+ -d '{}'
+
+# Optionally include displayName, expiresAt, or both in the request body.
+# If expiresAt is not provided, the token will never expire and must be revoked manually.
+# -d '{"displayName": "My Analytics Token", "expiresAt": "2025-12-31T23:59:59Z"}'
+```
-Coming soon.
+The response will include the token ID, secret, creation date, and, if provided, display name and expiration date. For example:
-## Custom metrics
+```json
+{
+ "id": "4cf96e80-d5f3-4af0-a28d-3c70ba97abb4",
+ "displayName": "My Analytics Token",
+ "secret": "sams_at_abcdefghijk",
+ "createdAt": "2025-05-28T12:00:00Z",
+ "expiresAt": "2025-12-31T23:59:59Z"
+}
+```
-Coming soon.
+#### Token listing
+
+List the tokens by running the following command:
+
+```sh
+curl -X GET https://analytics.sourcegraph.com/api/service-access-tokens \
+ -H "Cookie: cas=$CAS_COOKIE"
+```
+
+Each token in the response will include the token ID, creation date, a boolean indicating if the token has expired, and display name and expiration date if provided. For example:
+
+```json
+{
+ "tokens": [
+ {
+ "id": "5a140b00-3a79-497d-bcfb-c1d2e3d8c747",
+ "displayName": "My Analytics Token",
+ "createdAt": "2025-05-27T12:00:00Z",
+ "expiresAt": "2025-05-27T13:00:00Z",
+ "isExpired": true
+ },
+ {
+ "id": "eaf8a6f1-1302-43f6-a9ad-f9862d75e959",
+ "createdAt": "2025-05-28T12:30:00Z",
+ "expiresAt": "2025-05-28T13:30:00Z",
+ "isExpired": true
+ },
+ {
+ "id": "d7df6636-99d0-4266-9f32-a2fb7ccbfcd5",
+ "displayName": "My Analytics Token 2",
+ "createdAt": "2025-05-28T15:00:00Z",
+ "isExpired": false
+ },
+ {
+ "id": "8ea63000-a164-44ca-8834-bb71e9b788fb",
+ "createdAt": "2025-05-28T15:30:00Z",
+ "isExpired": false
+ }
+ ]
+}
+```
+
+#### Token revocation
+
+Revoke a token by running the following commands:
+
+```sh
+export TOKEN_ID=""
+
+curl -X DELETE https://analytics.sourcegraph.com/api/service-access-tokens/$TOKEN_ID \
+ -H "Cookie: cas=$CAS_COOKIE"
+```
+
+The revocation request does not produce output. To verify that a token has been revoked, list the tokens and verify that `isExpired` is `true`.
+
+## API reference
+
+Sourcegraph Analytics API is a RESTful API that allows access to Sourcegraph Analytics data. To authenticate to the API, follow the instructions for [token creation](#token-creation).
+
+Export your access token as an environment variable:
+
+```sh
+export ACCESS_TOKEN=""
+```
+
+### CSV export
+
+To generate a CSV export of the data for a specific instance, run the following commands:
+
+```sh
+export INSTANCE_URL="" # e.g. example.sourcegraphcloud.com
+
+curl -X GET "https://analytics.sourcegraph.com/api/reports/by-user-client-date?instanceURL=$INSTANCE_URL" \
+ -H "Authorization: Bearer $ACCESS_TOKEN"
+```
+
+Optional granularity values can be specified. If not specified, the default is `by_user_day_client_language`.
+
+- `by_user`,
+- `by_user_month`,
+- `by_user_day`,
+- `by_user_day_client_language`
+
+```sh
+export INSTANCE_URL="" # e.g. example.sourcegraphcloud.com
+export GRANULARITY=""
+
+curl -X GET "https://analytics.sourcegraph.com/api/reports/by-user-client-date?instanceURL=$INSTANCE_URL&granularity=$GRANULARITY" \
+ -H "Authorization: Bearer $ACCESS_TOKEN"
+```
+
+Optional `startDate` and `endDate` values (formatted as `YYYY-MM-DD`) can be specified. Both parameters are optional. If neither is specified, the default is all time. If only one is specified, then only the start or end date filter will be applied.
+
+Example:
+
+```sh
+export INSTANCE_URL="" # e.g. example.sourcegraphcloud.com
+export START_DATE="2025-01-01"
+export END_DATE="2025-12-31"
+
+curl -X GET "https://analytics.sourcegraph.com/api/reports/by-user-client-date?instanceURL=$INSTANCE_URL&startDate=$START_DATE&endDate=$END_DATE" \
+ -H "Authorization: Bearer $ACCESS_TOKEN"
+```
+
+
+
+
+# Sourcegraph Air-Gapped Analytics
+
+Air-Gapped analytics is an upcoming feature currently in development. If you would like to learn more, please get in touch with your Sourcegraph representative.
+
+Air-Gapped customers can view usage metrics in a locally deployed analytics service built on Grafana to see Sourcegraph usage data.
+
+
+
+We are actively working on the product and will update this page with more information as it becomes available, like:
+
+- Set-up instructions
+- Updates
+- Custom metrics
+
+
@@ -36682,35 +27726,6 @@ scp -r username@hostname:/tmp/sourcegraph-metrics-dump.tgz .
Please then upload the `sourcegraph-metrics-dump.tgz` for Sourcegraph support to access it. If desired, we can send you a shared private Google Drive folder for the upload as it can sometimes be a few gigabytes.
-### Kubernetes deployments
-
-If you're using the [Kubernetes cluster deployment option](https://github.com/sourcegraph/deploy-sourcegraph),
-you can create a metrics dump as follows:
-
-* Open a shell to the running container
- 1. Run `kubectl get pods` to get the name of the Prometheus pod.
- 1. Run `kubectl exec -it -- /bin/bash`.
-
-* Inside the container bash shell trigger the creation of a Prometheus snapshot:
-
-```sh
-wget --post-data "" http://localhost:9090/api/v1/admin/tsdb/snapshot
-```
-
-* Tar up the created snapshot
-
-```sh
-cd /prometheus/snapshots && tar -czvf /tmp/sourcegraph-metrics-dump.tgz
-```
-
-* Switch back to local shell and copy the metrics dump file over:
-
-```sh
-kubectl cp :/tmp/sourcegraph-metrics-dump.tgz /tmp/sourcegraph-metrics-dump.tgz
-```
-
-Again please then upload the `sourcegraph-metrics-dump.tgz` for Sourcegraph support to access it.
-
### Generating pprof profiles
Please follow [these instructions](/admin/pprof) to generate pprof profiles.
@@ -36919,12 +27934,14 @@ B-->|HTTP request: 7080|C
# Security Event Logs
+
This guide goes into the details of Security Event Logging in Sourcegraph
> Note: You can find more information about our audit logs setup [here](./audit_log)
>
> [Here](https://docs-legacy.sourcegraph.com/dev/how-to/add_logging) is a guide on how to add logging to Sourcegraph backend
## What are Security Event Logs
+
- The purpose of Security Event Logs is to allow security specialists to be able to trace the steps of a user or an admin across the application.
- Getting a full picture of how a user moves through the application, in a single location, is crucial for many reasons.
- When a user takes an action on sensitive information within the application, this should be logged to make sure it can be retraced to the user and time.
@@ -36935,7 +27952,8 @@ This guide goes into the details of Security Event Logging in Sourcegraph
## How to log a security event
-- All the logging for security event is done through our [security_event_log.go](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/database/security_event_logs.go) functions
+
+- All the logging for security event is done through our `security_event_log` functions
- Previously, events were created within the function where the action was taking place and then pushed to the logging location like this:
```go
event := &SecurityEvent{
@@ -36950,10 +27968,10 @@ This guide goes into the details of Security Event Logging in Sourcegraph
db.SecurityEventLogs().LogEvent(ctx, event)
-- With a recent change to streamline the process, to log an event, the [LogSecurityEvent](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/database/security_event_logs.go?L253:34&popover=pinned) function can be invoked which takes care of marshaling the arguments and creating the SecurityEvent.
+- With a recent change to streamline the process, to log an event, the `LogSecurityEvent` function can be invoked which takes care of marshaling the arguments and creating the SecurityEvent.
- This function takes following information to create a log event
- Context contains information on the acting user
- - SecurityEventName which is predefined [here](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/database/security_event_logs.go?L22-101)
+ - `SecurityEventName` is predefined
- URL if available
- userID of the user that the action is applied towards
- anonymousUserID for unauthenticated users
@@ -37016,8 +28034,6 @@ This guide goes into the details of Security Event Logging in Sourcegraph
- UserID can be used to filter out actions taken on a particular user's information
## FAQ
-### What events are currently being logged as security events?
-- [These](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/database/security_event_logs.go?L22-101) are the events that are currently being logged.
### What if I don't want these events to be logged?
@@ -37260,7 +28276,7 @@ To configure:
4. Set up your IdP to use our SCIM API. The API is at
```
- https://sourcegraph.company.com/.api/scim/v2
+ https://sourcegraph.company.com/.api/scim/v2/
```
## Configuring SCIM for Okta
@@ -37272,7 +28288,7 @@ To set up user provisioning in [Okta](https://help.okta.com/en-us/Content/Topics
1. Go to the "General" tab and click "Edit" in the "App Settings" section.
1. Set "Provisioning" to "SCIM". This creates a new tab called "Provisioning".
1. Go to the "Provisioning" tab, and click "Edit"
-1. Set "SCIM connector base URL" to `{yourSourcegraphUrl}/.api/scim/v2`
+1. Set "SCIM connector base URL" to `{yourSourcegraphUrl}/.api/scim/v2/`
1. Set "Unique identifier field for users" to `userName`
1. Check the first three items in `Supported provisioning actions`: "Import New Users and Profile Updates", "Push New Users", and "Push Profile Updates".
1. Set "Authentication mode" to "HTTP Header"
@@ -37441,6 +28457,268 @@ will generate a CPU profile.
+
+# PostgreSQL Collation Version Mismatch Resolution
+
+# Issue Summary
+
+Customers who initially deployed Sourcegraph versions prior to v6.2.2553 using the Sourcegraph provided PostgreSQL containers may encounter PostgreSQL collation version mismatch warnings after upgrading to more recent Sourcegraph versions due to an underlying glibc version update.
+
+# Impact
+
+Mismatched collation versions can lead to database index corruption if left unchecked.
+
+# Affected Services
+
+* `pgsql` container
+* `codeintel-db` container
+* `codeinsights-db` container
+
+Only self-hosted customers using the Sourcegraph provided PostgreSQL container images are affected.
+
+Self-hosted customers using external databases, such as AWS RDS, GCP CloudSQL, or another self-managed solution are **NOT** affected.
+
+Sourcegraph Cloud customers are not affected.
+
+
+
+
+
+
+
+# Symptoms
+
+When logging into the database via `psql` or similar tools you may see the following warning:
+
+```shell
+WARNING: database "sg" has a collation version mismatch DETAIL: The database was created using collation version 2.40, but the operating system provides version 2.41.
+```
+
+# Backup Instructions (Required Before Proceeding)
+
+Before performing any reindexing operations, it is critical to back up your data to prevent potential data loss. Use the method applicable to your deployment and your current environment.
+
+Docker example:
+
+```
+docker exec -t pg_dumpall -U sg > backup_.sql
+```
+
+# Resolution Steps
+
+Each affected database requires a reindex to be performed. This requires downtime, and should be done in the next available maintenance window.
+
+Before reindexing, check the current collation versions. Run the following SQL to compare current and OS collation versions:
+
+```
+SELECT
+ datname,
+ datcollversion,
+ pg_database_collation_actual_version(oid) AS current_os_version
+FROM pg_database;
+```
+
+`datcollversion` should not match `current_os_version`
+
+## Docker Compose deployments
+
+1. Stop all Sourcegraph containers
+
+```
+docker compose down
+```
+
+2. Start only the database containers
+
+```
+docker compose up pgsql codeinsights-db codeintel-db -d
+```
+
+3. Access each database container
+
+```
+docker exec -it bash
+```
+
+4. Reindex the databases in the container
+
+```
+reindexdb --no-password --username sg --verbose --echo --system
+reindexdb --no-password --username sg --verbose --echo --all
+```
+
+5. Refresh the collation version for each database
+
+```
+psql --no-password --username "sg" --tuples-only -c "SELECT 'ALTER DATABASE ' || datname || ' REFRESH COLLATION VERSION;' FROM pg_database WHERE datname != 'template0';" | psql --no-password --username "sg"
+```
+
+\* For the above commands, replace `sg` with your custom username if one was configured in your environment.
+\*\* For the `codeinsights-db` container, the default username is `postgres` instead of `sg`.
+
+Repeat steps 3 through 5 with all containers:
+
+* `pgsql` container
+* `codeintel-db` container
+* `codeinsights-db` container
+
+Once this is complete, you may start your Sourcegraph deployment
+
+```
+docker compose up -d
+```
+
+## Helm Deployments
+
+1. Stop all non-database Sourcegraph pods (assuming a namespace of `sourcegraph`)
+
+```
+kubectl get -n sourcegraph deploy --no-headers | awk '{print $1}' | xargs -n 1 -P 8 -I % kubectl -n sourcegraph scale deployment % --replicas=0
+```
+
+```
+kubectl -n sourcegraph get sts --selector 'app.kubernetes.io/component!=codeinsights-db,app.kubernetes.io/component!=codeintel-db,app.kubernetes.io/component!=pgsql' --no-headers | awk '{print $1}' | xargs -n 1 -P 8 -I % kubectl -n sourcegraph scale sts % --replicas=0
+```
+
+2. Access each database pod
+
+```
+kubectl exec -it -n sourcegraph -- /bin/sh
+```
+
+3. Reindex the databases in the container
+
+```
+reindexdb --no-password --username sg --verbose --echo --system
+reindexdb --no-password --username sg --verbose --echo --all
+```
+
+4. Refresh the collation version for each database
+
+```
+psql --no-password --username "sg" --tuples-only -c "SELECT 'ALTER DATABASE ' || datname || ' REFRESH COLLATION VERSION;' FROM pg_database WHERE datname != 'template0';" | psql --no-password --username "sg"
+```
+
+\* For the above commands, replace `sg` with your custom username if one was configured in your environment.
+\*\* For the `codeinsights-db` container, the default username is `postgres` instead of `sg`.
+
+Repeat steps 2 through 4 with all pods:
+
+* `pgsql-0` pod
+* `codeintel-db-0` pod
+* `codeinsights-db-0` pod
+
+Once this is complete, you may start your Sourcegraph deployment, for example
+
+```
+helm upgrade -n sourcegraph
+```
+
+## Kustomize Deployments
+
+1. Stop all non-database Sourcegraph pods (assuming a namespace of `sourcegraph`). In your cluster Kustomization file (`instances/my-sourcegraph/kustomize.yaml`), uncomment the [multi-version-upgrade util](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/instances/template/kustomization.template.yaml#L155). This will scale down all non-database deployments and statefulSets replicas to 0\.
+
+```
+ # - ../../components/utils/uid # -- Run all Postgres database with valid users on host
+ - ../../components/utils/multi-version-upgrade # -- Scale down non-database pods to 0 for multi-version upgrade
+ # - ../../components/utils/migrate-to-nonprivileged # -- Component for migrating from privileged to non-privileged
+ #
+```
+
+2. Generate and apply a new \`cluster.yaml\` file
+
+```
+kubectl kustomize instances/my-sourcegraph -o cluster.yaml
+kubectl apply --prune -l deploy=sourcegraph -f cluster.yaml
+```
+
+3. Access each database pod
+
+```
+kubectl exec -it -n sourcegraph -- /bin/sh
+```
+
+4. Reindex the databases in the container
+
+```
+reindexdb --no-password --username sg --verbose --echo --system
+reindexdb --no-password --username sg --verbose --echo --all
+```
+
+5. Refresh the collation version for each database
+
+```
+psql --no-password --username "sg" --tuples-only -c "SELECT 'ALTER DATABASE ' || datname || ' REFRESH COLLATION VERSION;' FROM pg_database WHERE datname != 'template0';" | psql --no-password --username "sg"
+```
+
+\* For the above commands, replace `sg` with your custom username if one was configured in your environment.
+\*\* For the `codeinsights-db` container, the default username is `postgres` instead of `sg`.
+
+Repeat steps 3 through 5 with all pods:
+
+* `pgsql-0` pod
+* `codeintel-db-0` pod
+* `codeinsights-db-0` pod
+
+Once this is complete, you may start your Sourcegraph deployment.
+
+Comment out the [multi-version-upgrade util](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/instances/template/kustomization.template.yaml#L155) in your cluster Kustomization file (`instances/my-sourcegraph/kustomize.yaml`).
+
+```
+# - ../../components/utils/uid # -- Run all Postgres database with valid users on host
+# - ../../components/utils/multi-version-upgrade # -- Scale down non-database pods to 0 for multi-version upgrade
+# - ../../components/utils/migrate-to-nonprivileged # -- Component for migrating from privileged to non-privileged
+```
+
+Generate and apply a new \`cluster.yaml\` file
+
+```
+kubectl kustomize instances/my-sourcegraph -o cluster.yaml
+kubectl apply --prune -l deploy=sourcegraph -f cluster.yaml
+```
+
+## AMI/Machine Image based deployments
+
+Our AMI and GCP machine image deployments run Kubernetes internally, and thus follow the same general directions as our Helm Deployments described above.
+
+To access the deployment you must SSH into your AMI/Machine image first.
+
+* For AWS AMIs, the default username is `ec2-user`
+* For GCP machine images, the default username is `sourcegraph`
+
+Follow the directions laid out in the Helm Deployments section.
+
+# Expected Downtime
+
+* Reindexing may take 15-60 minutes in most cases, but depends on the database size, disk speed, and available CPU/RAM
+* For customers with larger databases \- greater than 100Gb \- or low resource allocation, reindexing may take longer
+
+# Verification
+
+Check that warnings no longer appear when connecting to the database:
+
+```
+psql --no-password --username "$PGUSER" -d sg
+```
+
+After Reindexing: Verify Collation Version:
+
+```
+SELECT
+ datname,
+ datcollversion,
+ pg_database_collation_actual_version(oid) AS current_os_version
+FROM pg_database;
+```
+
+Ensure `datcollversion` matches `current_os_version` for all databases listed.
+
+# Questions?
+
+Contact Sourcegraph Support ([support@sourcegraph.com](mailto:support@sourcegraph.com)) if you encounter issues during this process.
+
+
+
# Postgres 12 End of Life
@@ -37856,7 +29134,7 @@ The Cody app connects to Sourcegraph.com to send a limited selection of the ping
It may happen that Sourcegraph will stop sending critical telemetry to Sourcegraph.com, if this happens it may indicate a problem with Sourcegraphs frontend database, or a site settings misconfiguration. Below are some debugging steps.
-Sourcegraph telemetry pings are handled by a goroutine running on Sourcegraphs frontend service called [`updatecheck`](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/cmd/frontend/internal/app/updatecheck/client.go?subtree=true), `updatecheck` is [started](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+file:%5Ecmd/frontend/internal/cli/serve_cmd%5C.go+updatecheck.Start%28db%29&patternType=literal) on container startup and periodically requests a variety of queries be run in the `pgsql` database.
+Sourcegraph telemetry pings are handled by a goroutine running on Sourcegraphs frontend service called `updatecheck`, `updatecheck` is started on container startup and periodically requests a variety of queries be run in the `pgsql` database.
### Misconfigured update.channel
@@ -37864,7 +29142,7 @@ The most common scenario in which Sourcegraph stops sending pings is a change to
```
"update.channel": "release",
```
-*This setting [must be set to "release"](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/updatecheck/client.go?L803-806) in order for the telemetry goroutine to run.*
+*This setting must be set to "release" in order for the telemetry goroutine to run.*
### Check if the goroutine is running
@@ -38318,11 +29596,9 @@ Docker image, you can deploy a reverse proxy such as [Caddy](https://caddyserver
If you are running Sourcegraph as a Kubernetes cluster, you have two additional options:
-1. If you are using [NGINX
- ingress](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/docs/configure#ingress-controller)
- (`kubectl get ingress | grep sourcegraph-frontend`), modify
- [`sourcegraph-frontend.Ingress.yaml`](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/base/frontend/sourcegraph-frontend.Ingress.yaml)
- by [adding a rewrite rule](https://kubernetes.github.io/ingress-nginx/examples/rewrite/).
+1. If you are using NGINX ingress (`kubectl get ingress | grep sourcegraph-frontend`), modify
+ [`sourcegraph-frontend.Ingress.yaml`](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/frontend/sourcegraph-frontend.Ingress.yaml)
+ by [adding a rewrite rule](https://kubernetes.github.io/ingress-nginx/examples/rewrite/). You can also refer to the [ingress configuration examples](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/main/examples/ingress-controller).
## What external HTTP checks are configured?
@@ -38543,7 +29819,7 @@ If a feature is labeled `Beta`, this specifically means:
## Philosophy
-The audit log will capture all critical events that affect entities of interest within Sourcegraph services. The audit log is built on top of our [logging standard](https://docs-legacy.sourcegraph.com/dev/how-to/add_logging), using structured logs as the base building block. Every captured entry is aligned with the following design mantra:
+The audit log captures all critical events that affect entities of interest within Sourcegraph services. The audit log is built on top of our [logging standard](https://docs-legacy.sourcegraph.com/dev/how-to/add_logging), using structured logs as the base building block. Every captured entry is aligned with the following design mantra:
> Actor takes action on an entity within a context
@@ -38551,52 +29827,94 @@ Here's a sample audit log entry:
```
{
- "SeverityText": "INFO",
- "Timestamp": 1667210919544146000,
- "InstrumentationScope": "server.SecurityEvents",
- "Caller": "audit/audit.go:43",
- "Function": "github.com/sourcegraph/sourcegraph/internal/audit.Log",
- "Body": "AccessGranted (sampling immunity token: 7aacf0e8-d001-4aec-8b7d-20e46d34c8db)",
"Resource": {
"service.name": "frontend",
- "service.version": "0.0.0+dev",
- "service.instance.id": "Michals-MacBook-Pro-2.local"
+ "service.version": "328631_2025-06-03_6.4-38344483cde5",
+ "service.instance.id": "sourcegraph-frontend-7b7fc6f469-5mc92"
},
+ "message": "viewed (sampling immunity token: 3a5a87aa-c068-4d53-a489-d0e78c9a45d6)",
+ "InstrumentationScope": "frontend.schemaResolver",
+ "Caller": "graphqlbackend/site.go:132",
+ "Function": "github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend.(*siteResolver).Configuration",
"Attributes": {
"audit": {
- "auditId": "7aacf0e8-d001-4aec-8b7d-20e46d34c8db",
- "entity": "security events",
+ "entity": "site.config",
+ "auditID": "3a5a87aa-c068-4d53-a489-d0e78c9a45d6",
+ "action": "viewed",
+ "tenant": "1",
"actor": {
+ "X-Requested-With": "",
+ "forwardedForRequestedWith": "",
+ "X-Forwarded-For": "",
+ "forwardedForUserAgent": "Go-http-client/1.1",
"actorUID": "1",
- "ip": "127.0.0.1",
- "X-Forwarded-For": "127.0.0.1, 127.0.0.1"
+ "X-Sourcegraph-API-Client-Version": "",
+ "userAgent": "Go-http-client/1.1",
+ "X-Sourcegraph-API-Client-Feature": "",
+ "X-Sourcegraph-API-Client-Name": "",
+ "sourcegraphOperator": true,
+ "fromAccessTokenID": "1",
+ "ip": "127.0.0.1"
}
- },
- "event": {
- "URL": "",
- "source": "BACKEND",
- "argument": "{\"resource\":\"db.repo\",\"service\":\"frontend\",\"repo_ids\":[9]}",
- "version": "0.0.0+dev",
- "timestamp": "2022-10-31 10:08:39.542876 +0000 UTC"
}
- }
+ },
+ "timestampNanos": 1748958897357219600
}
+
```
Here's a word-by-word breakout to demonstrate how the captured entry aligns with the design mantra:
- **Actor** - `Attributes.audit.actor` field carries essential information about the actor who performed the action.
- **Action** - `Body` field carries the action description. This action is suffixed with a "sampling immunity token," which carries the unique audit log entry ID. The audit entry ID must be present in the `Body` so that the message is always unique and never gets dropped by the sampling mechanism (hence the sampling immunity token string).
-- **Entity** - `Attributes.audit.entity` describes the audited entity. `Resource` field contains additional information about the audited resource as well.
-- **Context** - Any non-`audit` child node of `Attributes`. This is represented by the `event` node in the example above.
+- **Entity** - `Attributes.audit.entity` describes the audited entity.
+- **Context** - Additional fields within the `audit` object provide context for the action.
### What is audited?
-- **Security Events** - [A list of events](./security_event_logs) such as logins, site configuration updates, code host configuration updates (_These logs can be sent to the database for easier collection as well as to the standard output_).
-- **Gitserver Access** - Requests to the [`gitserver`](./deploy/scale.mdx#gitserver) component that is responsible for brokering transactions between the git repos on disk and all other Sourcegraph components.
-- **GraphQL Requests** - Requests To The Sourcegraph [`frontend`](./deploy/scale.mdx#frontend) component that is usually named `sourcegraph-frontend-{DYNAMICALLY CREATED ALPHANUMERIC}`
+The audit log captures a wide range of security-relevant events including:
+
+- **Authentication Events** - Login attempts, access token usage, password changes, and sign-out events
+- **Authorization Events** - Permission changes, role modifications, and access control updates
+- **User Management** - User creation, modification, deletion, and email verification
+- **Configuration Changes** - Site configuration updates, external service modifications
+- **Repository Access** - Repository access events and gitserver requests
+- **API Usage** - GraphQL requests and outbound API calls
+- **Code Host Integration** - External service configuration and webhook events
+- **Tenant Operations** - Multi-tenant workspace management events
-This list is expected to grow in the future.
+### Entities and Actions
+
+Below is a comprehensive list of currently audited entities and their associated actions:
+
+#### Authentication
+- **auth.accessToken**: failed, invalid, impersonated
+- **auth.password**: attempted, failed, succeeded
+- **auth.oauth** (various providers): failed, sign-in
+- **auth.operator**: access
+
+#### User Management
+- **user**: created, modified, deleted, hardDeleted
+- **user.email**: added, deleted, changed, verified, unverified
+- **user.password**: changed, reset
+- **user.accessToken**: created, deleted, hardDeleted
+- **user.completions.quota**: changed
+- **user.codecompletions.quota**: changed
+
+#### Configuration & Infrastructure
+- **site.config**: viewed, changed
+- **site.config.redacted**: viewed
+- **codehosts**: created, changed, deleted
+- **repository**: accessed
+- **gitserver**: access
+- **requests.outbound**: viewed
+- **webhooks.outbound**: created, deleted
+
+#### Organizations & Access Control
+- **organizations**: viewed, created
+- **entitlements**: viewed, created, updated, deleted
+- **rbac.permission**: changed
+- **rbac.role**: created, changed, deleted
### Target audience
@@ -38614,29 +29932,56 @@ The audit log is currently configured using the site config. Here's the correspo
"gitserverAccess": false,
"severityLevel": "INFO" // DEPRECATED, defaults to SRC_LOG_LEVEL
}
- "securityEventLog": {
- "location": "auditlog" // option to set "database" or "all" as well, default to outputing as an audit log
}
```
-We believe the individual settings are self-explanatory, but here are a couple of notes:
-
-- `securityEventLog` configures the destination of security events, logging to the database may result in performance issues
-- `internalTraffic` is disabled by default and will result in security events from internal traffic not being logged
+Configuration options:
+- `internalTraffic`: When false (default), suppresses audit logs from internal system actors to reduce noise
+- `graphQL`: Controls auditing of GraphQL API requests
+- `gitserverAccess`: Controls auditing of gitserver access events
+- `severityLevel`: DEPRECATED - audit log level now follows the global `SRC_LOG_LEVEL` environment variable
## Using
-Audit logs are structured logs. As long as one can ingest logs, we assume one can also ingest audit logs.
+Audit logs are structured logs delivered as JSON to STDERR. As long as one can ingest logs, we assume one can also ingest audit logs.
-### On Premises
+### Log Output
-All logs mentioned are delivered to the standard output (stdout) for each individual [component](./deploy/scale.mdx#core-components).
+All audit logs are delivered to **STDERR** for each individual [component](./deploy/scale.mdx#core-components).
-There are two easy approaches to filtering the audit logs:
+### Filtering Audit Logs
-- JSON-based: look for the presence of the `Attributes.audit` node. Do not depend on the log level, as it can change based on `SRC_LOG_LEVEL`.
-- Message-based: we recommend going the JSON route, but if there's no easy way of parsing JSON using your SIEM or data processing stack, you can filter based on the following string: `auditId`.
+There are two approaches to filtering the audit logs:
+
+- **JSON-based**: Look for the presence of the `Attributes.audit` node. Do not depend on the log level, as it can change based on `SRC_LOG_LEVEL`.
+- **Message-based**: Filter based on the following string: `auditID` (note: this is the current field name, not `auditId`).
+
+### Important Fields for Filtering
+
+Customers can filter audit logs using these key fields:
+
+#### Core Audit Fields
+- `Attributes.audit.auditID`: Unique identifier for each audit event
+- `Attributes.audit.entity`: The entity being acted upon (e.g., "user", "site.config")
+- `Attributes.audit.action`: The action performed (e.g., "created", "modified", "deleted")
+- `Attributes.audit.tenant`: Tenant ID for multi-tenant environments
+
+#### Actor Information
+- `Attributes.audit.actor.actorUID`: User ID of the actor performing the action
+- `Attributes.audit.actor.ip`: IP address of the request
+- `Attributes.audit.actor.fromAccessTokenID`: Access token ID if action performed via API
+- `Attributes.audit.actor.sourcegraphOperator`: Boolean indicating if actor is a Sourcegraph operator
+- `Attributes.audit.actor.userAgent`: User agent string from the request
+- `Attributes.audit.actor.X-Forwarded-For`: Forwarded IP addresses
+- `Attributes.audit.actor.X-Sourcegraph-API-Client-Name`: API client name
+- `Attributes.audit.actor.X-Sourcegraph-API-Client-Version`: API client version
+
+#### Timestamp and Service Information
+- `Timestamp`: Event timestamp (nanoseconds since Unix epoch)
+- `Resource.service.name`: Service that generated the audit log
+- `Resource.service.version`: Version of the service
+- `Body`: Human-readable action description with sampling immunity token
### Cloud
@@ -38644,24 +29989,34 @@ For Sourcegraph Cloud customers, please refer to Cloud [documentations](/cloud/#
## Developing
-The single entry point to the audit logging API is made via the [`audit.Log`](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/internal/audit/audit.go?L19) function. This internal function can be used from any place in the app, and nothing else needs to be done for the logged entry to appear in the audit log.
+The single entry point to the audit logging API is made via the `audit.Log` function. This internal function can be used from any place in the app, and nothing else needs to be done for the logged entry to appear in the audit log.
Example call:
-```
+```go
audit.Log(ctx, logger, audit.Record{
- Entity: "security events",
- Action: string(event.Name),
+ Entity: "user",
+ Action: "modified",
Fields: []log.Field{
- log.Object("event",
- log.String("URL", event.URL),
- ),
+ log.Int32("userID", userID),
+ log.String("operation", "updateProfile"),
},
})
```
-- audit log checks the current settings via the cached `schema.SiteConfiguration`
-- `ctx` parameter is required for acquiring `actor.Actor` and `requestclient.Client`
-- `logger` parameter is used for performing the actual log call
-- `audit.Record` carries all the information required for constructing a valid audit log entry
+
+**Parameters:**
+- `ctx`: Context parameter required for acquiring `actor.Actor` and `requestclient.Client`
+- `logger`: Logger instance used for performing the actual log call
+- `audit.Record`: Structure carrying all the information required for constructing a valid audit log entry
+ - `Entity`: Name of the audited entity
+ - `Action`: Description of the state change
+ - `Fields`: Additional context fields specific to the action
+ - `MustRecord`: Optional flag to bypass internal traffic filtering
+
+The audit log system automatically:
+- Checks current settings via cached `schema.SiteConfiguration`
+- Extracts actor information from context
+- Generates unique audit ID with sampling immunity
+- Formats the log entry according to the structured format
## FAQ
@@ -38675,7 +30030,7 @@ The `audit.actor` node carries ID of the user who performed the action (`actorUI
1. Find the corresponding user by searching the query results for the encoded ID from above
GraphQL query:
-```
+```graphql
{
users {
nodes {
@@ -38686,19 +30041,12 @@ GraphQL query:
}
```
-### Excessive audit logging
+**How do I reduce audit log volume?**
-If you are seeing a large number of logs in the format `frontend.SecurityEvents` or similar, these are securityEventLogs.
-
-To disable them, in the site config set `log.securityEventLog.location` to `none`.
-
-```json
- "log": {
- "securityEventLog": {
- "location": "none"
- }
-}
-```
+To reduce audit log volume:
+1. Set `log.auditLog.internalTraffic` to `false` (default) to suppress logs from internal system actors
+2. Configure specific audit types (`graphQL`, `gitserverAccess`) based on your monitoring needs
+3. Use log filtering at the ingestion level to focus on specific entities or actions
@@ -39079,6 +30427,31 @@ Each section comprehensively describes the changes needed in Docker images, envi
## Unreleased
+## v6.2.2553
+
+### Known issues
+
+Customers running Sourcegraph versions prior to v6.2.2553 and using the Sourcegraph provided PostgreSQL containers may encounter PostgreSQL collation version mismatch warnings after upgrading to more recent Sourcegraph versions due to an underlying glibc version update.
+
+When logging into the database via psql or similar tools you may see the following warning:
+
+```shell
+WARNING: database "sg" has a collation version mismatch DETAIL: The database was created using collation version 2.40, but the operating system provides version 2.41.
+```
+
+Mismatched collation versions can lead to database index corruption if left unchecked.
+
+Affected Services
+- pgsql container
+- codeintel-db container
+- codeinsights-db container
+
+Only self-hosted customers using the Sourcegraph provided PostgreSQL container images are affected.
+
+Self-hosted customers using external databases, such as AWS RDS, GCP CloudSQL, or another self-managed solution are NOT affected.
+
+See our [PostgreSQL Collation Version Mismatch Resolution](/admin/postgresql_collation_version_mismatch_resolution) notes for more details.
+
## v5.2.6 ➔ v5.2.7
As a template, perform the same actions as the following diff in your own deployment: [`Upgrade to v5.2.7`](https://github.com/sourcegraph/deploy-sourcegraph-docker/compare/v5.2.6...v5.2.7)
@@ -39780,6 +31153,32 @@ For upgrade procedures or general info about sourcegraph versioning see the link
## v6.4.0
- The repo-updater service is no longer needed and will be removed from deployment methods going forward.
+- The symbols service and searcher service have been merged and symbols will be removed from deployment methods going forward. Consider moving env vars set on symbols to the searcher deployment before upgrading and reallocating resources from symbols to searcher.
+
+## v6.2.2553
+
+### Known issues
+
+Customers running Sourcegraph versions prior to v6.2.2553 and using the Sourcegraph provided PostgreSQL containers may encounter PostgreSQL collation version mismatch warnings after upgrading to more recent Sourcegraph versions due to an underlying glibc version update.
+
+When logging into the database via psql or similar tools you may see the following warning:
+
+```shell
+WARNING: database "sg" has a collation version mismatch DETAIL: The database was created using collation version 2.40, but the operating system provides version 2.41.
+```
+
+Mismatched collation versions can lead to database index corruption if left unchecked.
+
+Affected Services
+- pgsql container
+- codeintel-db container
+- codeinsights-db container
+
+Only self-hosted customers using the Sourcegraph provided PostgreSQL container images are affected.
+
+Self-hosted customers using external databases, such as AWS RDS, GCP CloudSQL, or another self-managed solution are NOT affected.
+
+See our [PostgreSQL Collation Version Mismatch Resolution](/admin/postgresql_collation_version_mismatch_resolution) notes for more details.
## v6.0.0
@@ -40117,6 +31516,7 @@ If your instance has schema drift or unfinished oob migrations you may need to a
- [**Sourcegraph AWS AMI instances**](/admin/deploy/machine-images/aws-ami#upgrade)
## Other helpful links
+- [PostgreSQL Collation Version Mismatch Resolution](/admin/postgresql_collation_version_mismatch_resolution)
- [Postgres 12 End Of Life Notice](/admin/postgres12_end_of_life_notice)
- [Migrator operations](/admin/updates/migrator/migrator-operations)
- [Upgrading Early Versions](/admin/updates/migrator/upgrading-early-versions)
@@ -40140,6 +31540,31 @@ For upgrade procedures or general info about sourcegraph versioning see the link
>
> ***If the notes indicate a patch release exists, target the highest one.***
+## v6.2.2553
+
+### Known issues
+
+Customers running Sourcegraph versions prior to v6.2.2553 and using the Sourcegraph provided PostgreSQL containers may encounter PostgreSQL collation version mismatch warnings after upgrading to more recent Sourcegraph versions due to an underlying glibc version update.
+
+When logging into the database via psql or similar tools you may see the following warning:
+
+```shell
+WARNING: database "sg" has a collation version mismatch DETAIL: The database was created using collation version 2.40, but the operating system provides version 2.41.
+```
+
+Mismatched collation versions can lead to database index corruption if left unchecked.
+
+Affected Services
+- pgsql container
+- codeintel-db container
+- codeinsights-db container
+
+Only self-hosted customers using the Sourcegraph provided PostgreSQL container images are affected.
+
+Self-hosted customers using external databases, such as AWS RDS, GCP CloudSQL, or another self-managed solution are NOT affected.
+
+See our [PostgreSQL Collation Version Mismatch Resolution](/admin/postgresql_collation_version_mismatch_resolution) notes for more details.
+
## v6.0.0
- Sourcegraph 6.0.0 no longer supports PostgreSQL 12, admins must upgrade to PostgreSQL 16. See our [postgres 12 end of life](/admin/postgres12_end_of_life_notice) notice! As well as [supporting documentation](/admin/postgres) and advisements on how to upgrade.
@@ -40414,7 +31839,7 @@ This release introduces a background job that will convert all LSIF data into SC
# Automatic multi-version upgrades
-> Warning: Automatic upgrades to v5.10.0 will fail please upgrade to a v5.9.x version and perform a standard upgrade instead! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
+> Warning: Automatic upgrades to v5.10.0 will fail please upgrade to a v5.9.x version and perform a standard upgrade instead! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice! This is one of the reasons the "Auto Upgrade" toggle is automatically turned off after a version change. This behavior is intentional—it’s designed to prevent users from unintentionally performing multi-version upgrades (MVUs) that span critical changes, such as major infrastructure updates like a PostgreSQL version upgrade.
From **Sourcegraph 5.1 and later**, multi-version upgrades can be performed **automatically** as if they were a standard upgrade for the same deployment type. Automatic multi-version upgrades take the following general form:
@@ -40680,10 +32105,9 @@ Some notes on `migrator`:
Migrator uses environemt variables to target the correct database instances. By default these values are configured to target Sourcegraphs locally deployed databases. These values may be adjusted to connect migrator to externally managed databases.
-Manifest loactions:
+Manifest locations:
- [Docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/docker-compose/docker-compose.yaml#L20C4-L43)
- [Kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/components/utils/migrator/resources/sourcegraph-frontend.ConfigMap.yaml#L10-L28)
-- [Legacy](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/configure/migrator/migrator.Job.yaml#L23C13-L59)
- [Helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph-migrator/values.yaml#L39-L79)
Example default environment variables:
@@ -40928,10 +32352,9 @@ Generally in production environments `migrator` is run by updating the startup *
### Kubernetes Kustomize
-In kubernetes `migrator` is initialized as a [kubernetes job](https://kubernetes.io/docs/concepts/workloads/controllers/job/). The `job` is initialized with arguments passed to the `args:` key. Below are links to the job manifests in our kustomize and legacy deployments:
-- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/components/utils/migrator/resources/migrator.Job.yaml)
- - [*configMap*](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/components/utils/migrator/resources/sourcegraph-frontend.ConfigMap.yaml)
-- [legacy](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/configure/migrator/migrator.Job.yaml#LL21C1-L23C1)
+In kubernetes `migrator` is initialized as a [kubernetes job](https://kubernetes.io/docs/concepts/workloads/controllers/job/). The `job` is initialized with arguments passed to the `args:` key. Below are links to the job manifests:
+- [migrator.Job.yaml](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/components/utils/migrator/resources/migrator.Job.yaml)
+- [configMap](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/components/utils/migrator/resources/sourcegraph-frontend.ConfigMap.yaml)
To run `migrator` with a specific *command*:
@@ -41142,8 +32565,6 @@ You can rollback by resetting your `release` branch to the old state before rede
### Rollback with Kustomize
-**For Sourcegraph versions `v4.5.0` and above, which have [migrated](/admin/deploy/kubernetes/kustomize/migrate) to [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s):**
-
```bash
# Re-generate manifests
$ kubectl kustomize instances/$YOUR_INSTANCE -o cluster-rollback.yaml
@@ -41153,14 +32574,6 @@ You can rollback by resetting your `release` branch to the old state before rede
$ kubectl apply --prune -l deploy=sourcegraph -f cluster-rollback.yaml
```
-### Rollback without Kustomize
-
-**For Sourcegraph versions prior to `v4.5.0`, or which have not migrated away from [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph):**
-
- ```bash
- $ /admin/updates/migrator/kubectl-apply-all.sh
- ```
-
@@ -41213,13 +32626,11 @@ However, if you’ve applied security measures or have firewall restrictions on
- **Protocol Description**: gRPC runs on-top of [HTTP/2](https://en.wikipedia.org/wiki/HTTP/2) (which, in turn, runs on top of [TCP](https://en.wikipedia.org/wiki/Transmission_Control_Protocol). It transfers (binary-encoded, not human-readable plain-text) [Protocol Buffer](https://protobuf.dev/) payloads. Our current gRPC implementation does not use any encryption.
- **List of services**: The following services will now _speak mainly gRPC in addition_ to their previous traffic:
- - [frontend](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/base/frontend/sourcegraph-frontend.Service.yaml)
- - [gitserver](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/gitserver/gitserver.Service.yaml)
- - [searcher](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/searcher/searcher.Service.yaml)
- - [zoekt-webserver](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/indexed-search/indexed-search.StatefulSet.yaml)
- - [zoekt-indexserver](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/indexed-search/indexed-search.StatefulSet.yaml)
- - [symbols](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/symbols/symbols.Deployment.yaml)
- - [repo-updater](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/release/base/repo-updater/repo-updater.Deployment.yaml)
+ - [frontend](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/frontend/sourcegraph-frontend.Service.yaml)
+ - [gitserver](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/gitserver/gitserver.Service.yaml)
+ - [searcher](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/searcher/searcher.StatefulSet.yaml)
+ - [zoekt-webserver](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml)
+ - [zoekt-indexserver](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml)
- The following aspects about Sourcegraph’s networking configuration **aren’t changing**:
- **Ports**: all Sourcegraph services will use the same ports as they were in the **5.1.X** release.
@@ -41255,7 +32666,7 @@ Set the environment variable `SG_FEATURE_FLAG_GRPC="false"` for every service.
#### `zoekt-indexserver` service: disable via environment variable
-Set the environment variable `GRPC_ENABLED="false"` on the `zoekt-indexserver` container. (See [https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/18e5f9e450878705b7a99ee7c3bcf74c3fb68514/base/indexed-search/indexed-search.StatefulSet.yaml#L105-L106](https://github.com/sourcegraph/deploy-sourcegraph-cloud/blob/18e5f9e450878705b7a99ee7c3bcf74c3fb68514/base/indexed-search/indexed-search.StatefulSet.yaml#L105-L106) for an example:
+Set the environment variable `GRPC_ENABLED="false"` on the `zoekt-indexserver` container. (See [indexed-search.StatefulSet.yaml](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/sourcegraph/indexed-search/indexed-search.StatefulSet.yaml) for the configuration):
```yaml
- name: zoekt-indexserver
@@ -41916,9 +33327,7 @@ To enable Perforce code host connections, a site admin must:
> NOTE: While the `fusionClient` configuration is optional, without it the code host connection uses `git p4`, which has performance issues so we strongly recommend `p4-fusion`.
- Details of all `p4-fusion` configuration fields can be seen [here](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@2a716bd70c294acf1b3679b790834c4dea9ea956/-/blob/schema/perforce.schema.json?L84-147).
-
-1. Click **Add repositories**.
+2. Click **Add repositories**.
Sourcegraph will now talk to the Perforce host and sync the configured `depots` to the Sourcegraph instance.
@@ -41937,11 +33346,11 @@ Perforce labels are converted to Git tags, but only under the following conditio
Perforce label names are also more flexible than git tag names, so incompatible characters are replaced with underscores. (i.e. `v1:2:3` will become `v1_2_3`)
-This behaviour can be disabled by setting `noConvertLabels` to `true` in the [fusion client configuration](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@44e848d4ba5a3d47bc6e8651638cfe2279d02102/-/blob/schema/perforce.schema.json?L66-131).
+This behaviour can be disabled by setting `noConvertLabels` to `true` in the fusion client configuration.
## Repository permissions (Beta)
-To enforce file-level permissions for Perforce depots using the [Perforce protects file](https://www.perforce.com/manuals/cmdref/Content/CmdRef/p4_protect.html), include [the `authorization` field](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@2a716bd70c294acf1b3679b790834c4dea9ea956/-/blob/schema/perforce.schema.json?L67-78) in the configuration of the Perforce code host connection you created [above](#add-a-perforce-code-host):
+To enforce file-level permissions for Perforce depots using the [Perforce protects file](https://www.perforce.com/manuals/cmdref/Content/CmdRef/p4_protect.html), include the `authorization` field in the configuration of the Perforce code host connection you created [above](#add-a-perforce-code-host):
```json
{
@@ -41994,7 +33403,7 @@ File-level permissions eliminate the need for [syncing subdirectories to match p
To enable file-level permissions:
-1. Add the following entry to your [site configuration file](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@2a716bd/-/blob/schema/site.schema.json?L227-249):
+1. Add the following entry to your site configuration file:
```json
{
@@ -42004,7 +33413,7 @@ To enable file-level permissions:
}
```
-1. Enable the feature in the code host configuration by adding `subRepoPermissions` to the `authorization` object:
+2. Enable the feature in the code host configuration by adding `subRepoPermissions` to the `authorization` object:
```json
{
@@ -42014,7 +33423,7 @@ To enable file-level permissions:
}
```
-1. Save the configuration.
+3. Save the configuration.
Permissions will be synced in the background based on your [Perforce protects file](https://www.perforce.com/manuals/cmdref/Content/CmdRef/p4_protect.html).
@@ -42918,6 +34327,7 @@ To set up permissions by [syncing them from a code host](/admin/permissions/sync
- [Gerrit](/admin/auth/#gerrit)
- Bitbucket Server doesn't require an authentication provider, but has [other prerequisites](/admin/code_hosts/bitbucket_server#prerequisites)
- Perforce doesn't need a separate authentication provider
+ - [Azure DevOps](/admin/code_hosts/azuredevops)
2. Configure the code host connection to use authorization:
- [GitHub](/admin/code_hosts/github#repository-permissions)
- [GitLab](/admin/code_hosts/gitlab#repository-permissions)
@@ -42925,6 +34335,7 @@ To set up permissions by [syncing them from a code host](/admin/permissions/sync
- [Bitbucket Server](/admin/code_hosts/bitbucket_server#repository-permissions)
- [Gerrit](/admin/code_hosts/gerrit#add-gerrit-as-an-authentication-provider)
- [Perforce](/admin/repo/perforce#repository-permissions)
+ - [Azure DevOps](/admin/code_hosts/azuredevops#permissions-syncing)
It's also possible to use other methods to get permission data from a code host into the Sourcegraph instance.
@@ -42941,16 +34352,18 @@ To know more about each method that we support, please follow the link above.
## Supported code hosts
Support for repository permissions accross different code hosts is different. The following table captures current state of support (ordered alphabetically):
-| Code host | [Permission Syncing](/admin/permissions/syncing) | [Webhooks for Permissions](/admin/permissions/webhooks) | [Explicit API](/admin/permissions/api) | [Scale supported](#supported-scale) |
-| -------- | -------- | -------- | -------- | -------- |
-| Bitbucket Cloud (Beta) | ✓ | ✗ | ✓ | 10k users, 100k repositories |
-| Bitbucket Server | ✓ | ✗ | ✓ | 10k users, 100k repositories |
-| Gerrit (Beta) | ✓ | ✗ | ✓ | 10k users, 100k repositories |
-| GitHub | ✓ | ✓ | ✓ | 40k users, 200k repositories |
-| GitHub Enterprise | ✓ | ✓ | ✓ | 40k users, 200k repositories |
-| GitLab | ✓ | ✗ | ✓ | 40k users, 200k repositories |
-| GitLab Self-Managed | ✓ | ✗ | ✓ | 40k users, 200k repositories |
-| Perforce (Beta) | Yes (with file-level permissions) | ✓ | ✓ | 10k users, 250k repositories |
+
+| Code host | [Permission Syncing](/admin/permissions/syncing) | [Webhooks for Permissions](/admin/permissions/webhooks) | [Explicit API](/admin/permissions/api) | [Scale supported](#supported-scale) |
+| ---------------------- | ------------------------------------------------ | ------------------------------------------------------- | -------------------------------------- | ----------------------------------- |
+| Bitbucket Cloud (Beta) | ✓ | ✗ | ✓ | 10k users, 100k repositories |
+| Bitbucket Server | ✓ | ✗ | ✓ | 10k users, 100k repositories |
+| Gerrit (Beta) | ✓ | ✗ | ✓ | 10k users, 100k repositories |
+| GitHub | ✓ | ✓ | ✓ | 40k users, 200k repositories |
+| GitHub Enterprise | ✓ | ✓ | ✓ | 40k users, 200k repositories |
+| GitLab | ✓ | ✗ | ✓ | 40k users, 200k repositories |
+| GitLab Self-Managed | ✓ | ✗ | ✓ | 40k users, 200k repositories |
+| Perforce (Beta) | Yes (with file-level permissions) | ✓ | ✓ | 10k users, 250k repositories |
+| Azure Devops | ✓ | ✓ | ✓ | 10k users, 100k repositories |
All the other code hosts only support [Explicit permissions API](/admin/permissions/api).
@@ -42972,6 +34385,7 @@ in Sourcegraph.
- [Permission syncing SLA](/admin/permissions/syncing#sla)
- [Webhooks SLA](/admin/permissions/webhooks#sla)
- [Explicit Permissions API SLA](/admin/permissions/api#sla)
+
## License requirements
To have permission syncing available, the Sourcegraph instance needs to be configured with
@@ -43383,7 +34797,7 @@ If Sourcegraph feels sluggish overall, the likely culprit is resource allocation
If you are seeing cAdvisor metrics from a namespace outside of the one Sourcegraph is currently deployed into.
-1. Uncomment our namespaced Prometheus [cAdvisor configuration](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/deploy-sourcegraph%24+cAdvisor-specific+customization+&patternType=literal)
+1. Update your cAdvisor configuration to use namespaced monitoring. See the [cAdvisor monitoring example](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/main/examples/monitoring/cadvisor) and [cAdvisor README](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/base/monitoring/cadvisor/README.md) for namespace configuration
2. Apply this configuration and restart Prometheus
_Note:_ This is unneeded if you are using the 'namespaced' overlay
@@ -91062,113 +82476,233 @@ We also have an exhaustive [reference guide](/admin/observability/dashboards) fo
-# How to setup HTTPS connection with Ingress controller on your Kubernetes instance
+# How to setup HTTPS/TLS for your Kubernetes Sourcegraph instance
-This document will take you through how to setup HTTPS connection using the preinstalled [Ingress controller](/admin/deploy/kubernetes/configure#ingress-controller), which allows external users to access your main web server over the network. It installs rules for the default ingress, see comments to restrict it to a specific host. This is our recommended method to configure network access for production environments.
+This document explains how to configure HTTPS/TLS for your Sourcegraph instance deployed with [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s) using Kustomize.
## Prerequisites
-- This document assumes that your Sourcegraph instance is deployed into a Kubernetes cluster and that ingress has already been installed for [sourcegraph-frontend](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/base/frontend/sourcegraph-frontend.Ingress.yaml) (by default).
+- Sourcegraph deployed using [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s)
+- An ingress controller installed in your cluster
+- A domain name pointing to your ingress controller's external IP
-## Steps for GCE-GKE user
+## Option 1: TLS with existing certificates
-> WARNING: Please visit our [Kubernetes Configuration Docs](/admin/deploy/kubernetes/configure#ingress-controller) for more detail on Network-related topics
->
+If you already have TLS certificates, you can use the built-in TLS component.
-### 1. Install the NGINX ingress controller (ingress-nginx)
-Install the NGINX ingress controller by following the instructions at [https://kubernetes.github.io/ingress-nginx/deploy/](https://kubernetes.github.io/ingress-nginx/deploy/)
+### Step 1: Create a TLS secret
-For example, GCE-GKE user would simply run [this command](https://kubernetes.github.io/ingress-nginx/deploy/#gce-gke) `kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.47.0/deploy/static/provider/cloud/deploy.yaml` to install the NGINX ingress controller
+Create a Kubernetes secret containing your TLS certificate and private key:
-### 2. Update the create-new-cluster.sh file
-Add the [configure/ingress-nginx/install.sh](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/configure/ingress-nginx/install.sh) command to the [create-new-cluster.sh](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/create-new-cluster.sh) file at root, and commit the change.
-Your file should look similar to this:
-```sh
-echo ./configure/ingress-nginx/install.sh >> create-new-cluster.sh
-./kubectl-apply-all.sh $@
+```bash
+kubectl create secret tls sourcegraph-frontend-tls \
+ --cert=path/to/your/certificate.crt \
+ --key=path/to/your/private.key \
+ --namespace=YOUR_NAMESPACE
+```
+
+### Step 2: Configure your Kustomization
+
+In your `instances/YOUR_INSTANCE/kustomization.yaml` file, uncomment the TLS component:
+
+```yaml
+components:
+ # Enable TLS with existing certificates
+ - ../../components/network/tls
```
-### 3. Once the ingress has acquired an external address
-You should be able to access Sourcegraph using the external address returns from the following `kubectl -n ingress-nginx get svc`.
+### Step 3: Set environment variables
+
+Add the required configuration to your `instances/YOUR_INSTANCE/.env` file:
```bash
-$kubectl -n ingress-nginx get svc
-NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
-ingress-nginx-controller LoadBalancer 10.XX.8.XXX XX.XXX.XXX.XX 80:32695/TCP,443:31722/TCP 5d13h
-ingress-nginx-controller-admission ClusterIP 10.XX.8.X 443/TCP 5d13h
+TLS_HOST=sourcegraph.example.com
+TLS_INGRESS_CLASS_NAME=nginx
+TLS_CLUSTER_ISSUER=your-cluster-issuer # if using cert-manager
```
-## Configure TLS/SSL
+### Step 4: Apply the configuration
-After your Sourcegraph instance is exposed via an ingress controller, you should consider using TLS so that all traffic will be served over HTTPS.
+```bash
+# Generate updated manifests
+kubectl kustomize instances/YOUR_INSTANCE -o cluster.yaml
-### 1. Create TLS certificate and private key
+# Apply the changes
+kubectl apply --prune -l deploy=sourcegraph -f cluster.yaml
+```
-Place the newly created certificate and private key in a secured place. We will be using `.envrc/private.key` and `.envrc/public.pem` in this example.
+## Option 2: Cloud provider managed certificates
-### 2. Create a TLS secret for your Cluster
+### AWS with Application Load Balancer (ALB)
-Create a TLS secret that contains your TLS certificate and private key by running the following command:
+For AWS deployments, you can use AWS Certificate Manager (ACM) certificates:
+
+```yaml
+components:
+ # Use AWS managed certificates
+ - ../../components/clusters/aws/managed-cert
+ - ../../components/ingress/alb
+```
+
+Set the required environment variables:
```bash
-kubectl create secret tls sourcegraph-tls --key .envrc/private.key --cert .envrc/public.pem
+AWS_CERTIFICATE_ARN=arn:aws:acm:region:account:certificate/certificate-id
+HOST_DOMAIN=sourcegraph.example.com
```
-> NOTE: You can delete it by running `kubectl delete secret sourcegraph-tls`
+### Google Kubernetes Engine (GKE)
+
+For GKE deployments, you can use Google-managed SSL certificates:
-### 3. Update the create-new-cluster.sh file
+```yaml
+components:
+ # Use GKE managed certificates
+ - ../../components/clusters/gke/managed-cert
+ - ../../components/ingress/gke
+```
-Add the previous command to the [create-new-cluster.sh](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/create-new-cluster.sh) file at root, and commit the change. Your file should look similar to this:
+Set the required environment variables:
```bash
-echo ./configure/ingress-nginx/install.sh >> create-new-cluster.sh
-echo kubectl create secret tls sourcegraph-tls --key .envrc/private.key --cert .envrc/public.pem >> create-new-cluster.sh
-./kubectl-apply-all.sh $@
+HOST_DOMAIN=sourcegraph.example.com
```
-### 4. Update the ingress sourcegraph-frontend.Ingress.yaml file
+## Option 3: cert-manager integration
-Add the tls configuration to [base/frontend/sourcegraph-frontend.Ingress.yaml](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/base/frontend/sourcegraph-frontend.Ingress.yaml) file by commenting out the `tls` section, and replace `sourcegraph.example.com` with your domain.
+If you have [cert-manager](https://cert-manager.io/) installed in your cluster, you can automatically provision certificates:
-> NOTE: It must be a DNS name, not an IP address
+### Step 1: Install cert-manager (if not already installed)
+
+```bash
+kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.0/cert-manager.yaml
+```
+
+### Step 2: Create a ClusterIssuer
+
+Create a ClusterIssuer for Let's Encrypt:
```yaml
- # base/frontend/sourcegraph-frontend.Ingress.yaml
- tls:
- - hosts:
- # Replace 'sourcegraph.example.com' with the real domain that you want to use for your Sourcegraph instance.
- - sourcegraph.example.com
- secretName: sourcegraph-tls
- rules:
- - http:
- paths:
- - path: /
- backend:
- serviceName: sourcegraph-frontend
- servicePort: 30080
- # Replace 'sourcegraph.example.com' with the real domain that you want to use for your Sourcegraph instance.
- host: sourcegraph.example.com
+apiVersion: cert-manager.io/v1
+kind: ClusterIssuer
+metadata:
+ name: letsencrypt-prod
+spec:
+ acme:
+ server: https://acme-v02.api.letsencrypt.org/directory
+ email: your-email@example.com
+ privateKeySecretRef:
+ name: letsencrypt-prod
+ solvers:
+ - http01:
+ ingress:
+ class: nginx
+```
+
+### Step 3: Configure Sourcegraph with cert-manager
+In your `instances/YOUR_INSTANCE/kustomization.yaml`:
+
+```yaml
+components:
+ - ../../components/network/tls
+```
+
+Set the environment variables:
+
+```bash
+TLS_HOST=sourcegraph.example.com
+TLS_INGRESS_CLASS_NAME=nginx
+TLS_CLUSTER_ISSUER=letsencrypt-prod
```
-### 5. Update Site Configuration
+## Step 4: Update Site Configuration
+
+After configuring TLS, update your Sourcegraph site configuration to use HTTPS:
-Update your externalURL in the [site configuration](/admin/config/site_config) to e.g. https://sourcegraph.example.com:
+1. Navigate to **Site admin > Configuration**
+2. Update the `externalURL` setting:
```json
{
-"externalURL": "https://sourcegraph.example.com"
+ "externalURL": "https://sourcegraph.example.com"
}
```
-### 6. Update the ingress controller
+## Verification
+
+### Check ingress configuration
+
+```bash
+kubectl get ingress sourcegraph-frontend -o yaml
+```
+
+You should see TLS configuration in the output:
+
+```yaml
+spec:
+ tls:
+ - hosts:
+ - sourcegraph.example.com
+ secretName: sourcegraph-frontend-tls
+```
+
+### Test the HTTPS connection
+
+```bash
+curl -I https://sourcegraph.example.com
+```
+
+You should receive a response with `HTTP/2 200` or `HTTP/1.1 200` status.
+
+### Check certificate details
+
+```bash
+echo | openssl s_client -servername sourcegraph.example.com -connect sourcegraph.example.com:443 2>/dev/null | openssl x509 -noout -dates
+```
+
+## Troubleshooting
+
+### Certificate not loading
+
+1. Verify the TLS secret exists and contains valid certificate data:
+ ```bash
+ kubectl get secret sourcegraph-frontend-tls -o yaml
+ ```
+
+2. Check ingress controller logs:
+ ```bash
+ kubectl logs -n ingress-nginx deployment/ingress-nginx-controller
+ ```
-Update the ingress controller with the previous changes with the following command:
+### cert-manager certificate issues
+
+1. Check certificate status:
+ ```bash
+ kubectl get certificate
+ kubectl describe certificate sourcegraph-frontend-tls
+ ```
+
+2. Check cert-manager logs:
+ ```bash
+ kubectl logs -n cert-manager deployment/cert-manager
+ ```
+
+### DNS issues
+
+Ensure your domain name points to your ingress controller's external IP:
```bash
-kubectl apply -f base/frontend/sourcegraph-frontend.Ingress.yaml
+kubectl get service -n ingress-nginx ingress-nginx-controller
+nslookup sourcegraph.example.com
```
+## Additional Resources
+
+- [Kubernetes Ingress TLS documentation](https://kubernetes.io/docs/concepts/services-networking/ingress/#tls)
+- [cert-manager documentation](https://cert-manager.io/docs/)
+- [deploy-sourcegraph-k8s TLS component](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/main/components/network/tls)
+
@@ -91346,7 +82880,7 @@ Reference Materials
-1. Locate the original redis-cache configuration file: [https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/docker-images/redis-cache/redis.conf](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/docker-images/redis-cache/redis.conf) Use this as the “Default redis.conf file” content in the ConfigMap. Adding `requirepass` sets the password for Redis authentication.
+1. Locate the original redis-cache configuration file. Use this as the “Default `redis.conf` file” content in the ConfigMap. Adding `requirepass` sets the password for Redis authentication.
2. Create the redis-cache-conf ConfigMap:
```
@@ -91412,9 +82946,9 @@ spec:
```
-4. Locate the original redis-store configuration file. [https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/docker-images/redis-store/redis.conf](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/docker-images/redis-store/redis.conf) Use this as the “Default redis.conf file” content in the ConfigMap.
+1. Locate the original redis-store configuration file. Use this as the “Default `redis.conf` file” content in the ConfigMap.
-5. Create the redis-store-conf ConfigMap:
+2. Create the redis-store-conf ConfigMap:
```
apiVersion: v1
@@ -91742,14 +83276,12 @@ precise-code-intel-worker-9b69b5b59-z7xx4 0/1 CrashLoopBackOff 415
`kubectl get pods -o wide`
-3. If MinIO is not deployed, create a fork of the [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) repository and make sure you deploy MinIO (or blobstore in 3.4.2+).
-
-
+3. If blobstore is not deployed, make sure you include the blobstore components in your Sourcegraph deployment. For modern Sourcegraph versions (3.4.2+), blobstore replaces MinIO.
## Further resources
* [Sourcegraph - Kubernetes Configuration](/admin/deploy/kubernetes/configure)
-* [Deploy Sourcegraph - blobstore](https://github.com/sourcegraph/deploy-sourcegraph/tree/master/base/blobstore)
+* [Deploy Sourcegraph K8s - blobstore](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/main/base/sourcegraph/blobstore)
@@ -92169,7 +83701,7 @@ The following bullets provide a general guidline to which service may require mo
If you are regularly seeing the `Processing symbols is taking longer than expected. Try again in a while` warning in your sidebar, its likely that your symbols and/or gitserver services are underprovisioned and need more CPU/mem resources.
-The [symbols sidebar](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/client/web/src/repo/RepoRevisionSidebarSymbols.tsx?L42) is dependent on the symbols and gitserver services. Upon opening the symbols sidebar, a search query is made to the GraphQL API to retrieve the symbols associated with the current git commit. You can read more about the [symbol search behavior and performance](/code-search/types/symbol#symbol-search-behavior-and-performance).
+The symbols sidebar is dependent on the symbols and gitserver services. Upon opening the symbols sidebar, a search query is made to the GraphQL API to retrieve the symbols associated with the current git commit. You can read more about the [symbol search behavior and performance](/code-search/types/symbol#symbol-search-behavior-and-performance).
To address this concern, allocate more resources to the symbols service (to provide more processing power for indexing operations) and allocate more resources to the gitserver (to provide for the extra load associated with responding to fetch requests from symbols, and speed up sending the large repo).
@@ -92447,7 +83979,7 @@ _Note: for codeintel the schema version table is called `codeintel_schema_migrat
### 2. Run the sql queries to finish incomplete migrations
-Sourcegraph's migration files take for form of `sql` files following the snake case naming schema `_..sql` and can be found [here](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/tree/migrations) in subdirectories for the specific database. _Note frontend is the pgsql database_.
+Sourcegraph's migration files take for form of `sql` files following the snake case naming schema `_..sql` in subdirectories for the specific database. _Note frontend is the pgsql database_.
1. **Find the up migration starting with the migration's version number identified in [step 1](#1-identify-incomplete-migration):** making sure to go to \
@@ -93711,7 +85243,7 @@ Executor can be fined tuned with the following environment variables,
## Known caveats
-We [configure iptables](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/cmd/executor/internal/run/install.go?L229-255) to prevent Firecracker-isolated processes from talking on [Private IPv4 Addresses](https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses) (providing network-level isolation). They can talk to DNS and Sourcegraph only, which prevents users from talking to a 10.x.x.x, 172.x.x.x, or 192.168.x.x range IP.
+We configure iptables to prevent Firecracker-isolated processes from talking on [Private IPv4 Addresses](https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses) (providing network-level isolation). They can talk to DNS and Sourcegraph only, which prevents users from talking to a 10.x.x.x, 172.x.x.x, or 192.168.x.x range IP.
@@ -94584,7 +86116,48 @@ Executors interact with the Kubernetes API to manage the lifecycle of individual
| `batch` | `jobs` | `create`, `delete` | Executors create Job pods to run processes. Once Jobs are completed, they are cleaned up. |
| | `pods`, `pods/log` | `get`, `list`, `watch` | Executors need to look up and steam logs from the Job Pods. |
-See the [example Role YAML](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@main/-/blob/cmd/executor/kubernetes/batches/executor-batches.Role.yml) for more details on the exact RBAC requirements for native Kubernetes Executors.
+Here's an example Role YAML to demonstrate the RBAC requirements for native Kubernetes Executors:
+
+```yaml
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ name: sg-executor-batches-role
+ namespace: default
+rules:
+ - apiGroups:
+ - batch
+ resources:
+ - jobs
+ verbs:
+ - create
+ - delete
+ - apiGroups:
+ - ""
+ resources:
+ - pods
+ - pods/log
+ verbs:
+ - get
+ - list
+ - watch
+# Secrets are required post 5.5, when all pods run a single job
+ - apiGroups:
+ - ""
+ resources:
+ - secrets
+ verbs:
+ - create
+ - delete
+ # PVCs are required if KUBERNETES_JOB_VOLUME_TYPE is "pvc"
+# - apiGroups:
+# - ""
+# resources:
+# - persistentvolumeclaims
+# verbs:
+# - create
+# - delete
+```
## Deployment
@@ -94664,9 +86237,8 @@ The Executor Docker image is available on Docker Hub at [`sourcegraph/executor-k
### Example Configuration YAML
-See
-the [local development YAMLs](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@main/-/blob/cmd/executor/kubernetes)
-for an example of how to configure the Executor in Kubernetes.
+See the local development YAMLs for an example of how to configure the Executor in Kubernetes.
+
@@ -94917,7 +86489,7 @@ To install the Firecracker sandbox image, import the image using `docker`.
$ docker pull
```
-> Note: Check the [version](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@main/-/blob/cmd/executor/internal/config/consts.go?L15) against the version of executors being installed.
+> Note: Check the version against the version of executors being installed.
If you are using a custom image instead of the Sourcegraph image, you will need to set the environment variable
`EXECUTOR_FIRECRACKER_SANDBOX_IMAGE` to match the image name.
@@ -94930,7 +86502,7 @@ To install the Firecracker Kernel image, import the image (`sourcegraph/ignite-k
$ ignite kernel import --runtime docker
```
-> Note: Check the [version](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@main/-/blob/cmd/executor/internal/config/consts.go?L18) against the version of executors being installed.
+> Note: Check the version against the version of executors being installed.
If you are using a custom image instead of the Sourcegraph image, you will need to set the environment variable
`EXECUTOR_FIRECRACKER_KERNEL_IMAGE` to match the image name.
@@ -95103,7 +86675,7 @@ If you use the systemd service, simply run `systemctl start executor`, otherwise
## Upgrading executors
Upgrading executors is relatively uninvolved. Simply follow the instructions below.
-Also, check the [changelog](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@main/-/blob/CHANGELOG) for any Executors related breaking changes or new features that you might want to configure.
+Also, check the [changelog](https://sourcegraph.com/changelog) for any Executors related breaking changes or new features that you might want to configure.
### **Step 1:** First, grab the executor binary for the new target Sourcegraph version.
@@ -95441,7 +87013,7 @@ If you're deploying a new Enterprise instance, this page covers our most frequen
- [GitHub integration](/integration/github)
- [All code host integrations (not GitLab or GitHub)](/integration/#integrations)
- [Full guide to site config options](/admin/config/site_config#auth-sessionExpiry)
-- [Changelog](https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/CHANGELOG) to track releases and updates
+- [Changelog](https://sourcegraph.com/changelog) to track releases and updates
### Docker-compose
- [Basic installation guide](/admin/deploy/docker-compose/)
@@ -95457,6 +87029,25 @@ If you're deploying a new Enterprise instance, this page covers our most frequen
+
+# Running Sourcegraph Without Kubernetes Service Discovery
+
+Not settting these environment variables might prevent pods from starting when running without service discovery.
+
+If you are deploying Sourcegraph in an environment **without Kubernetes service discovery** (for example, using Docker Compose or single-container Docker), you must manually configure the frontend service to know about the other service replicas. This is typically required when you are not using RBAC, or when running outside Kubernetes entirely.
+
+## Required Environment Variables
+
+- INDEXED_SEARCH_INDEXER
+- INDEXED_SEARCH_SERVERS
+- SEARCHER_URL
+- SRC_GIT_SERVERS
+- SYMBOLS_URL
+
+For detailed instructions on how to set these environment variables in a Docker Compose deployment, see the [Docker Compose configuration guide](/admin/deploy/docker-compose/configuration#set-environment-variables).
+
+
+
# Scaling Overview for Services
@@ -97163,34 +88754,24 @@ All Sourcegraph AMIs are published from one of the following AWS accounts:
- Account ID: `870751268155`
-### Instance size chart
-
-Select an AMI according and instance type to the number of users and repositories you have using this table. If you fall between two sizes, choose the larger of the two.
-
-For example, if you have 8,000 users with 80,000 repositories, your instance size would be **L**. If you have 1,000 users with 80,000 repositories, you should still go with size **M**.
+### Instance sizing
-| | **XS** | **S** | **M** | **L** | **XL** |
-|----------------------|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
-| **Users** | greater than or equal to 500 | greater than or equal to 1,000 | greater than or equal to 5,000 | greater than or equal to 10,000 | greater than or equal to 20,000 |
-| **Repositories** | greater than or equal to 5,000 | greater than or equal to 10,000 | greater than or equal to 50,000 | greater than or equal to 100,000 | greater than or equal to 250,000 |
-| **Recommended Type** | m6a.2xlarge | m6a.4xlarge | m6a.8xlarge | m6a.12xlarge | m6a.24xlarge |
-| **Minimum Type** | m6a.2xlarge | m6a.2xlarge | m6a.4xlarge | m6a.8xlarge | m6a.12xlarge |
-| **AMIs List** | [size-XS AMIs](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;imageName=Sourcegraph-XS) | [size-S AMIs](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;imageName=Sourcegraph-S) | [size-M AMIs](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;imageName=Sourcegraph-M) | [size-L AMIs](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;imageName=Sourcegraph-L) | [size-XL AMIs](https://console.aws.amazon.com/ec2/v2/home#Images:visibility=public-images;imageName=Sourcegraph-XL) |
+Refer to our [AWS Instance Sizing](/how-to/aws-instance-sizing) guide to determine the appropriate EC2 instance type for your Sourcegraph deployment based on the number of users and repositories.
Click [here](https://github.com/sourcegraph/deploy#amazon-ec2-amis) to see the completed list of AMI IDs published in each region.
**The default AMI username is `ec2-user`.**
-While we recommend certain image types in our sizing chart, AMIs will dynamically use the resources available on the EC2 instance type they are deployed to, provided the minimum amount of resources needed is available. If you would like to resize your EC2 instance, follow the [upgrade steps](#upgrade) to switch to the correct AMI image that is optimized for your EC2 instance type.
-
---
## Deploy Sourcegraph
-1. In the [instance size chart](#instance-size-chart), click the link for the AMI that matches your deployment size.
+
+
+1. Search for Sourcegraph in the AWS Marketplace or AMI catalog (see screenshot in the introduction).
2. Choose **Launch instance from AMI**.
3. Name your instance.
-4. Select an **instance type** according to [the sizing chart](#instance-size-chart) or your needs.
+4. Select an **instance type** according to [our sizing guide](/how-to/aws-instance-sizing) or your specific requirements.
5. **Key pair (login)**: Select or create a new Key Pair for connecting to your instance securely (this may be required in the event you need support).
6. **Network settings**:
- Under "Auto-assign public IP" select "Enable".
@@ -97466,47 +89047,7 @@ Apply the new manifests from the ouput file `cluster.yaml` to your cluster:
---
-### Upgrade with Legacy Kubernetes
-
-The following procedure is for performing a **standard upgrade** with Sourcegraph instances in versions **prior to `v4.5.0`**, or which **have not** [**migrated**](/admin/deploy/kubernetes/kustomize/migrate) and still use [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph).
-
-**Step 1**: Merge the new version of Sourcegraph into your release branch.
-
- ```sh
- cd $DEPLOY_SOURCEGRAPH_FORK
- # get updates
- git fetch upstream
- # to merge the upstream release tag into your release branch.
- git checkout release
- # Choose which version you want to deploy from https://github.com/sourcegraph/deploy-sourcegraph/tags
- git merge $NEW_VERSION
- ```
-
----
-
-**Step 2**: Update your install script `kubectl-apply-all.sh`
-By default, the install script `kubectl-apply-all.sh` applies our base manifests using [`kubectl apply` command](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#apply) with a variety of arguments specific to the layout of the [deploy-sourcegraph reference repository](https://github.com/sourcegraph/deploy-sourcegraph).
-
-If you have specific commands that should be run whenever you apply your manifests, you should modify this script accordingly.
-
-For example, if you use [overlays to make changes to the manifests](https://github.com/sourcegraph/deploy-sourcegraph/tree/master/overlays), you should modify this script to apply the manifests from the `generated cluster` directory instead.
-
----
-
-**Step 3**: Apply the updates to your cluster.
-
- ```sh
- $ ./kubectl-apply-all.sh
- ```
-
-**Step 4**: Monitor the status of the deployment to determine its success.
-
- ```sh
- $ kubectl get pods -o wide --watch
- ```
-
----
## Multi-version upgrades
@@ -97519,7 +89060,7 @@ To perform a multi-version upgrade via migrators [upgrade](/admin/updates/migrat
- Check the `Site Admin > Updates` page to determine [upgrade readiness](/admin/updates/#upgrade-readiness).
2. **Pull and merge upstream changes**:
- - Follow the [standard legacy upgrade procedure](#upgrade-with-legacy-kubernetes) to pull and merge upstream changes from the version you are upgrading to to your `release` branch.
+ - Follow the [standard upgrade procedure](#upgrade-with-kubernetes-kustomize) to pull and merge upstream changes from the version you are upgrading to to your `release` branch.
3. **Update cluster.yaml and scale down non-database deployments and replicas**:
- In your cluster kustomization file (`instances/my-sourcegraph/kustomize.yaml`), uncomment the [multi-version-upgrade util](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/instances/template/kustomization.template.yaml#L155). This will scale down all non-database deployments and statefulSets replicas to 0.
@@ -97626,10 +89167,6 @@ If you are rolling back more than a single version, then you must also [rollback
### Rollback with Kustomize
-**For Sourcegraph version 4.5.0 and above, which have [migrated](/admin/deploy/kubernetes/kustomize/migrate) to [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s).**
-
-For instances deployed using the [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s) repository:
-
```sh
# Re-generate manifests
kubectl kustomize instances/$YOUR_INSTANCE -o cluster-rollback.yaml
@@ -97639,16 +89176,6 @@ For instances deployed using the [deploy-sourcegraph-k8s](https://github.com/sou
kubectl apply --prune -l deploy=sourcegraph -f cluster-rollback.yaml
```
-### Rollback without Kustomize
-
-**For Sourcegraph version prior to 4.5.0 using our legacy [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) manifests.**
-
-For instances deployed using the old [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) repository:
-
- ```sh
- $ ./kubectl-apply-all.sh
- ```
-
### Rollback with `migrator downgrade`
For rolling back a multiversion upgrade use the `migrator` [downgrade](/admin/updates/migrator/migrator-operations#downgrade) command. Learn mor in our [downgrade docs](/admin/updates/migrator/downgrading).
@@ -97752,7 +89279,7 @@ Run `kubectl get ingresses -A` to check if there is more than one ingress for `s
#### Error: error when creating "base/cadvisor/cadvisor.ClusterRoleBinding.yaml": subjects[0].namespace: Required value
-Add `namespace: default` to the [base/cadvisor/cadvisor.ClusterRoleBinding.yaml](https://github.com/sourcegraph/deploy-sourcegraph/blob/master/base/cadvisor/cadvisor.ClusterRoleBinding.yaml) file under `subjects`.
+This error occurs when using legacy deployment manifests. For modern deployments using deploy-sourcegraph-k8s, cadvisor is configured as a DaemonSet with a ServiceAccount and doesn't require a ClusterRoleBinding. If you encounter this error, ensure you're using the latest [deploy-sourcegraph-k8s](https://github.com/sourcegraph/deploy-sourcegraph-k8s) repository.
#### Multiple pods are stuck in Pending.
@@ -98228,9 +89755,9 @@ The following instructions apply only if you are restoring your databases into a
If you are restoring a previously running environment, see the instructions for [restoring a previously running deployment](#restoring-sourcegraph-databases-into-an-existing-environment)
-A. Copy the database dump files (eg. `sourcegraph_db.out`, `codeintel_db.out` and `codeinsights_db.out`) into the root of the `deploy-sourcegraph` directory
+A. Copy the database dump files (eg. `sourcegraph_db.out`, `codeintel_db.out` and `codeinsights_db.out`) into your deployment directory
-B. Start the database services by running the following command from the root of the [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) directory
+B. Start the database services by running the following command from your deployment directory:
```bash
$ kubectl rollout restart deployment pgsql
@@ -98238,7 +89765,7 @@ $ kubectl rollout restart deployment codeintel-db
$ kubectl rollout restart deployment codeinsights-db
```
-C. Copy the database files into the pods by running the following command from the root of the [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) directory
+C. Copy the database files into the pods by running the following commands:
```bash
$ kubectl cp sourcegraph_db.out $NAMESPACE/$pgsql_POD_NAME:/tmp/sourcegraph_db.out
@@ -98295,7 +89822,7 @@ $ kubectl delete pv $codeintel-db_PV_NAME --force
$ kubectl delete pv $codeinsights-db_PV_NAME --force
```
-C. Copy the database dump files (eg. `sourcegraph_db.out`, `codeintel_db.out` and `codeinsights_db.out`) into the root of the `deploy-sourcegraph` directory
+C. Copy the database dump files (eg. `sourcegraph_db.out`, `codeintel_db.out` and `codeinsights_db.out`) into your deployment directory
D. Start the database services only
@@ -98305,7 +89832,7 @@ $ kubectl rollout restart deployment codeintel-db
$ kubectl rollout restart deployment codeinsights-db
```
-E. Copy the database files into the pods by running the following command from the root of the [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) directory
+E. Copy the database files into the pods by running the following commands:
```bash
$ kubectl cp sourcegraph_db.out $NAMESPACE/$pgsql_POD_NAME:/tmp/sourcegraph_db.out
@@ -99918,6 +91445,8 @@ RBAC must be enabled in your cluster for the frontend to communicate with other
This will allow the frontend service to discover endpoints for each service replica and communicate with them through the Kubernetes API. Note that this component should only be added if RBAC is enabled in your cluster.
+If you are not using Kubernetes service discovery (for example, if you are running without RBAC or outside Kubernetes), you must manually configure service endpoints for the frontend. See [Running Sourcegraph Without Kubernetes Service Discovery](/admin/deploy/without_service_discovery) for instructions.
+
---
## Monitoring stack
@@ -103864,7 +95393,7 @@ If you must use a `.netrc` file to store these credentials instead, follow the p
## Add replicas
-When adding replicas for `gitserver`, `indexed-search`, `searcher`, or `symbols`, you must update the corresponding environment variable on each of the frontend services in your docker-compose.override.yaml file, `SRC_GIT_SERVERS`, `INDEXED_SEARCH_SERVERS`, `SEARCHER_URL`, and `SYMBOLS_URL` to the number of replicas for each respective service. Sourcegraph will then automatically infer the endpoints for each replica.
+When adding replicas for `gitserver`, `searcher`, `symbols`, `zoekt-indexserver`, or `zoekt-webserver`, you must update the corresponding environment variable on each of the frontend services in your docker-compose.override.yaml file to the number of replicas for the respective service. Sourcegraph will then automatically infer the containers' endpoints for each replica.
```yaml
# docker-compose.override.yaml
@@ -103872,22 +95401,24 @@ services:
sourcegraph-frontend-0:
environment:
- - 'SRC_GIT_SERVERS=2'
- - 'INDEXED_SEARCH_SERVERS=2'
+ - 'INDEXED_SEARCH_INDEXERS=1'
+ - 'INDEXED_SEARCH_SERVERS=1'
- 'SEARCHER_URL=1'
+ - 'SRC_GIT_SERVERS=1'
- 'SYMBOLS_URL=1'
sourcegraph-frontend-internal:
environment:
- - 'SRC_GIT_SERVERS=2'
- - 'INDEXED_SEARCH_SERVERS=2'
+ - 'INDEXED_SEARCH_INDEXERS=1'
+ - 'INDEXED_SEARCH_SERVERS=1'
- 'SEARCHER_URL=1'
+ - 'SRC_GIT_SERVERS=1'
- 'SYMBOLS_URL=1'
```
## Shard gitserver
-If you find that your gitserver container is performing poorly, you can shard it into multiple containers. This is especially helpful when your Docker Compose host can mount multiple storage volumes, and each gitserver shared can use its own storage IOPS limit.
+If you find that your gitserver container is performing poorly, you can shard it into multiple containers. This is especially helpful when your Docker Compose host can mount multiple storage volumes, and each gitserver shard can use its own storage IOPS limit.
To split gitserver across multiple shards:
@@ -105526,13 +97057,13 @@ executor|frontend|gitserver|migrator|repo-updater|worker:
```
-After setting up your proxy in the override file, you may notice some pods like the frontend, gitserver and repo-updater failing health checks. In such a case, you'll need to add an '*' to the NO_PROXY environment variable. This should look like:
-
+If the updated Sourcegraph pods fail to pass their readiness or health checks after configuring the HTTP proxy environment variables, you may also need to add your k8s cluster pod & service CIDR ranges to the `NO_PROXY` environment variable. Example:
-```
+```yaml
- name: NO_PROXY
- value: "blobstore,codeinsights-db,codeintel-db,sourcegraph-frontend-internal,sourcegraph-frontend,github-proxy,gitserver,grafana,indexed-search-indexer,indexed-search,jaeger-query,pgsql,precise-code-intel-worker,prometheus,redis-cache,redis-store,repo-updater,searcher,symbols,syntect-server,worker-executors,worker,cloud-sql-proxy,localhost,127.0.0.1,.svc,.svc.cluster.local,kubernetes.default.svc, *"
+ value: "blobstore,codeinsights-db,codeintel-db,sourcegraph-frontend-internal,sourcegraph-frontend,github-proxy,gitserver,grafana,indexed-search-indexer,indexed-search,jaeger-query,pgsql,precise-code-intel-worker,prometheus,redis-cache,redis-store,repo-updater,searcher,symbols,syntect-server,worker-executors,worker,cloud-sql-proxy,localhost,127.0.0.1,.svc,.svc.cluster.local,kubernetes.default.svc,10.10.0.0/16,10.20.0.0/16"
```
+
### Docker Compose
@@ -106492,6 +98023,45 @@ batchSpecLibrary(first: 100) {
}
```
+### Featured Templates
+
+Featured templates are supported in Sourcegraph v6.4 and more.
+
+Site-admins can mark a template as featured by either clicking the star button next to the list of library records. Featured records will automatically move to a section atop the remaining library records.
+
+### Labels
+
+Labels are supported in Sourcegraph v6.4 and more.
+
+Batch Spec Library records support an optional `labels` field for categorization and filtering. Common labels include:
+
+- `"featured"` - Marks popular or recommended batch specs that are displayed in a "Featured Templates" section above the remaining examples
+- Custom labels for organizational categorization (not exposed to Batch Changes users yet)
+
+To remove the featured status, you can update the library record with an empty list of labels (`[]`).
+
+```graphql
+createBatchSpecLibraryRecord(name: "example", spec: "version: 2\nname: example", labels: ["featured"]) {
+ id
+ labels
+}
+
+updateBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDo4", name: "example-2", spec: "version: 2\nname: example-2", labels: ["featured"]) {
+ id
+ labels
+}
+
+# Query only featured batch specs
+batchSpecLibrary(first: 100, labels: ["featured"]) {
+ nodes {
+ id
+ name
+ labels
+ spec
+ }
+}
+```
+
@@ -106615,39 +98185,35 @@ We support authentication through OAuth for Bitbucket Server / Bitbucket Data Ce
We support authentication through OAuth for [Azure DevOps Services (dev.azure.com)](https://dev.azure.com) and it is also a prerequisite for [permissions syncing](/admin/permissions/).
-#### Register a new OAuth application
+#### Register a new Entra OAuth application
-[Create a new Azure DevOps OAuth application](https://app.vsaex.visualstudio.com/app/register) and follow the instructions below:
+[Create a new Entra OAuth application](https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/CreateApplicationBlade/quickStartType~/null/isMSAApp~/false) and follow the instructions below:
-1. In the `Application website` field set the URL of your Sourcegraph instance, for example if the instance is https://sourcegraph.com, then use `https://sourcegraph.com` as the value of this field
-2. Similarly, set the `Authorization callback URL` field to `https://sourcegraph.com/.auth/azuredevops/callback` if your Sourcegraph instance URL is https://sourcegraph.com
-3. Add the following scopes:
- - `User profile (read)`
- - `Identity (read)`
- - `Code (read)`
- - `Project and team (read)`
+1. In the `Name` field pick a descriptive name for this connection
+2. For `Supported account types` select `Accounts in this organizational directory only`
+3. For `Redirect URI` pick `Web`(!) for the type and set the URL field to `https:///.auth/azuredevops/callback` if your Sourcegraph instance URL is https://myinstance.sourcegraph.com
+4. Click **Register**
+5. Now go to the [Microsoft Entra admin center](https://entra.microsoft.com/) as at least an **Application Developer**.
+6. Go to **App registrations** and select the one you just created.
+7. Go to **Manage > Certificates & secrets** and generate a new client secret. Keep the secret value.
+8. Go to **Manage > API Permissions** and click **+ Add a permission**. Select Azure DevOps, then `vso.code`, `vso.identity`, and `vso.project`. Confirm with **Add permissions**.
+9. Go back to **Overview** from the sidebar. Now find the **Endpoints** button at the top center of the page, and take note of the value for **Authority URL (Accounts in this organizational directory only)** (which will look something like _https://login.microsoftonline.com/00000002-0000-0000-c000-000000000000_)
+10. The final value we need to get is the **Application (client) ID** from the **Overview** page. Take note of this UUID as well.
#### Configuring Sourcegraph auth.providers
-Before you add the configuration please ensure that:
-
-1. The value of `App ID` from your OAuth application is set as the value of the `clientID` field in the config
-2. The value of `Client Secret` (and not the `App secret`) from your OAuth application is set as the value of the `clientSecret` field
-3. The value of `apiScope` string is a comma separated string and reflects the scopes from your OAuth application accurately
-4. The `type` field has no typos and is **exactly** the same as the example below
-
-Add the following to the `auth.providers` key in the site config:
+With all the values acquired above, you can now add the following to the `auth.providers` key in the site config:
```json
{
"auth.providers": [
// Other auth providers may also be here.
{
- "type": "azureDevOps",
+ "type": "azureDevOps", // Casing is important!
"displayName": "Azure DevOps",
- "clientID": "replace-with-app-id-of-your-oauth-application",
- "clientSecret": "replace-with-client-secret-of-your-oauth-application",
- "apiScope": "vso.code,vso.identity,vso.project"
+ "url": "",
+ "clientID": "",
+ "clientSecret": ""
}
]
}
@@ -106678,9 +98244,9 @@ The final and complete `auth.providers` configuration may look like this:
{
"type": "azureDevOps",
"displayName": "Azure DevOps",
+ "url": "https://login.microsoftonline.com/00000002-0000-0000-c000-000000000000",
"clientID": "your-client-id-here",
"clientSecret": "a-strong-client-secret-here",
- "apiScope": "vso.code,vso.identity,vso.project",
"allowOrgs": ["your-org-1", "your-org-2"],
"allowSignup": false
}
@@ -106795,8 +98361,6 @@ Where `extsvc.json` contains a JSON object that specifies _all_ of your code hos
}
```
-You can find a full list of [valid top-level keys here](https://sourcegraph.com/github.com/sourcegraph/sourcegraph-public-snapshot@b7ebb9024e3a95109fdedfb8057795b9a7c638bc/-/blob/cmd/frontend/graphqlbackend/schema.graphql#L1104-1110).
-
If you want to _allow_ edits to be made through the web UI (which will be overwritten with what is in the file on a subsequent restart), you may additionally set `EXTSVC_CONFIG_ALLOW_EDITS=true`. **Note** that if you do enable this, it is your responsibility to ensure the configuration on your instance and in the file remain in sync.
## Global settings
@@ -108363,7 +99927,7 @@ See [Internal rate limits](/admin/code_hosts/rate_limits#internal-rate-limits).
// When set to true, this external service will be chosen as our 'Global' GitLab service. Only valid on Sourcegraph.com. Only one service can have this flag set.
"cloudGlobal": false,
- // A list of projects to never mirror from this GitLab instance. Takes precedence over "projects" and "projectQuery" configuration. Supports excluding by name ({"name": "group/name"}) or by ID ({"id": 42}).
+ // A list of projects to never mirror from this GitLab instance. Takes precedence over \"projects\" and \"projectQuery\" configuration. You can exclude projects by: name ({"name": "group/name"}), ID ({"id": 42}), regular expression matching pattern ({"pattern": "^group/project-.*"}), or by excluding empty repositories ({"emptyRepos": true}).
"exclude": null,
// Other example values:
// - [
@@ -109352,8 +100916,8 @@ As an admin user, go to the "Application Links" page. You can use the sidebar na
> NOTE: There has been some [changes to the flow in Bitbucket v7.20](https://confluence.atlassian.com/bitbucketserver/bitbucket-data-center-and-server-7-20-release-notes-1101934428.html). Depending on your Bitbucket version, the setup is slightly different. Please follow the instructions for the correct version of Bitbucket below:
-- [Bitbucket v7.20 and above](#bitbucket-v7-20-and-above)
-- [Bitbucket v7.19 and below](#bitbucket-v7-19-and-below)
+- [Bitbucket v7.20 and above](#bitbucket-v720-and-above)
+- [Bitbucket v7.19 and below](#bitbucket-v719-and-below)
#### Bitbucket v7.20 and above
@@ -110421,6 +101985,10 @@ The following methods are supported for sign up and sign in:
The authentication providers are configured in the [`auth.providers`](/admin/config/site_config#authentication-providers) site configuration option.
+## Programmatic authentication
+
+For automated systems, CI/CD pipelines, and API integrations that need to authenticate without human interaction, use [service accounts](/admin/access_control/service_accounts). Service accounts are specialized user accounts designed for automation that authenticate using access tokens rather than passwords.
+
## Login form configuration
To configure the presentation of the login form, see the [login form configuration page](/admin/auth/login_form).
@@ -111690,6 +103258,60 @@ Ensure the following values are set for the application configuration in the ide
+
+# Service Accounts
+
+Service accounts are specialized user accounts designed for automation, API integrations, and programmatic access to Sourcegraph, as opposed to using access tokens from regular users. Unlike regular user accounts, service accounts don't require an email address or password, cannot access the Sourcegraph UI, don't count towards a license's user limit and won't be part of any billing cycles.
+
+## Creating Service Accounts
+
+Service accounts are created like regular user accounts, but with a few key differences.
+
+- Go to **Site admin** → **Users & auth** → **Users**
+- Click **Create User**
+- Enter a descriptive **Username** (e.g., `ci-bot-scip-uploads`, `api-search-jobs`)
+- Check the **Service account** checkbox
+- Click **Create service account**
+
+You'll be presented with some next steps you might want to take, like creating an access token, managing and assigning roles, and managing repository permissions.
+
+- Service accounts are automatically assigned the "Service Account" system role
+- They appear in the user list with "Service account" type designation
+- By default, service accounts can only access public and unrestricted repositories
+
+## Managing Access Tokens
+
+Service accounts authenticate using access tokens rather than passwords. For detailed information about creating, managing, and using access tokens, see:
+
+- [Creating an access token](/cli/how-tos/creating_an_access_token)
+- [Managing access tokens](/cli/how-tos/managing_access_tokens)
+- [Revoking an access token](/cli/how-tos/revoking_an_access_token)
+
+Use service account access tokens to access Sourcegraph's [GraphQL API](/api/graphql).
+
+## Role-Based Access Control (RBAC)
+
+Service accounts integrate with Sourcegraph's [role-based access control](/admin/access_control) to provide fine-grained permission control.
+
+### System Roles
+
+Service accounts are automatically assigned the **Service Account** system role, which provides basic API access permissions and standard search capabilities. The **Service Account** system role is applied to all service accounts and can be used to provide service accounts with a default set of permissions. For more specialized service accounts, it is recommended to create custom roles and assign them to service accounts as needed.
+
+### Managing Roles
+
+Administrators can assign additional roles to service accounts through the user management interface. For detailed information on managing roles and permissions, see:
+
+- [Managing roles and permissions](/admin/access_control#managing-roles-and-permissions)
+- [Managing user roles](/admin/access_control#managing-user-roles)
+- [Creating custom roles](/admin/access_control#creating-a-new-role-and-assigning-it-permissions)
+
+## Repository Permissions
+
+Service accounts respect repository permissions and access controls. For comprehensive information about repository permissions, see the [Repository permissions](/admin/permissions) documentation.
+
+Service accounts by default can only access public and unrestricted repositories in Sourcegraph. You may explicitly grant fine-grained access to private repositories from the service account's user settings page, under the **Repo permissions** tab, or via [the GraphQL API](/admin/permissions/api#explicit-permissions-api). In the **Repo permissions** tab, you can also grant service accounts access to all current and future repositories on Sourcegraph, regardless of their visibility, which is useful for service accounts that need to do things like perform search jobs, but admins should take care to ensure that the access tokens for these accounts are not shared with unauthorized users.
+
+
# Access control for Ownership
@@ -111746,6 +103368,7 @@ You can read about the specific permission types available for each RBAC-enabled
- [Batch Changes](/admin/access_control/batch_changes)
- [Ownership](/admin/access_control/ownership)
+- [Service accounts](/admin/access_control/service_accounts)
### Deleting a role
diff --git a/scripts/llms-txt-generator.js b/scripts/llms-txt-generator.js
index 73230e6ef..8a754f599 100644
--- a/scripts/llms-txt-generator.js
+++ b/scripts/llms-txt-generator.js
@@ -1,31 +1,36 @@
const path = require('path');
const fs = require('fs');
-const { sync: glob } = require('glob');
+const {sync: glob} = require('glob');
// Configuration - Update this base URL as needed
const baseUrl = 'https://sourcegraph.com/';
-// Find all .mdx files, ignoring node_modules
-const mdxFiles = glob('**/*.mdx', { ignore: ['node_modules/**'] });
+// Find all .mdx files, ignoring node_modules and the technical-changelog page
+const mdxFiles = glob('**/*.mdx', {
+ ignore: ['node_modules/**', '**/technical-changelog.mdx']
+});
let combinedContent = '';
mdxFiles.forEach(filePath => {
- const fileName = path.basename(filePath);
- const content = fs.readFileSync(filePath, 'utf8');
-
- // Remove .mdx extension and convert path to URL format
- const parsed = path.parse(filePath);
- const urlPath = path.join(parsed.dir, parsed.name)
- .replace(/\\/g, '/') // Convert Windows paths to Unix format
- .replace(/^\/?/, '/'); // Ensure consistent leading slash
-
- // Construct full URL and wrap content
- combinedContent += `\n${content}\n\n\n`;
+ const fileName = path.basename(filePath);
+ const content = fs.readFileSync(filePath, 'utf8');
+
+ // Remove .mdx extension and convert path to URL format
+ const parsed = path.parse(filePath);
+ const urlPath = path
+ .join(parsed.dir, parsed.name)
+ .replace(/\\/g, '/') // Convert Windows paths to Unix format
+ .replace(/^\/?/, '/'); // Ensure consistent leading slash
+
+ // Construct full URL and wrap content
+ combinedContent += `\n${content}\n\n\n`;
});
// Write the combined content to llm.txt
fs.writeFileSync('public/llms.txt', combinedContent, 'utf8');
console.log(`Combined ${mdxFiles.length} .mdx files into llms.txt`);
-console.log(`To access after deployment, go to https://sourcegraph.com/docs/llms.txt`);
+console.log(
+ `To access after deployment, go to https://sourcegraph.com/docs/llms.txt`
+);