Releases Sourcegraph self-hosted 7.4.0
June 11, 2026

Sourcegraph self-hosted 7.4.0

Highlights

Keep track of Deep Search conversations shared with you

Details

Improvements

  • Deep Search Require double Esc to cancel searches

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

  • Deep Search Enable shared with me tab

    Deep Search now makes shared conversations easier to find with a dedicated “Shared with me” tab.

  • Deep Search Show ownership avatar on all conversations

    Ownership avatars are now shown on all Deep Search conversations.

  • Deep Search Allow typing while current question is processing

    Allow typing in the prompt editor while Deep Search is processing a query.

  • Code Search Upgrade Zoekt

    Zoekt can now report index failures to Sourcegraph.

  • Code Search Improve search result header layout wrapping behavior

    Search result headers now wrap more intelligently, allowing result details to flow below action buttons when space is constrained, improving readability and space utilization.

  • Code Search Support setting default search contexts for orgs in the management UI

    Site admins can now set and clear default search contexts for organizations. Regular users can see their effective default search context and override it for themselves.

  • Batch Changes Actively poll for GitHub App credential after install, with proactive refresh

    After installing a GitHub App, Batch Changes actively polls for credentials for up to 30 seconds and automatically refreshes them if needed, ensuring immediate access without manual intervention.

  • Batch Changes Drive GitHub App install and credential creation from redirect callback

    Batch Changes GitHub App installation now works on instances without external webhook reachability.

  • Administration Record and display outbound request response size

    Capture response body sizes of chunked responses in the outbound request log

  • Administration Migrate RBAC management to sveltekit

    Improved notification visibility for RBAC management actions by displaying messages using toast notifications instead of at the top of the page.

  • API Explicit permissions API

    Sourcegraph API now supports manipulating explicit repository permissions, allowing users to be given access to repositories via the API, as opposed to regular permissions syncing from code hosts.

  • Authentication Prevent tokens being marked as expired due to infra failures
  • Executors Executors runtime mode pings

    Added telemetry to clarify the executors mode running in a Sourcegraph instance.

  • GitHub Support user GitHub App orphan recovery

    Added a reconnect option for user-level GitHub App credentials in Batch Changes settings, allowing users to recover orphaned credentials

  • GitHub Reconcile batch changes credentials when refreshing app installations, with site-admin recovery banner

    The site-admin Batch Changes settings page now displays a banner for each Batch Change GitHub App whose installations exist but whose credential does not. A one-click 'Reconnect' button fires the refreshGitHubApp mutation to repair orphaned installations. The banner is suppressed during the post-install polling window to avoid racing with credentials that are about to land.

  • Inference Add Opus 4.8

    Added support for Claude Opus 4.8 to Cody.

  • MCP Make find references limit configurable

    Added a limit parameter to the find_references MCP tool to adjust the number of results returned.

  • RBAC Extend REPO_MANAGEMENT permission to remaining repository admin endpoints

    Repository administration GraphQL endpoints now use the REPO_MANAGEMENT RBAC permission instead of requiring full site-admin access.

  • Repositories Add per-repo git CLI CPU pprof endpoint

    Add per-repo git CLI CPU pprof endpoint to track repository activity

  • Security Harden application against Cross-Site attacks

    Prevent framing of authentication pages by default to protect against clickjacking attacks. Administrators can opt in to allow framing by setting auth.allowEmbeddedAuth: "true" in site configuration.

  • Smart hover summaries Add copy button to smart hover summary

    Smart hover summaries can now be copied in Markdown format.

  • Code Hosts Reset failure counters on credential update

    Repositories no longer remain stuck in a backoff period (up to 8 hours) after updating code host credentials. The failure counter is now reset when an admin updates the code host configuration with valid credentials.

  • Webhooks Add outbound webhook for created users

    Added a new user:create outgoing webhook event that triggers when users are created, enabling customers to automate workflows such as assigning explicit permissions.

