Changelog April 6th updates
April 06, 2026

April 6th updates

Highlights

Batch Changes for GitHub supports OAuth

Details

Improvements

  • Deep Search Clarify fork CTA and improve button accessibility
  • Deep Search Replace failed token limit summarization with fork CTA
    • Deep Search displays a proactive warning at 75% context capacity
    • When context limit is reached and summarization fails, Deep Search now shows a call-to-action to fork the conversation
  • Deep Search Use TypeWriter effect for Deep Search conversation streaming

    Use TypeWriter effect for smoother Deep Search conversation streaming

  • Code Search Update zoekt to include faster indexing/searching

    Indexed search is now faster during both searching and indexing.

  • Code Intel Enable inline code intel by default

    Code intelligence hovers are now faster thanks to a simplified architecture that initiates requests earlier during file load and falls back to search-based results more quickly when precise data is unavailable.

  • Batch Changes Add GitHub OAuth as credential authentication strategy

    GitHub OAuth tokens can now be used as Batch Changes credentials, providing an alternative to personal access tokens and GitHub Apps.

  • Batch Changes Add agentic workflows client prototype

    Added agentic workflows client prototype with three main pages: home page listing predefined workflows and running instances, template page with canvas UI for workflow configuration, and running instance page with logs and outputs panels for monitoring workflow progress.

  • CLI Update required src-cli version to 7.0.2

    Updated the required src CLI version to 7.0.2, with OAuth support and more.

  • GitHub Add notifications for GitHub App reconciliation failures

    Admins now receive notifications to clean up GitHub Apps on Sourcegraph if they have been deleted on GitHub.

  • MCP More stringent validation of tool arguments

    MCP tools now validate arguments earlier and provide clearer error messages that mention the specific argument incorrectly used.

  • MCP Improve read_file, nls_search, and list_repos tool behavior
    • MCP read_file: Large files (>128KB) now return the first 200 lines (further capped by bytes to avoid huge responses from files with very long lines) as accurately line-numbered content. The truncation notice is returned in ToolExecutionResponse.Note instead of being appended to the file content, preserving the guarantee that each numbered line corresponds to an actual file line. Binary files are detected and return a clear message with MIME type instead of a misleading line count.
    • MCP nls_search: Tool description rewritten to accurately describe OR-logic keyword matching with stemming. No longer claims to be "semantic search". Includes explicit examples of correct vs incorrect query formatting.
    • MCP list_repos: Now accepts an empty query to list all available repositories. A default pagination limit is always applied at the database layer to prevent unbounded table scans.
    • MCP tool descriptions: Removed redundant preamble from all non-dotcom tool descriptions.
  • MCP Support unlimited results when count parameter is specified

    Support unlimited results when the query specifies a count: parameter, removing hardcoded limits.

  • RBAC Add repo management admin permission

    Administrators can now grant non-site-admin users the ability to manage repositories and code host connections through the new REPO_MANAGEMENT permission. Users with this permission can access the Repositories section of the admin interface without requiring full site administrator privileges.

  • Repositories Support graceful scale up and scale down

    Gitserver can now be scaled up or down without downtime using secondary fallbacks and a graceful drain mechanism via the SRC_GITSERVER_DRAIN_SHARDS environment variable.

  • External Services Suspend automated syncs when credentials expire

    External services with expired credentials are now automatically suspended and will not retry syncing until credentials are updated. The UI displays the suspended state and prompts admins to take action.

  • Markdown Support GitHub theme-specific images

    Support GitHub's theme-specific image syntax in markdown rendering, allowing images to adapt based on light/dark theme context.

Fixes

  • Deep Search Auto focus prompt editor on load

    The prompt editor now automatically receives focus when the /deepsearch page loads.

  • Deep Search Populate explore panel when using "find references" from citations

    Fixed explore panel not populating when using "find references" from citation hover cards by including the end position of the symbol range.

  • Deep Search Preserve history in follow-ups

    Cancelled Deep Search questions now remain visible in conversation history when asking follow-up questions.

  • Code Search Fix insertions failing with postgres errors for search context revisions for large sets
  • Code Search Disable zoekt "git cat-file" optimization

    Disabled a recent optimization in search indexers which sometimes led to git processes with large memory usage while indexing a repository.

  • Code Search Demote query assist promo after onboarding

    Query assist promo now remains visible in search suggestions after onboarding, positioned above the "Narrow your search" section instead of being removed entirely.

  • Code Nav Load search-based results in Explore panel Search tab

    When switching from Precise to Search in the Explore panel, fetch search-based results from the API instead of showing an empty tab. Previously, the Search tab reused the same precise query and showed no results.

  • Batch Changes Fix push-only in changeset_specs constraint

    Fixed database constraint for pushed-only changesets to align with application code

  • Administration Don't crash GitHub App code host connection page without installationID

    Fixed an issue where GitHub App code host connection pages without an installationID would crash.

  • Authentication Allow Bearer tokens through Auth middleware in dotcom mode

    Enabled OAuth tokens to make API requests on sourcegraph.com

  • Executors Uniqueify k8s job names with run-id and add labels
    • Kubernetes executor jobs now include a run ID in their name to ensure uniqueness for each execution
    • Labels (job-id, queue, run-id, commit) and repository annotation added to jobs for easier querying and debugging
  • Inference Deprecate statusFilter and add enableSourcegraphInternalModels

    Deprecated statusFilters in modelConfiguration to simplify model availability. Sourcegraph now automatically determines which models should be available, eliminating cases where important models may be accidentally excluded through configuration. Individual and provider-specific models may still be excluded through modelFilters.

  • Observability Show notifications in global alerts

    Fixed certain notifications not appearing in the sidebar admin alerts

  • UI Use CodeHostIcon on code host connections page

    Fixed GitHub icon display in dark mode on the code host connections configuration page

Removed

  • Inference Remove Mixtral 8x22B Instruct

    Removed Mixtral 8x22B Instruct model from available model configurations

  • RBAC Remove beta badge from RBAC page