> For example, if you pay for GitLab's self-managed "Starter" package, and assuming you spin up your own private Sourcegraph instance [1] to go along with your self-managed GitLab instance, what Sourcegraph features do you get? Will you get code review intelligence, which Sourcegraph charges $29/user/month for?
The GitLab pricing tier has no bearing on Sourcegraph features—it is the Sourcegraph pricing tier that determines what Sourcegraph features are available. $29/user/month is the Sourcegraph Enterprise tier, which includes full code review intelligence (jump-to-def, find-refs, hover tooltips).
Note also that Sourcegraph customers are only charged for active users, so if most of your team doesn't end up using the features provided by Sourcegraph, you aren't charged for them.
> On Sourcegraph's pricing page, it says the open-source edition is missing features like "Single repository definitions and references" and "Cross-repository definitions and references". What does that mean for private GitLab instances?
"Single repository definitions and references" means go-to-def and find-refs work if the code you're trying to jump to is in the same repository. "Cross repository" means you can jump through to code in upstream and downstream dependencies.
If you're running a private GitLab instance, you'll need to deploy a Sourcegraph instance (runnable as either a single Docker image or Kubernetes cluster) and pay for the appropriate license (free if you're under 10 active users and just want single-repository code intelligence, $29/user/month if you're over 10 active users or want cross-repo code intelligence).
Sorry about the confusion here—does that answer your questions?