Changelog What's new

What's new

June 22, 2026

Details

Improvements

  • Batch Changes Replace batch spec workspace index order

    Improved query performance for batch spec workspace listing and execution job creation by optimizing database index order.

  • Executors Default "EXECUTOR_USE_INTERNAL_EXEC_BINARY" to true

    Executors v1 now use batch-exec by default when executing v1 batch changes steps. To fall back to using src, set EXECUTOR_USE_INTERNAL_EXEC_BINARY to false on the executors.

  • Observability Add live/dead tuple metrics

    Added Database live/dead tuple monitoring for code-intelligence tables, showing active rows, old/deleted rows, and old/deleted row percentage. The dashboard now filters out stale values from workers that are no longer reporting.

Fixes

  • Deep Search Scrolling up mid-thinking force you back to the bottom

    Fixed an issue where scrolling up during Deep Search response generation would force the view back to the bottom.

  • Deep Search Fix Deep Search / Cody Web global styles clashing
  • Code Search Bump zoekt for category bug fix in merge-shards
  • Batch Changes Show commit signing badge regardless of site credential

    The admin Batch Changes host status card now shows the "Commit signing" badge whenever commit signing is configured for a code host, rather than only when a site credential is connected. This correctly surfaces host-level commit-signing GitHub App configuration, which exists independently of a site credential.

  • Batch Changes Clarify commit signing 403 errors with actionable message
  • Inference Respect content block index in Anthropic streams

    Fixed handling of content block ordering in Anthropic streaming responses to properly respect the index field

  • Permissions Update initial sync notifications
    • Fixed an issue where the initial repository permissions sync notification could get stuck on "No repository permissions found" after a later sync started. The notification now updates correctly when users connect an account or start another sync.
    • Updated the notification copy to mention private and internal repositories.
  • UI Paste prompt editor input as plain text

    Fixed prompt editor paste behavior so formatted clipboard content is inserted as plain text.

  • UI Fix code block styling in agentic UI timeline and tool calls

June 15, 2026

Highlights

Longer Deep Search conversations with automatic compaction

Improved token efficiency and focus in Deep Search

Details

Improvements

  • Deep Search Enable compaction by default

    Deep Search now keeps long running conversations moving with automatic context compaction.

  • Deep Search Enable Finder in Deep Search by default

    Deep Search now uses a fast subagent to find relevant files, reducing its context usage.

  • Deep Search Add better sub-agent timeout logging

    Added detailed logging for Deep Search sub-agent timeouts, including context errors, duration, token counts, and tool call information to aid in debugging timeout issues.

  • Deep Search Export topic keywords in search.categorized telemetry event

    Export topic keywords in search.categorized telemetry event for Deep Search queries

  • Deep Search Mark MCP-created conversations

    Deep Search conversations triggered from MCP now display a "Triggered from MCP" badge.

  • Deep Search Support follow-up questions in MCP tool

    Deep Search tool now supports follow-up questions, enabling agents to ask additional questions within an existing Deep Search conversation.

  • Batch Changes Add code hosts page for user settings

    The user-specific Batch Changes settings have been updated to make managing Batch Changes credentials and secrets easier.

  • Batch Changes Configurable changeset-sync concurrency

    Now configurable via CHANGESET_SYNC_WORKER_NUM_HANDLERS

  • Batch Changes Rework admin UI for code host credentials

    Reworked admin UI for configuring code host credentials in Batch Changes, with improved PAT creation links that pre-select necessary scopes.

  • Executors Add events endpoint

    Added a per-queue events endpoint for executors to publish events to

  • GraphQL Expose zoekt last index status and failure message

    The "textSearchIndex" field on the debug API now includes two new fields: "lastIndexStatus" and "lastIndexFailureMessage". "lastIndexStatus" represents the last status Zoekt reported to Sourcegraph. "lastIndexFailureMessage" contains the error message and is nullable. The error message is truncated to 12KiB and set to null on the next successful index.

  • Observability Update go.opentelemetry.io/collector to v1.60.0/v0.154.0

    Upgrade open telemetry collector v1.57.0/v0.151.0 -> v1.60.0/v0.154.0

  • RBAC Alphabetically sort permissions and roles

    RBAC permissions and roles are now sorted alphabetically.

  • Github App Show kind and commit signing installation guidance

    GitHub App admin detail page now displays the app kind. For commit-signing batch changes apps, a warning banner appears when there are no installations, and guidance clarifies that commits will not be signed for organizations or repositories where the app is not installed.

  • Github App Show the creator on the GitHub App admin page

    The GitHub App admin detail page now displays who created the app, making it easier for site admins to audit and manage code host connections.

