Releases Release 6.5
JULY 09, 2025

Sourcegraph 6.5

A newer version of Sourcegraph is available: Sourcegraph 6.12.

Highlights

OAuth 2.0 support for secure API access

Service accounts for secure API integrations

Expanded context windows for Cody Chat

Details

Improvements

  • Code Search Add a new Code Insight for tracking inventory statistics over time
    • Combines features of the Language usage and Detect and track patterns insights to track code inventory metrics over time:
      • lines of code
      • size of code
      • file counts
    • Can group those metrics by repository, by language, or not at all
    • Can collect the metrics for a list of repositories, or a repo search query
  • Code Search Add graphql endpoints for inventory stats insight
    • New GraphQL endpoints
      • query:
        • inventoryStatsPreview
      • mutation:
        • createInventoryStatsInsight
        • updateInventoryStatsInsight
  • Code Search Expose Inventory settings in site config
    • The Inventory environment variables have been moved into site config settings (in the "inventory" section):
      • USE_ENHANCED_LANGUAGE_DETECTION: "disableEnhancedLanguageDetection" (defaults to false)
      • GET_INVENTORY_GIT_SERVER_CONCURRENCY: "gitServerConcurrency" (defaults to 4)
      • GET_INVENTORY_REDIS_CONCURRENCY: "redisConcurrency" (defaults to 20)
      • GET_INVENTORY_MAX_INV_IN_MEMORY: "maxInventoryInMemory" (defaults to 1000)
      • GET_INVENTORY_TIMEOUT: "timeoutInMinutes" (defaults to 5)
  • Batch Changes Changesets without merge requests in Batch Changes
  • Batch Changes Add experimental icon + code host limits to pushed-only changesets UI
    • Add experimental icon + GitLab/GitHub only specification for pushed-only changesets in batch changes UI

    Backport 04be437 from #6180

  • Batch Changes Enable bulk ops for pushed-only-changesets (github only)
    • Add 'push only' bulk operation for Github
  • Analytics Improve updateCheck to check for canonical version
    • feat(telemetry): add canonical PG version check for detecting external db usage
  • Authentication Service Accounts for secure API integrations
  • Cody Expanded context windows for Cody Chat
  • Rel Add granular telemetry for external databases

    [telemetry] add granular database telemetry.

  • Release ConnectRPC endpoints for VerifyExecutorsRelease
    • releaseplatform: add rpc endpoint for VerifyExecutorsWorkflow
  • Release Fix handler initialization and add testing
    • Correct handler init for gcp and aws clients in releaseplatform, add testing
  • Release Add support for aws and gcp client initialization options
    • releaseplatform: added secret injection to aws and gcp clients
  • Release Add aws verification to temporal executors check workflow
    • add aws verification to VerifyExecutorsRelease temporal workflow
  • Rerun Changesets Warn when rerunning a changeset triggers more changesets to be rerun
    • GIN index to efficiently search workspace by changesetSpec
    • resolver endpoint to get workspace from changesetSpec
    • UI warning in preview step
  • Uncategorized Add a tooltip on the retry button

    Adds a tooltip to the retry button on the batch changes preview page.

    image

Fixes

  • Batch Changes GitLab webhooks for merge requests not associated with batch changes now return HTTP 204 instead of HTTP 500 errors

    fix(batches): GitLab webhooks for merge requests not associated with batch changes now return HTTP 204 instead of HTTP 500 errors
    Backport b5e926187d14784ea9a51fefca626379a25bda3e from #6052

  • Batch Changes Don't sync changesets from soft-deleted namespaces

    fix(batches): fixed an issue where Batch Changes would attempt to sync changesets from deleted namespaces resulting in delays and timeouts for active changesets

  • Batch Changes Fix label unmarshalling for gitlab events

    fix(batches): fixed an issue where GitLab merge request events would fail to handle labels

  • Code Insights Skip empty repos for inventory insights

    fix(insights): skip empty repos for inventory insights
    Backport beee9d2241a4d3e854ac06ef8b5d8d000bd84a69 from #6250

  • Cody Gateway Update Claude 4 sonnet model tiers

    green ci

  • Migrator Remove links to sourcegraph/sourcegraph repo in drift summary
    • fix(migrator): remove private repo links in migrator drift output


    Backport 4ae3c3a6b6d60bb99421293df830a9e63a53ae01 from #6463

  • Pre Commit Don't flag service account configuration as a credential
    • make google cred pre commit hook more precise
  • Source Retry watching executor pods

    Fixed an issue where Sourcegraph would mark executor jobs as failed when briefly losing connection to a pod, even though the pod was still running.

Self-hosted resources