Changelog What's new

What's new

August 10, 2026

Details

Improvements

  • Deep Search Scope @-mention suggestions to the active search context

    @-mention suggestions in Deep Search conversations are now scoped to the active search context. Repositories outside the selected search context might still be part of the suggestions if they have been recently selected.

  • Deep Search Enforce context filters on the search client methods

    Exclude repositories matching specified patterns from Deep Search results using context filters.

  • Deep Search Toggle to use default search context from scope picker

    Added a toggle in the Deep Search scope picker to control the deepSearch.useDefaultSearchContext setting, allowing users to configure whether to use the default search context without manually editing settings JSON.

  • Agentic Batch Changes First-run blank slate with prompt box and how-it-works pipeline

    The home page now greets first-time users with a prompt box and a "How it works" overview instead of an empty list.

  • Agentic Batch Changes Audit-log spec, commands, and image for each run

    Batch spec executions now emit structured audit events containing the raw spec, commands, coding-agent inputs, and normalized container image metadata.

  • Agents Switch Code Finder to GPT 5.6 Luna

    Code Finder now uses GPT 5.6 Luna as its underlying model.

  • Authentication Add max session length option to IdP clients

    Sourcegraph OAuth clients can now have a maximum session duration, after which the user will have to reauthenticate completely to get a new access and refresh token pair.

  • Cody Add GPT-5.6 support

    Added support for GPT 5.6 model family to Cody.

  • Diffs Indicate and mark moved files in diff viewer

    Moved files are now indicated with a special icon and badge in the diff viewer and are auto-collapsed by default.

  • Permissions Allow any user to be given unrestricted access to repositories

    Normal user accounts (as opposed to service accounts) can now also be given unrestricted access to repositories via the GraphQL API.

  • Enterprise Portal Add cloud_instance_gcp_project_id column

    Added cloud_instance_gcp_project_id column to Enterprise Portal subscriptions table to track GCP project IDs for Sourcegraph Cloud instances.

  • Enterprise Portal Show environment badge in non-production

    Enterprise Portal displays an environment badge ("Dev" or "Local") in the header when running in non-production environments to help distinguish them from production.

  • Enterprise Portal Require explicit user cap enforcement

    License issuers must now explicitly select user cap enforcement (hard-capped or soft-capped) when creating limited-user licenses.

Fixes

  • Deep Search Restore compact homepage prompt spacing

    Fixed excessive spacing between the Deep Search prompt editor and suggested searches.

  • Code Search Keep search context repositories inside their table

    Fixed repository and revision rows in search context detail pages rendering outside their table in Safari.

  • Batch Changes Recover FAILED changesets merged directly on the code host

    Fixed an issue related to batch changes where a merged PR would show up as failed.

  • Agentic Batch Changes Deprioritize and back off changesets skipped for missing credentials

    Changeset sync jobs for changesets missing credentials are now deprioritized and backed off to prevent them from starving healthy sync work.

  • Agents Keep conversations pinned while responses stream

    Agent conversations now remain pinned to the bottom while responses stream, even when Markdown rendering or tool steps cause layout changes.

  • Agents Polish guidance configuration
    • Repository selection in agent guidance settings now suggests repositories and validates selections before saving.
    • Agent guidance settings pages are now labeled as Beta.
    • Added link to personal guidance settings from Deep Search.
    • Fixed Path field alignment in the guidance configuration form.
    • Normalized section header icon sizing and centering.
  • Agents Keep timeline markers hoverable

    Fixed timeline markers being unresponsive to hover when adjacent to open previews

  • Agents Keep timeline rail from blocking controls

    Fixed timeline rail overlay blocking header controls in agent conversations

  • Authentication Make access token curl examples Windows-compatible

    Access token curl examples now use double-quoted arguments with escaped quotes on Windows while preserving single-quote syntax on other platforms.

  • Cody Disable compression for web completion streams

    Fixed Cody Web chat failures when browsers advertise zstd compression support.

  • Database Provision runtime users in the active schema

    Fixed runtime database user provisioning to grant access to the active schema instead of only public, ensuring non-superuser deployments work correctly with custom PostgreSQL schemas.

  • Diffs Fix list view jitter on quick navigation

    Fixed jitter when quickly navigating between files in the diff list view.

  • Executors Add Install for batch-exec for single binary install method
    • Executor installations now include the batch-exec helper binary from published artifacts, ensuring version compatibility
    • Executor validation reports missing batch-exec binary and provides installation instructions
  • MCP Update integration setup instructions
  • Security Ingest github/gitlab tokens via header instead of query parameter

    Support sending GitHub and GitLab auth tokens via HTTP headers instead of query parameters

  • Enterprise Portal Allow archiving subscriptions without a reason
  • Worker Wait for redis to be active in worker

    The worker service waits up to 5 seconds for the Redis instance to become available before continuing without it. This minimizes occurrences where worker jobs are processed without enforcing the correct rate limits.