Fixes

  • Deep Search Make turn errors copy-able

    Error badges in Deep Search tool results are now clickable to copy the full error message.

  • Deep Search Show finder agent responses below internal tool calls

    Fixed Deep Search subagent cards so agent responses appear below their tool calls

  • Deep Search Hide partial steps for errored messages
  • Code Search Restrict zoekt options override to users with OBSERVABILITY#READ

    Restricted usage of zoekt-search-opts override to users with OBSERVABILITY#READ permission

  • Batch Changes Add links to the settings that were moved
  • Batch Changes Show commit signing badge on admin code host cards
    • Site admin Batch Changes code hosts page: host cards now show a "Commit signing" badge next to "Configured" when commit signing is set up for the site credential — either via a commit-signing GitHub App or an SSH signing key generated with the credential.
    • The manage view's "Commit signing" metric previously showed "Off" when the credential had an SSH signing key; it now reports "Configured" using the same shared helper.
    • The SiteAdminBatchChanges_CodeHost fragment now selects credential.commitSigningPublicKey, and the Playwright spec mocks/snapshots were updated to pin the new fields.
  • Batch Changes Enforce authorization on workspace file endpoints

    Batch Changes workspace file HTTP endpoints (/files/batch-changes/...) now require the BATCH_CHANGES RBAC permission: READ for retrieving/checking files and WRITE for uploads. File retrieval and existence checks are additionally restricted to the batch spec's creator or a site admin, and the file lookup is bound to the batch spec in the URL so a caller cannot pair a spec they own with another user's file ID. Internal actors (the executor route, authorized via job tokens) are exempt from these checks and behave as before.

  • Batch Changes Skip corrupted cache entries
  • Authentication Avoid revoking fresh tokens after refresh races

    Fixed an issue where concurrent OAuth token refresh requests could incorrectly revoke valid access tokens due to race conditions in refresh token rotation.

  • Executors Update nodejs in bundled-executor

    Updated Node.js to v24 LTS in bundled executor

  • Security Cap recordEvents batch size to prevent DoS

    Limited the telemetry recordEvents GraphQL mutation to 1,000 events per request to prevent application-level DoS via oversized input arrays.

  • Security Improve consent-screen warnings regarding untrusted redirect uris and mcp scope

    Added consent-screen warnings for unrecognized OAuth redirect destinations and clarified the MCP scope grants read access to private code, helping users spot phishing during authorization.

  • Security Shell-escape attacker-controlled filenames in batch change templates

    Batch change templates now shell-escape filenames in repository.search_result_paths, steps.*_files, previous_step.*_files, and step.*_files to prevent shell injection attacks from maliciously named files in target repositories.

  • UI Fix threads messages layout in agentic UI

    Fixed layout issues in agentic UI threads messages display

  • Scim Support case-only email PATCH requests

    Fixed handling of SCIM PATCH requests that update a user's email with only a casing change (example: [email protected][email protected]).

Removed

  • Code Intel Remove feature flag for using legacy codeintel API

June 10, 2026

Details

Fixes

  • Deep Search Replace list-all query for Get (#12989)

June 08, 2026

Details

Improvements

  • Deep Search Require double Esc to cancel searches

    Deep Search cancellation now requires double-tapping Esc, preventing accidental cancellations.

  • Code Search Upgrade Zoekt

    Zoekt can now report index failures to Sourcegraph.

  • Inference Add Opus 4.8

    Added support for Claude Opus 4.8 to Cody.

Fixes

  • Deep Search Fix resize panels collapse/expand by media query

    Fixed resize panel behavior in Deep Search where the source panel would grow uncontrollably and cover other UI elements when using CSS media queries for collapse/expand.

  • Administration Skip job resolution for repositories that have been deleted

    Fixed an issue where the /admin/permission-syncs page could fail to load if a repository was hard deleted from the database.

  • API Return CodeInvalidArgument for invalid user identifier format

    External API user identifier validation now returns CodeInvalidArgument instead of treating invalid formats as internal errors.

  • Cody Add a route gate to the Prompt Library

    The Prompt Library UX will no longer be available when Cody is disabled.

  • Compare Fix error assignment in diff loader
  • Executors Fix Kubernetes support for docker-in-docker setup

    Fixed executors running in Kubernetes using Docker-in-Docker (dind).

Other

  • Executors Add beta warnings for Kubernetes native executor deployment options

    Added beta warnings for Kubernetes native executor deployment options.