Changelog Release 6.3.0
APRIL 30, 2025

Sourcegraph 6.3.0

A newer patch release is available: 6.3.4167. See all changes in Sourcegraph 6.3.

Highlights

New models available in Cody Gateway

Details

Improvements

  • Code Search Default search context for all Code Search users
  • Cody New models available in Cody Gateway
  • Code Search Diff comparison page UI enhancements
    • Users can now filter diffs on the diff comparison page
      Backport a2725da3281de64d2d2e41438222d0f38700e441 from #4398
  • Workspaces Show admin analytics menulink


    Backport 0b9ee7390bca046462737172c39d8ad2e13b99fb from #4652

  • Release Add a sg release steps command
    • new internal release command sg release steps to be used in pipeline gen
  • Code Search Expose ENVs for search jobs config

    We've added new configuration options to help customers better manage search jobs:

    • Control how frequently the system checks for new search jobs to process (SRC_SEARCH_JOB_WORKER_INTERVAL, default: 1s)
    • Set a maximum time limit for how long a search job can run (SRC_SEARCH_JOB_MAXIMUM_RUNTIME_PER_JOB, default: 5h)
    • Adjust how many search jobs can run simultaneously (SRC_SEARCH_JOB_NUM_HANDLERS, default: 5)
  • Agents Allow grader to rewrite or relocate diagnostics [AGENT-302]

    The grader service can now fix broken diagnostics that come out of a review, hopefully improving quality.

  • Syntactic indexing support for C++

    Adds support for syntactic indexing for C++

  • Unsigned commits warning

    It is possible for users to have rejectUnverifiedCommits site configuration enabled, and also apply changesets without having the necessary configurations for commit signing. This change provides a warning banner during the batch set preview stage in such a case.

    With commit signing fully configured Warning showing because no GitHub commit signing configured
    image image
  • Agents Add default rules
    • 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.
  • Source Adapt Gitaly's stats package and adapt test suite to run in our codebase

    N/A

  • Agents Grade diagnostics before posting [AGENT-196]

    Adds reflection to the review process to filter out bad diagnostics before posting.

  • Code Search Add support for chaining multiple filePaths in URL
    • Add support for chaining multiple filePaths together in URL

Fixes

  • [SRCH-1387] workspace refresh caching using incorrect key

    Fixes issue https://linear.app/sourcegraph/issue/SRCH-1387/chime-workspaces-not-updating

    The workspace preview components rely on the apollo client cache to coordinate the state. Queries are made in two places;

    • /client/web/src/enterprise/batches/batch-spec/edit/workspaces-preview/useWorkspacesPreview.ts
    • /client/web/src/enterprise/batches/batch-spec/edit/workspaces-preview/useWorkspaces.ts

    The desired effect is that both queries are cached under the same cache-key by apollo, and so when a query finds new results it triggers a component refresh with the new data.

    The problem is that there is a subtle difference in the variables passed to the query - one has after: null and on does not provide the after field. This means that they are treated as different queries and the cache entries for the queries are separate.

  • Update auto-updating script to use correct scip-typescript Docker tag

    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).

  • Source Fix error that happens when adding an existing GitHub App

    Fixed an error where Sourcegraph would display an error when an existing GitHub App was added in Site Admin, even though the adding succeeded.

  • GitHub Synchronize at least 100 GitHub issue/PR comments, not 30
    • When syncing conversations from GitHub, we now fetch 100 comments by default instead of the default 30 comments
  • Release Set development branch name by default

    NA

Other

  • Add KUBERNETES_IMAGE_PULL_POLICY environment variable for the Executor service to allow setting the image pull policy
    • 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.
  • Release Improve upgrade error message for out of policy upgrade attempts
    • Improve migrator error for invalid upgrade ranges
  • Perforce: Make changelist mapper recover automatically

    Fixed an issue where perforce changelist mapping could fall into an unrecoverable state after recloning.

  • Refactor cross domain login service to allow re-use in other services
    • 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

  • Agents Limit tool calls in grader

    Added ToolCallLimit to InternalCompletionParams for limiting the number of allowed LLM tool calls in a loop.

  • Fix batch change codehost links

    fix some broken links to documentation

    It looks like there's been some changes to the docs structure. It wasn't a simple fix of broken links, new one's needed to be chosen. This is how the new links were chosen.

    For links to old admin code-host specific configuration setup:

    For links for adding a code host config

    For links for generic info on batch change credentials

    https://sourcegraph.slack.com/archives/C05EA9KQUTA/p1744048899905029

  • Remove deprecated batchChangePreview component

    Refactor to remove old duplicated component