Sourcegraph 5.11.0
A newer patch release is available: 5.11.6271. See all changes in Sourcegraph 5.11.
Details
Improvements
- Code Search Correctly lower repo name regexes
Special uppercase regex tokens are no longer inverted for repository name search. eg
repo:foo\Bcorrectly interprets\Basnot at ASCII word boundary. Previously it would transform the expression intorepo:foo\b. - Code Intel Configurable time and size limits for scip-syntax
- Adds configurable limits for file size and parsing time for syntactic indexing
- Cody Gateway Add Gemini 2.0 Flash experimental model
- Release Run
sg cutin buildkite to automate nightly pipeline test- release: nightly release pipeline is working
- Source Add App-level GitHub App code host connections
Sourcegraph now supports App-level GitHub App connections that aren't tied to a specific Installation ID.
- Uncategorized More telemetry for batch changes
feat(batches): more telemetry events
- Uncategorized Management page prompt categories
feat: management page prompt categories
- Uncategorized Add prompt labels to the GraphQL API
feat: add prompt labels to the GraphQL API
- Uncategorized Collect contributor data
feat: calculate contributor stats
Fixes
- Code Search Executors: set the user/group on the job spec only if configured.
- Also validates
KUBERNETES_RUN_AS_USERandKUBERNETES_RUN_AS_GROUP. - Must be integers in the range [0, 2147483647].
- Also validates
- Code Intel Reports symbols for TypeScript type aliases
Properly report symbols for TypeScript type aliases
- Cody Add cody.notices to json schema
- Cody Switch to Snowball stopwords
Narrowed down the stopwords list used in Cody context, to fix an issue where we could miss highly relevant files.
- Cody Disable reranking for airgapped instances
Fixes a bug in Cody context where airgapped instances would attempt to use the reranker model, which increased the context retrieval latency.
- Mulitenant Add rote tests for repositoryChecker implementations
N/A
- Mulitenant Add rote test for workspaceGitHubAppAccountResolver
N/A
- Mulitenant Add test suite for (s *serviceImpl) listRepositoriesSearch
- Mulitenant Add test suite for (r *workspaceGitHubAppResolver) ListUserGitHubRepositories
- Multitenant Add rote tests for workspaceGitHubAppRepositoryResolver
N/A
- Multitenant Add test suite for (r *workspaceGitHubAppResolver) ListPublicGitHubRepositories
N/A
- Release Fix regressions from 5.10 release process
- refactor and fix bugs in release test
<details>
ā sourcegraph git:(wg/rel/post-release-5-10-fixup) ā bazel run //testing/tools/upgradetest:sh_upgradetest_run -- all -svs 5.9.0 -mvs 5.8.0 -avs 5.8.0 -pv 5.10.2832 INFO: Analyzed target //testing/tools/upgradetest:sh_upgradetest_run (0 packages loaded, 0 targets configured). INFO: Found 1 target... Target //testing/tools/upgradetest:sh_upgradetest_run up-to-date: bazel-bin/testing/tools/upgradetest/sh_upgradetest_run Aspect @@rules_rust//rust/private:clippy.bzl%rust_clippy_aspect of //testing/tools/upgradetest:sh_upgradetest_run up-to-date (nothing to build) INFO: Elapsed time: 1.165s, Critical Path: 0.72s INFO: 5 processes: 1 internal, 4 darwin-sandbox. INFO: Build completed successfully, 5 total actions INFO: Running command line: bazel-bin/testing/tools/upgradetest/sh_upgradetest_run testing/tools/upgradetest/go_upgradetest_/go_upgradetest cmd/migrator/image_tarball.sh cmd/frontend/no_client_bundle.image_tarball.sh docker-images/postgresql-16/image_tarball.sh docker-images/postgresql-16-codeinsights/image_tarball.sh internal/database/_codeinsights_squashed.sql internal/database/_codeinsights_tenant_data_squashed.sql internal/database/_codeintel_squashed.sql internal/database/_codeintel_tenant_data_squashed.sql internal/database/_frontend_squashed.sql internal/database/_frontend_tenant_data_squashed.sql internal/database/_schema.codeinsights.json internal/database/_schema.codeinsights.md internal/database/_schema.codeintel.json internal/database/_schema.codeintel.md internal/database/_schema.json internal/database/_schema.md all -svs 5.9.0 -mvs 5.8.0 -avs 5.8.0 -pv 5.10.2832 Loaded image: migrator:candidate Loaded image: frontend:candidate Loaded image: postgresql-16:candidate Loaded image: postgresql-16-codeinsights:candidate š Upgrade test ... Latest stable release version: 5.10.2832 Latest minor version: 5.10.0 Target version: 5.10.2832 Migrator image used to upgrade: sourcegraph/migrator:5.10.2832 Standard Versions: [5.9.0] Multiversion Versions: [5.8.0] Autoupgrade Versions: [5.8.0] auto: 5.8.0 mvu: 5.8.0 std: 5.9.0 --- šµļø Standard Upgrade Tests: ā 5.9.0 Passed -- 1m16.366600375s --- šµļø Multiversion Upgrade Tests: ā 5.8.0 Passed -- 1m17.939247958s --- šµļø Auto Upgrade Tests: ā 5.8.0 Passed -- 1m24.54765675s</details>
Backport 8dc831953f43bbe9f6b9cb5467ef263b757425ac from #2374 - Uncategorized Remove surplus typename
fix: remove surplus typename