Sourcegraph 4.3 release
Instantly navigate repositories, files, and symbols by name with fuzzy finder
Fuzzy finder helps you quickly navigate to a repository, symbol, or file. To open the fuzzy finder, press 'Cmd+K' (macOS) or 'Ctrl+K' (Linux/Windows) from any page, and each tab has a dedicated shortcut:
- Repos: Cmd+I (macOS), Ctrl+I (Linux/Windows)
- Symbols: Cmd+O (macOS), Cmd+Shift+O (macOS Safari), Ctrl+O (Linux/Windows)
- Files: Cmd+P (macOS), Ctrl+P (Linux/Windows)
Fuzzy finder is an experimental feature, and we welcome your feedback and input. You can tweet at us or send us an email.
Quickly define the scope of your search query with search context favorites and default contexts
Search contexts help you search the code you care about by representing a set of repositories that will be targeted by a search query. For example, you can narrow the scope of your search query by creating a context for specific services or all the code your team owns. Now you can set your most used or helpful search contexts as favorites using the star icon, and your favorite contexts will be listed at the top of your saved contexts for faster access. You can also customize the default search context for any new search query, helping to ensure the scope of each search query the most relevant to your work. Your default search context is clearly marked in the search context dropdown, and it can be easily updated using the search context management pages and your individual search context page.
Insights are faster and even more reliable
Code Insights turns your codebase into a database, so you can track migrations, version spread, tooling, and any other custom metric from the source of truth—the code—directly. We made significant improvements to the backfiller that populates your data, making your insights faster and more reliable, including:
- Faster calculation times thanks to reduced contention in the work queue from separate insights.
- Graceful error handling to surface information to the user if there are any incomplete data points.
- Faster insight creation with more efficient background processing.
- Improved visibility into the state of background processes for easier troubleshooting and problem solving.
Webhooks for repository and permissions syncing
Sourcegraph predominantly uses pull-based models for repository and permissions updates from the code host, and webhooks have been hidden away in our external service config. Polling code hosts to check for changes can often create significant strain on code hosts, and syncs take longer as the Sourcegraph instance grows.
In 4.3, webhooks have received a significant update making it easier for admins to configure webhooks for repository and permissions syncing. We're introducing a new UI for creating, updating, and deleting webhooks, and there is now improved handling of permissions webhooks. As a result, your Sourcegraph instance will mirror your code host changes much more closely, ensuring that users always see the latest versions of what they need to see. These webhook updates are currently limited to the GitHub code host. See the docs for instructions on configuring new webhooks.
Inspect all outbound requests from your Sourcegraph instance
Sourcegraph admins want to understand how their instance is interacting with other systems, especially when debugging. Previously, it was difficult to reliably see all of the outbound requests generated by a Sourcegraph instance since it required manually finding and digging into logs.
We've introduced a new page in the web UI where instance admins can see all outbound requests generated by an instance. This makes it easy to quickly see how Sourcegraph is interacting with other systems, such as code hosts, from the UI. Debugging code host connections is now much faster. This feature is off by default, but can be enabled in site config. See the docs for more information.