Fixes

  • Deep Search Replace list-all query for Get

    Optimized Deep Search conversation retrieval to use direct by-id queries instead of full list operations, reducing database load and improving response times.

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

  • Deep Search Fix layout and alignment issues in citations panel

    Fixed layout and alignment issues in the citations panel, including file preview headers and source cards. Repository information now wraps responsively when space is limited.

  • Deep Search Fix check for HTML presence in AnswerCard

    Fixed conversation rendering when viewing a DS conversation referencing repositories you don't have access to.

  • Deep Search Fix Deep Search sidebar on small screens

    Fixed Deep Search sidebar not opening on small screens by adding a modal UI for the conversations list.

  • Deep Search Polish markdown table styling in answer cards

    Polished markdown table styling in answer cards with horizontal scrolling for wide tables, rounded borders, and header backgrounds.

  • Deep Search Fix agentic prompt UI chips behavior

    Fixed chips not being cleared from the prompt after message submission and Enter key not submitting messages when only a chip is present.

  • Deep Search Harden cancellation persistence

    Prevented cancelled Deep Search queries from reappearing after page refresh.

  • Deep Search Fix stale hover highlight in conversation history

    Fixed stale hover highlight in the Deep Search conversation history panel

  • Deep Search Gate read-token credentials on sharing enablement

    When sharing is disabled, the markdown export endpoint and the deepsearch_read tool no longer resolve shared conversations via share tokens. This brings them in line with the web UI, which already honored the setting.

  • Deep Search Prompt tweaks to tone down commit search and improve finder usage

    Improved Deep Search prompt to reduce excessive commit searches and provide better context to the finder tool.

  • Deep Search Add retry for cancelled searches

    Added a retry button for cancelled Deep Search prompts that preserves all content blocks and filters superseded retry attempts from view.

  • Code Search Prevent blame toggle label from wrapping

    Fixed blame toggle label from wrapping when the symbols sidebar is open in the blob view.

  • Code Search Race condition in reindex button

    Fixed a race condition in the search "reindex button" where it often did not force a reindex.

  • Code Search Avoid panics on uncompileable regexps

    Fixed a panic that could occur when processing certain regular expression patterns during search result hydration.

  • Code Search Zoekt reindex button forces reindex

    Fixed the Reindex now button to force a full reindex, rather than forcing a potentially noop incremental index.

  • Code Intel Record reasons in scip_uploads_audit_logs

    SCIP upload audit log entries now populate the reason column with the context provided by the backend (e.g. "soft-deleting expired uploads", "upload overlapping with a newer upload") instead of always being empty.

  • Code Intel Make icons on code graph timeline visible in light mode
  • Code Intel Drop unsupported --no-animation scip-go flag
  • Batch Changes Narrow reconciler database transaction to terminal writes

    Batch Changes reconciler no longer holds database connections open during code host API calls, reducing connection pool contention.

  • Batch Changes Rebase changesets when base rev changes

    Fixed an issue where changesets were not rebased when the base revision changed during batch spec re-application.

  • Batch Changes Log workspace execution job ID consistently
  • 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.

  • Administration Fix page layout data dependency

    Fixed an error when navigating away from the admin roles page

  • Administration Allow viewing the /admin/permissions-syncs page with perms

    Granting an RBAC role the repo permissions read permission now allows users belonging to that role to access the /admin/permissions-syncs page.

  • Administration Exclude deleted users from current user count

    Fixed an issue where the current user count on the /admin/license page included deleted users.

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

  • GraphQL Respect max settings properly

    GraphQL max settings (graphQLMaxDuplicateFieldCount and graphQLMaxUniqueFieldCount) are now properly respected when configured in site-config.

  • Permissions Handle deleted users gracefully during pending permissions sync

    Fixed permissions sync jobs failing when users are deleted while sync is pending

  • Permissions Use conf.DefaultClient instead of conf.Get

    Fixed an issue where permissions configuration changes were not applied until restart

  • RBAC Tidy up role management page header

    Improved consistency of the role management page header with other admin pages

  • Security Update vulnerable dependencies
  • Slack Improve timeout behavior
    • Fixed an issue where clicking Send full response to thread could sometimes time out
    • Fixed an issue where it was not always clear to onlookers that someone else had requested to Send full response to thread
  • Slack Fix relative /r/github.com/foo/bar links and security issues
    • Fixed an issue where relative repository links like /r/github.com/foo/bar would not correctly link to Sourcegraph
    • Fixed potential security issues where malicious links generated by the LLM could be rendered unsafely
  • Tools Increase timeouts in diff and commit search

    Increased timeouts for diff and commit search in Deep Search and MCP from 60s to 115s.

Removed

  • Batch Changes Remove batch spec admin page

    Removed batch spec admin page and its backing Query.batchSpecs API.

Other

  • Executors Add beta warnings for Kubernetes native executor deployment options

    Added beta warnings for Kubernetes native executor deployment options.

  • Security Bump deps to resolve critical CVEs

Self-hosted resources