Sourcegraph 4.5 release

No items found.
February 23, 2023

The new Code Insights UI makes it easier to run insights over specific repositories

We've introduced a new UI for insights creation. You can now use Sourcegraph query syntax to select repositories for an insight to run over. Previously, if you wanted an insight to run over more than a few repositories, you had to create an insight that ran over all of them. This change makes it possible to select only the repositories that are relevant to the insights you are creating.

This makes it especially easy to create insights for related groups of repositories, for example, ones that follow a naming convention such as -infrastructure.

The new system allows you to use any of the repo: filter options such as:

  • repo:
  • -repo:
  • repo:has.path()
  • repo:has.file()
  • repo:has.commit.after()



Upgrades to the Gerrit code host integration

When admins sync repositories from Gerrit, permissions can now also be synced to control who has access to each repository in Sourcegraph. This allows Gerrit repositories to function similar to other Sourcegraph-supported code hosts. You can find instructions to configure Gerrit permissions in our docs.


Subscribe for the latest code AI news and product updates
By submitting, I agree to Sourcegraph's Terms of Service and Privacy Policy.

Get Cody, the AI coding assistant

Cody makes it easy to write, fix, and maintain code.

Learn more