Sourcegraph 7.0.2178
A newer patch release is available: 7.0.2852. See all changes in Sourcegraph 7.0.
Details
Improvements
- Deep Search Improve prompt caching for system prompt
Improved prompt caching for system prompts and tool descriptions, resulting in lower latency and reduced token costs for deep search queries.
- Code Nav Add smart hover setting
- Analytics Add telemetry { eventsQueuedForExport } GraphQL query
Added a debug GraphQL query to view telemetry events queued for export.
- API Add
urlto Deep Search API responses (#10511) - API Support 'users/-' alias
The API now supports
users/-as an alias for the authenticated user, in addition to the existingusers/~selfalias. - Enterprise Portal Clarify that instance site admin access does not grant portal access
The Enterprise Portal access error page now explains that site admin access on a Sourcegraph instance does not automatically grant access to the Enterprise Portal, and directs users to contact their support engineer. The instance admin dashboard analytics card also clarifies that a separate account linked to the customer's subscription is needed.
Fixes
- Deep Search Improve error when no quota is available
When no Deep Search quota is available, the error now renders correctly instead of showing NaN
- Deep Search Force a summarization turn on StopReasonMaxTurns
Deep Search subagents now consistently produce summaries for the main agent to consume.
- Deep Search Fix panic when listing deep searches fails
- Batch Changes Fix "updated by a deleted user" on newly created batch changes
Fixed newly created batch changes incorrectly showing "Updated by a deleted user" in the header byline.
- API Improve ListUsers filter error response and example
/api/users.v1.Service/ListUsersnow returns a better error for invalid active period filters. The API reference also no longer shows an example withACTIVE_PERIOD_UNSPECIFIED. - API Make
parentoptional onListConversationSummariesMade
parentfield optional on ListConversationSummaries RPC, defaulting to the authenticated user when omitted. - API Fix schema download file extension
- Authentication DCR clients always have mcp scope
Fixed authentication for codex and older versions of Cursor and VSCode to correctly include the "mcp" scope when authenticating via OAuth for MCP endpoints.
- Azure DevOps Skip cloning disabled repositories
Azure DevOps repositories marked as disabled are no longer cloned or surfaced as synced repositories in Sourcegraph.
- Cody Update Cody Web v0.41.0 / fix prompt hydration & large file support
- Premade prompts in the dropdown menu now work as expected
- Large files no longer encounter token limits
- Database Include frontend schema context for drift version checks
Fixed migrator drift check failing for codeintel/codeinsights schemas in IAM-authenticated environments by ensuring the frontend schema connection is always included when version checking is enabled.
- Executors Preserve src-cli minimum version fallback on API failure
Fixed executor src-cli download failing when the latest version API call errors.
- Executors Fix support for non-root UID/GID in job pods
Kubernetes-native executors can now run as a non-root user by setting
KUBERNETES_RUN_AS_USER,KUBERNETES_RUN_AS_GROUP, and optionallyKUBERNETES_FS_GROUPenvironment variables on the executor service. When using Helm, add these to youroverride.yaml:executor: ... kubernetesJob: fsGroup: 100 runAsGroup: 101 runAsUser: 101Note that "100" and "101" are the values Sourcegraph images use for the
sourcegraphuser. Adjust these values for your environment. - Permissions Internal rate limiter: mark WaitTimeExceedsDeadlineError as temporary
Fixed repository permissions being dropped when permission syncs failed due to configured internal rate limits.
- Permissions Github: mark internal rate limit errors as temporary
- Repositories Make URL parsing more resilient
Fixed URL parsing to handle legacy format URLs correctly, preventing unintentional truncation of repository names.
- Slack Improve 'Deep Search timed out.' behavior
Improved Slack integration behavior when a Deep Search takes longer than a few minutes to complete, showing a helpful link preview instead of
Deep Search timed out. - Blame Fix URLs for blame commits