Other

  • Security Update @grpc/grpc-js to 1.14.4 to fix remote DoS crashes

    Upgraded @grpc/grpc-js to 1.14.4 to fix two high-severity remote denial-of-service vulnerabilities (CVE-2026-48068 and CVE-2026-48069) that could crash the docs server.

  • Webinar Convert appsec-at-codebase-scale to on-demand
  • Uncategorized Add grant-scope picker to the tool-approval UI

    Added grant-scope picker to tool-approval UI, allowing users to grant agent access to a secret once (default), for the duration of the session, or permanently.


August 03, 2026

Highlights

Repository Overview

More exhaustive Deep Search, now with downloadable reports

Customize Deep Search with your guidance and skills

Details

Improvements

  • Deep Search Enforce context filters on the gitserver methods (part2)
  • Deep Search Enable evaluator file tools by default

    Deep Search can cross-reference and aggregate large result sets for codebase-wide inventories, audits, migration planning, and other structured investigations

  • Deep Search Expose agent settings in navigation

    Deep Search agent configuration pages are now accessible from user settings and site administration navigation.

  • Deep Search Migrate agent guidance setting

    Migrated Deep Search guidance setting from experimental features to stable configuration path.

  • Deep Search Reconcile recent search contexts against live data

    Recent Deep Search contexts are now reconciled against live data when the picker opens, preventing stale or deleted contexts from appearing in the recents list.

  • Agentic Batch Changes Add cancel_workspaces tool

    The coordinator agent in Agentic Batch Changes can now cancel workspace execution.

  • Agentic Batch Changes Add read_file tool to agent

    The Agentic Batch Changes coordinator agent can now read files in repositories directly, cutting down on planning time.

  • Agentic Batch Changes Embed bundled coding-agent CLIs for v1 and v2 executors

    Bundled coding-agent CLIs (Codex and Claude Code) with checksum-pinned versions at build time, eliminating runtime downloads from public installers. Supported across v1 and v2 executor runtimes with executor version gating.

  • Agentic Batch Changes Migrate agent guidance setting

    Migrated Agentic Batch Change guidance setting from experimental features to stable configuration path.

  • Agentic Batch Changes Live-tick duration for in-flight workspaces

    The Duration column in the batch-change-agents workspace list now updates live for in-flight workspaces (queued/processing/canceling), showing elapsed time that ticks up in real time.

  • Agentic Batch Changes Upgrade coordinator agent to Opus 5

    Agentic Batch Changes' coordinator agent now uses Claude Opus 5.

  • Agents Link guidance sources to repository paths

    Agent guidance sources are now clickable links that open their configured repository paths.

  • Agents Add conversation timeline navigation

    Added a compact timeline for previewing and navigating messages and notable agent interactions in long agent conversations.

  • Compare Add labeled chip for file viewed toggle

    Added a labeled "Viewed" chip for marking files as viewed in the compare/diff view, replacing the previous unlabeled circle control.

  • MCP Upgrade go-sdk to v1.7.0

    MCP server now supports protocol version 2026-07-28 while maintaining backward compatibility with older clients.

  • Observability Support Microsoft Teams notifications

    Microsoft Teams is now supported as a notification channel for observability alerts.

  • Repositories Support fractional Git rate limits
  • Entitlements Archive entitlement usage windows and export them as telemetry
  • Settings Report migration attempt activity
  • Uikit Improve Data Table visual alignment and column highlighting
  • Uikit Add scroll-aware edge shadow to DataTable sticky column

    Data tables now show an edge shadow on the sticky row-number/checkbox column while horizontally scrolled.

