A collection of characters, stories, and other elements
Sourcegraph 3.32 is now available! Here are some highlights from this release:
Code Insights is a new analytics tool that lets you track and understand what’s in your code and how it changes over time. You can find it via “Insights” in the main navigation bar. It is available for all Sourcegraph users for free while in beta. When Code Insights is officially released, we may disable your use of it or charge for continued use. We’re still polishing Code Insights, so we appreciate it if you share any bugs or feedback about your experience.
In the left sidebar of your search results, you can now see both branches and tags associated with a repository you’re viewing. When you add a search literal, such as “auth,” the search term will persist across searches, allowing you to search quickly between branches or tags for that search term.
We’re now caching search results for an improved user experience. When you click into a file from the search results page and then navigate back, the results will now always appear in the same order they appeared previously.
We’ve changed the way we think about LSIF data retention. Previously, precise Code Intelligence data was capped by a maximum age configured by the PRECISECODEINTELDATATTL environment variable. This means that, regardless of how important some data was, it would be removed after it passed its expiry.
Now, site admins can configure global and repository-specific data retention policies in the UI and can control the length of time LSIF uploads are considered fresh. This allows teams to match data retention policies against the specific commit and merge workflows of each repository. Read more about how to configure precise Code Intelligence data retention policies in our docs.
The search sidebar now shows a revisions section when all search results are from a single repository. This makes it easier to search in and switch between different revisions.Admin
The various alerts overview panels in Grafana can now be clicked on to go directly to the relevant panels and dashboards.Admin
allowGroupsPermissionsSync in the GitHub authorization provider is now required to enable the experimental GitHub teams and organizations permissions caching. Permissions caching can significantly reduce the amount of time it takes to perform a full permissions sync.
Fixed a number of issues where repository permissions sync may fail for instances with very large numbers of repositories.Search
Fixed excessive re-rendering of the web application on every keypress in the search query input.Admin
PRECISE_CODE_INTEL_DATA_TTL environment variable is no longer read by the worker service. Instead, site admins can configure global and repository-specific data retention policies in the UI to control the length of time LSIF uploads are considered fresh.