Sourcegraph 5.11.0
A newer patch release is available: 5.11.6271. See all changes in Sourcegraph 5.11.
Details
Improvements
- More telemetry for batch changes
feat(batches): more telemetry events
- Extend prompt tags with pagination and increased limit
feat: extend prompt tags with pagination and increased limit
- Cody Gateway Add Gemini 2.0 Flash experimental model
- 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.
- Editing tags on prompts
feat: editing tags on prompts
- Management page prompt categories
feat: management page prompt categories
- Prompt categories nav for web
feat: add tags as filter to prompts and their navigation
- 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. - Add prompt labels to the GraphQL API
feat: add prompt labels to the GraphQL API
- Release Run `sg cut` in buildkite to automate nightly pipeline test
- release: nightly release pipeline is working
- Collect contributor data
feat: calculate contributor stats
- Code Intel Configurable time and size limits for scip-syntax
- Adds configurable limits for file size and parsing time for syntactic indexing
Fixes
- 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 - Cody Add cody.notices to json schema
- Multitenant Add rote tests for workspaceGitHubAppRepositoryResolver
N/A
- Mulitenant Add rote tests for repositoryChecker implementations
N/A
- Mulitenant Add rote test for workspaceGitHubAppAccountResolver
N/A
- Code Intel Reports symbols for TypeScript type aliases
Properly report symbols for TypeScript type aliases
- Mulitenant Add test suite for (s *serviceImpl) listRepositoriesSearch
- Mulitenant Add test suite for (r *workspaceGitHubAppResolver) ListUserGitHubRepositories
- Remove surplus typename
fix: remove surplus typename
- Multitenant Add test suite for (r *workspaceGitHubAppResolver) ListPublicGitHubRepositories
N/A
- 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
- 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.
Other
- Security Update src-cli to version 5.11.1
- Update src-cli version to 5.11.1
Backport 2721fd9106eb033afe4cca96164f7ecc5e0b6f88 from #2444
- Update src-cli version to 5.11.1
- Bitbucketcloud: Fix repo perms syncing for inherited permissions and groups
Fixed an issue with Bitbucket Cloud permission syncing where inherited permissions and group permissions were not correctly reflected.
- Security Update src-cli to version 5.11.0
- Update src-cli version to 5.11.0
- Reapply "feat(cody-gateway): add Gemini 2.0 Flash experimental model"
OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
Cody Gateway: add support to Google's Gemini 2.0 Flash Experimental model.
- Revert "feat(cody-gateway): add Gemini 2.0 Flash experimental model
- Bugfix: anchor include patterns for symbol tree
- Fixed a web app bug that could cause symbols to be shown in the symbol tree for files that share a name with the viewed file
- Update Calendar Release Notifications
N/A
- Authz: Adjust default settings for perms syncing
The default values for repo permission syncing have been adjusted. If you specified overrides, this means no change on your instance.
Adjusted defaults:
permissions.syncScheduleIntervalis now 60s instead of 15s, in favor of scheduling more jobs at once (see below).permissions.syncOldestUsersandpermissions.syncOldestReposhave been adjusted to100from10to schedule pending permission sync jobs faster.permissions.syncJobCleanupIntervalhas been bumped from every minute to every hour. Cleaning completed jobs is purely to prevent unbounded growth and every minute was more aggressive than necessary.The default concurrency for repo- and user-centric sync jobs has been bumped from 1 to 5 to account for larger instances. Historically, GitHub prevented concurrent API access in secondary rate limiting but this has been lifted to be much more lenient long ago.
permissions.syncReposMaxConcurrencyhas also been introduced to complimentpermissions.syncUsersMaxConcurrency.