Fixes

  • Deep Search Add spacing between error and prompt editor

    Fixed spacing between Deep Search prompt editor and error/quota banners

  • Deep Search Fix search context picker UI layout shift

    Fixed layout shift in the search context picker

  • Code Nav Filter references by location in Explore panel

    Fixed filtering references by location in the code navigation Explore panel.

  • Code Nav Dedupe paths across uploads in StreamRanges document pass

    Fixed a panic in precise code navigation that could occur when a repository had multiple SCIP uploads indexing the same file path.

  • Code Intel Improve codenav performance for large files

    Fixed two issues with precise code navigation causing browser performance issues on large files.

  • Code Intel Prevent executor heartbeat deadlocks

    Fixed a deadlock between executor heartbeats and the unknown-commit janitor that could cause code intelligence indexing jobs to stall.

  • Code Intel Scroll definition into view on cmd+click go-to-definition

    Fixed go-to-definition (cmd/ctrl+click) in the file view not scrolling to the definition when it was off-screen.

  • Batch Changes Fix phantom next page in batch spec library pagination

    Fixed phantom next page appearing in batch spec library pagination when the number of records is an exact multiple of the page size.

  • Batch Changes Fix swallowed marshalling error and dead Gerrit case in the changeset store

    Fixed a swallowed marshalling error in batch changes that could lead to downstream inconsistencies

  • Batch Changes Propagate changeset spec load errors in reconciler
  • Batch Changes Return remote repo error when undrafting a changeset

    Fixed an issue where the Batch Changes reconciler would silently mark a changeset as undrafted even when the operation failed to reach the code host due to remote repository resolution errors. The reconciler now properly surfaces these errors and schedules retries, preventing changesets from being incorrectly left in draft state.

  • Agentic Batch Changes Fix page layout heading alignment and migrate to config heading
  • Agentic Batch Changes Don't report a retrying reconciler as a terminal failure

    Changesets whose reconciler hit a transient error (e.g. a code-host timeout) are no longer reported to the agent as a terminal failure while they are still being retried automatically.

  • Agentic Batch Changes Get rid of forced line breaks in PR descriptions

    Changesets created by Agentic Batch Changes no longer include forced line breaks in their descriptions.

  • Executors Increase default job runtime to 60 minutes

    Executor jobs, including Kubernetes-backed jobs, now have a default maximum runtime of 60 minutes.

  • Repositories Clarify clone concurrency restart requirement

    Clarified that changing the gitMaxConcurrentClones site configuration setting requires restarting the worker service or pod to take effect.

  • Security Update vulnerable JS dependencies
  • Security Update vulnerable JS dependencies
  • Security Update vulnerable JS dependencies
  • UI Fix UI glitches and visual inconsistencies
    • Fixed Safari animation glitches in command palette
    • Fixed button sizing in file blob panel
    • Fixed visual state of file/directory icons
  • UI Fix page layout title alignment

    Fixed page layout title alignment issue

Other

  • Uncategorized Upgrade js-cookie to 3.0.8 (CVE-2026-46625)

    Upgrade js-cookie to 3.0.8 to resolve CVE-2026-46625.


July 27, 2026

Highlights

Search Jobs in the Sourcegraph API

Details

