Sourcegraph self-hosted 5.8.1579
This is a patch release for Sourcegraph self-hosted 5.8.
This is a patch release for Sourcegraph self-hosted 5.8.
With this change we rank repository search results by similarity. Before, repository search results were ordered by star count instead. This affects suggestions and repository search results. To disable this feature and return to the previous behavior, set { "experimentalFeatures": { "disableOrderBySimilarity": true}} in global settings.
The GraphQL endpoint search.results.repositories now returns the list of repositories in the order of the matches we
found. Before, repositories were sorted by id.
Opus:: in Ruby testsfeat(batches): verbose error logging for batch syncer with BATCH_CHANGES_SYNCER_VERBOSE_ERROR_LOGGING
feat(batches): add experimental feature to add a fork name suffix to avoid name collisions
/.api/completions/stream endpoint now accepts "file" and "repo" parts alongside "text" and "image_url"/.api/completions/stream now supports vision using the OpenAI-compatible base64 encoding of images. Example "content": [{"type": "image_url", "image_url": { "url": "data:image/png;base64,{{IMAGE_BASE64}}" } }]. Requires the query parameter api-version=3 or higher.constraints.go using bazel for onconflict linterliveWe have updated the client-side query validation to allow combining rev: filters with query-based search contexts.
For very large repositories, search jobs could time out while fetching the repository. Now, search jobs can fetch and search over repositories, even if they take a long time to fetch.
We added a new database index to speed up a janitor job which is run as part of Search Jobs. Before, the janitor job might have significantly delayed migrations during an upgrade.
The new usagesForSymbol API correctly searches repos whose names contain spaces or other special characters.
0.0.0+dev even though it was the correct executor AMI version running under the hood.internal/version.version with x_defs at build time in executorfix(batches): disabled "select all" checkbox if all nodes are already disabled
worker service is scaled horizontallymodelsAPIEnabled is always false for dotcom
finish_reason in /.api/llm/chat/completions /.api/llm/chat/completions endpoint will now return an empty string "" for finish_reason instead of the string "unknown_please_report_bug()".This is a patch release for Sourcegraph self-hosted 5.7.
This fixes a bug where we added "readme" too often to the context.
Backport 28ff196a663f537c6cb6340f976a91431509a90e from #582
fix(batches): workaround for a bug in GitHub
Backport aad3a04f8c93561a61c404e69132e70a22d0acba from #576
n/a
"batchChanges.containerRegistryDenylist"."batchChanges.containerRegistryAllowlist"./.api/cody/context API POST /.api/cody/context REST endpoint to retrieve a list of relevant source locations given a natural language query.When searching an unindexed commit we would consult indexed commits for speeding up results. If our index contained a commit that no longer existed in git we would error out due to a regression in v5.4.5099. This is now fixed.
fix(batches): avoid "Name already exists on this account" from creating fork by fetching the repo when the error happens
Fixes a regression in Cody context where questions containing the word 'or' could return noisy or no results.
/.api/llm) now return JSON-encoded HTTP bodies for non-200 status codes.finish_reason in /.api/llm/chat/completions /.api/chat/completions now returns OpenAI-compatible finish_reason.Bearer TOKEN header for all LLM APIs Bearer TOKEN header with all API endpoints that start with the prefix /.api/llm.web-sveltekit commands from running if there are untracked files under src/routesrepo-updater now emits logs that log the result of every code host sync.
sync.OnceFunc to prevent duplicate executionwolfi update-hasheswolfi update-hashes