Changelog Release 6.1.0
FEBRUARY 17, 2025

Sourcegraph 6.1.0

A newer patch release is available: 6.1.5633. See all changes in Sourcegraph 6.1.

Highlights

o3-mini high available to Enterprise customers

Prompt template UI changes

Updates to model availability for Cody

Details

Improvements

  • Cody o3-mini high available to Enterprise customers
  • Agents Allow code review agent to auto-run based on feature flags
    • 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.
  • Agents Report progress with GitHub Commit Status API
    • The Code Review Agent now reports live status with the GitHub Commit Status API making it possible to open Agent logs directly from GitHub.
  • Agents Code reviews deduplicate diagnostics from historical review [CODY-4743]

    Code reviews deduplicate diagnostics from historical reviews

  • Agents Review Diagnostic Feedback [CODY-4951]

    Adds a feedback UI for diagnostics within the Agents app.

  • Cody Gateway Add cache related token usage data to telemetry(CODY-4808)

    OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c

  • Release `sg upgradetest`
    • 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
  • Agents Make review triggers configurable
    • You can now request review from the Review Agent by posting a pull request comment with a configurable substring
  • Prompt templates editor supports @ current mentions

    feat: prompt templates editor supports dynamic @ mentions

  • Agents Add Run API, view live progress on agent runs
    • Add GET /.api/agents/runs to list runs of an agent, and other related endpoints including the ability to view logs
  • Cody Gateway Roll out new Gemini Models

    Move Gemini 2.0 Flash from Experimental to GA, add Gemini 2.0 Flash-Lite Preview Experimental and Gemini 2.0 Pro Experimental

  • Rel Add init subsection to release.yaml
    • feat: add init cmd subsection to release.yaml parser
    • feat: add init section to release.yaml
  • Agents Make Review agent handle large diffs
    • The Review agent can now review larger diffs.
  • Agents Adds Conversation HTTP handlers and generated DB columns [CODY-4751]

    Adds HTTP handlers for /.api/conversations for creating and filtering conversations as well as a DB method for querying conversations.

Fixes

  • Agents Redirect to settings page after creating agents
    • Creating a new agent now redirects to the settings page for further setup
  • Source Fix inability to update Gerrit code host config URL

    Fix bug where the URL of a Gerrit code host connection could not be updated.

  • Source RepoSource.BitbucketServer.CloneURLToRepoName(): support more URL shapes

    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 [email protected]:sourcegraph/sourcegraph.git)
  • Source Web: ensure list of external accounts has unique entry for each key

    A bug on the user's account security page that could result in duplicated / buggy entries has been fixed.

  • Agents Use globs instead of regexp for include/exclude filters
    • 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.
  • Authentication Add missing allowSignup option to HTTP header auth provider

    fix/auth: "http-header" auth provider can "allowSignup": false to disable automatic account creation

  • Rel Fix migrator update check

    fix(rel): fix migrator upgrade check

  • Server checks reindex at 5.10 now
    • single docker server checks for 5.10-reindex.completed instead of 5.1-reindex.completed
  • Update cody web to 0.31.1 to fix issue with pasting linebreaks

    fix: prompt templates should not fail when pasting linebreaks

Other