Improvements

  • Deep Search Add agent files access audit logs
  • Batch Changes Add Batch Changes Grafana dashboard

    Added a Grafana dashboard for monitoring Batch Changes server-side background workers, queue stores, and stalled-job resetters.

  • Batch Changes Add indicator for recommended credential method

    Added indicator highlighting suggested Batch Changes code host credential method

  • Agentic Batch Changes Inject inbox event when changeset CI passes

    Agentic batch change agents now wake automatically when a changeset's CI passes, even when no onCIFailure hook fired. The resume is labelled "Resumed automatically: changeset CI passed" in the thread timeline.

  • Agentic Batch Changes Read generated Deep Search files

    Read files generated from Deep Search in Agentic Batch Changes

  • Agentic Batch Changes Add common tools to coding agent base image

    The managed coding-agent base image now includes Python 3, ripgrep, and jq by default, avoiding the need to install these tools at execution time.

  • Agentic Batch Changes Add placeholder for inaccessible Agentic Batch Changes

    Agentic Batch Changes links that you can't access now show a placeholder indicating how to request access

  • Agentic Batch Changes Move workspace count from table footer to column header

    Moved workspace count from table footer to column header in the batch change agent detail page, reclaiming vertical space.

  • Agentic Batch Changes Plan/resolve table and layout UI polish

    Polished the batch change agent detail page UI: improved table layout consistency, redesigned workspace column display, updated status badges, added missing empty states, and unified toolbar patterns across plan and resolve views.

  • Agentic Batch Changes Cross-link and describe executor secrets pages

    Batch Changes secrets pages now cross-link between per-user and global secrets. When Agentic Batch Changes is enabled, both pages explain how secret descriptions guide Agentic Batch Changes.

  • API Document proto client generation in api reference

    Added a "Generating a ConnectRPC client" section to the API reference intro docs, showing how to download the proto schema (.binpb) — all services by default, or a comma-separated subset via ?service= — and generate typed stubs with buf. This renders as an always-visible section in the API reference page (built on the proto download added in #14309), so customers can self-serve ConnectRPC/protobuf client generation. The OpenAPI golden snapshot is regenerated to match.

  • API Add proto schema download to API reference

    Added proto schema download to the API reference page. The Download button now offers both OpenAPI schema (.yaml) and proto schema (.binpb) options, enabling ConnectRPC/protobuf consumers to generate typed clients directly from the external API definition (e.g. via buf generate sourcegraph-api.binpb).

  • API Support managing entitlements via the API
    • Added support for managing entitlements via the Sourcegraph API
    • Added ability to filter users by account type
  • Authentication Recommend M2M OAuth credentials for service accounts

    Service account access token creation page now displays an informational alert recommending M2M OAuth credentials as an alternative that eliminates manual token rotation.

  • Inference Add Claude Opus 5

    Added support for Claude Opus 5

  • Own Don't show ownership tabs for repos that don't have a CODEOWNERS file

    Hide Ownership tabs for repositories without a CODEOWNERS file.

Fixes

  • Deep Search Exclude usage limit rejections from question processing error metrics
  • Code Search Attribute MCP searches to MCP

    MCP search tools are now correctly attributed to MCP rather than Deep Search in backend telemetry.

  • Code Search Update zoekt for ctags timeout fix

    Files that time out during symbol computation no longer cause indexing to fail for the entire repository. This resolves a rare issue where large generated files could cause timeouts.

  • Code Intel Exclude canceled GraphQL requests from RED metrics

    Fixed an issue where code navigation request cancellations would incorrectly be counted as errors in SLO statistics.

  • Code Intel Commit of UploadID is no longer lost

    Fixed pagination of code intelligence data

  • Code Intel Tune janitor sub-jobs based on Stripe learnings

    Janitor sub-jobs for cleaning up deleted commits (e.g. on force-pushes) have been tuned to reduce unnecessary DB pressure.

  • Batch Changes Improve personal credential fallback UI
  • Batch Changes Explain when SSH push keys are required

    Clarified when SSH push key needs to be configured for Batch Changes

  • Batch Changes Surface credential OAuth errors in user settings

    Surface OAuth errors when connecting code hosts for Batch Changes

  • Batch Changes Avoid transient pending check state before required-check sync

    Batch Changes now correctly shows UNKNOWN CI status instead of transient pending/passed states when required check classification is supported but the initial sync has not yet completed.

  • Batch Changes Preserve review state after merge

    Fixed review state for merged and closed changesets that could incorrectly show as pending approval

  • Agentic Batch Changes Fix bca id page data polling

    Fixed an issue where workspaces would disappear from the UI when switching between batch specs until the page was refreshed.

  • Agentic Batch Changes Complete ask_user on cancel
  • Agentic Batch Changes Disable default collapsed persisted state for /new page

    Fixed thread panel on the /new page to always start expanded instead of using the previous session's collapsed state.

  • Agentic Batch Changes Limit batch change agent message runtime

    Batch Change Agent messages now stop after 24 hours if they do not finish, surfacing a recoverable failure instead of remaining active indefinitely.

  • Agentic Batch Changes Allow multiple freeform ask_user options

    Agentic Batch Changes can now present multiple-choice questions, each allowing free-form input.

  • Agentic Batch Changes Suspend hidden thread watchers

    Fixed an issue where hidden BCA tabs retained idle thread SSE watchers, unnecessarily consuming browser connection budget. Thread watchers now suspend while the page is hidden and reconnect when visible.

  • Agentic Batch Changes Fail closed on coding agent entitlement check errors
  • Agents Remove double bottom border on file attachment CSV preview
  • Code Insights Keep near-coincident chart points from crashing insights

    Fixed Code Insights charts failing to load when data points render at nearly identical positions, preserving access to insight edit and delete controls.

  • Compare Reject markChangedFilesAsViewed files with no blob OID

    The markChangedFilesAsViewed mutation now rejects requests that contain files with both srcOID and dstOID set to nil.

  • Diffs Fix preview comparison empty diff handling
  • Executors Add Install for batch-exec for single binary install method
    • Executor installations now include the batch-exec helper binary from published artifacts, ensuring version compatibility.
    • Executor validation reports missing batch-exec binary and provides installation instructions.
  • Smart hover summaries Eliminate duplicate hover request; improve timeouts

    Fixed smart hover summary bugs that could result in additional codeintel resource consumption.

  • Cody Gateway Forward Anthropic beta headers
  • Searcher Decouple hybrid path limit

    Hybrid search now has a separately configurable changed-path length limit via SEARCHER_HYBRID_MAX_TOTAL_PATHS_LENGTH, with a default of 300 KB.

Removed

  • Batch Changes Remove Amp batch spec templates

Other

  • Chore Add outcome metric to changeset sync handler

July 20, 2026

Highlights

Code Finder: fast, efficient search for coding agents now in Beta

The new compare page is now generally available

Details

Improvements

  • Deep Search Add source file reader to evaluator

    Added source.read_file module to the evaluator, enabling file search, reading exact repo/path/revision matches, and source context inspection within a single evaluator execution.

  • Code Intel Add alert for over-runtime SCIP upload processing

    Added an alert for SCIP uploads that exceed the configured processing time limit.

  • Batch Changes Use required GitHub checks for CI status

    Batch Changes now uses required GitHub checks when computing changeset CI status, preventing optional check failures from incorrectly marking changesets as failed.

  • Agentic Batch Changes Adjust changeset inspector UI
    • Fixed flickering in diff UI when switching between tabs and commits
    • Improved changeset inspector layout for better space utilization
    • Changed diff UI commit navigation to show combined diff by default, with individual commit diffs available when selecting specific commits
  • Agentic Batch Changes Add renderer for buildImage step type
  • Agentic Batch Changes Audit log resolver mutations for Agentic Batch Changes

    Site admins can now audit Agentic Batch Changes activity: tool approval decisions, agent deletion, and read token rotation are recorded in the audit log.

  • Agentic Batch Changes Immediately update batch spec upon apply, and fix consistency in showing stale workspaces

    Batch change workspaces now display their last-known results (diff, steps, changeset specs, and timing) after re-preparing a spec but before re-executing, with a stale banner indicating the workspace needs to be re-run.

  • Agents More thorough Finder prompt + desc tweak

    Improved Finder prompt to provide more complete answers with better file references.

  • Compare Make new compare page generally available

    The new compare page is now generally available.

  • Compare Make compare page Perforce-ready

    Improved Perforce compatibility for the compare page.

  • Compare Add commit/history panel to diff viewer

    Added a commit/history panel to the compare page diff viewer, allowing users to view changes for individual commits within the selected range.

  • Executors Make batch-exec the default binary for executor jobs
  • MCP General MCP tool blocklist

    Introduced a dedicated site config setting for blocking specific MCP tools. The setting is "mcp.tools.disabled": ["tool_name"] - you supply an array of tool names that should be disabled across all MCP endpoints.

  • MCP Enable Code Finder MCP by default, gate with AI terms

    Enabled Code Finder MCP tool by default for customers who have signed AI terms.

  • MCP Add site config mcp.deepSearchTool.enabled

    Added the mcp.deepSearchTool.enabled site configuration option for controlling the Deep Search tool on general-purpose MCP endpoints. The environment variable SRC_MCP_DISABLE_DEEPSEARCH_TOOL is deprecated and will be removed in a future release.

  • Security Show whether user is service account in audit logs

    Audit logs now show whether the user is a service account or not.

  • UI Use new diff viewer on commit page
    • The commit page now uses the new diff viewer component with improved mobile support
    • Commit messages are now rendered as markdown
    • On mobile devices, the diff viewer uses a drawer-style sidebar and unified view with merged line numbers

Fixes

  • Deep Search Use ':' delimiter for @-file mentions to disambiguate repo/path

    Fixed ambiguous file mentions by using ':' delimiter between repository name and file path instead of '/', preventing the model from misinterpreting multi-segment repository names as a single repository.

  • Code Search Fix off by one space regression
  • Batch Changes Annotate redacted secrets in logs

    Redacted secret values in executor logs are now annotated as {{ REDACTED secrets.NAME }} instead of ${{ secrets.NAME }} to make clear the value was removed.

  • Batch Changes Fail validation if step files contain invalid characters

    Fail validation with a clear error when a hook step's files target path contains invalid characters.

  • Agentic Batch Changes Distinguish no-outcome from not-ready workspaces on publish

    The publish_workspaces tool now distinguishes between workspaces that completed with no changes and workspaces that are not ready for publishing. Workspaces that finished execution (COMPLETED/SKIPPED) but produced an empty diff are reported separately as workspace_ids_no_outcome. The tool now errors immediately when a selected workspace has not successfully finished (still queued/processing, or failed/canceled), preventing silent failures and allowing the agent to wait or retry appropriately.

  • Agentic Batch Changes Avoid redundant streams while agents run

    Avoided redundant SSE streams while BCA agents run, reducing browser connection usage

  • Agentic Batch Changes Fix duplicate final message in Claude Code rendering
  • Agentic Batch Changes Improve transcript metadata layout

    Transcript step timestamps now adapt to available space: wider layouts show timestamps beside timeline dots on hover, while narrower layouts display them in tooltips.

  • Agentic Batch Changes Close paused agent streams

    Fixed an issue where paused agent streams could exhaust browser connection limits and stall unrelated requests.

  • Agentic Batch Changes Validate buildImage.baseImage against container registry allow/denylist

    Validate buildImage.baseImage against container registry allow/denylist to prevent unauthorized base images in Agentic Batch Changes.

  • Agents Back off message stream retries

    Message stream retries now use exponential backoff (2/4/8/16/32 seconds) instead of retrying every 2ms, reducing unnecessary reconnect bursts.

  • Code Insights Keep errored insights dashboards usable

    Fixed Code Insights dashboards failing to load when an errored insight contains chart data that cannot be rendered, allowing the affected insight to be edited or deleted.

  • Permissions Log GitLab API messages during permissions sync

    GitLab API error messages are now logged during permissions sync to aid troubleshooting.

  • Security Update vulnerable JS dependencies
  • Security Add upper limit to number of log events that can be sent per batch

    Added upper limit to number of log events that can be sent per batch

  • Security Update vulnerable JS dependencies
  • UI Fix permalink shortcuts after repo navigation

    Fixed permalink shortcuts navigating to previously viewed repositories after navigating between files in different repositories.

  • UI Restore list item highlight visibility on popover surfaces i…
  • Metering Release entitlement even if context is cancelled

    Fixed an edge case where entitlement release could fail if the context was cancelled during the operation.

  • Notifications Fix notification badge spacing for double-digit counts

    Fixed notification badge spacing for double-digit counts in the sidebar.

  • User Settings Fix password creation

    Fixed an issue where users who signed in through an external provider could not create a password.