Skip to content

Insights/unify/non global iterator

Warren Gifford requested to merge insights/unify/non-global-iterator into main

Created by: coury-clark

Part of https://github.com/sourcegraph/sourcegraph/issues/35580

Adds a new iterator that will preload necessary repo metadata from a set of repository names, and satisfy the interface of the repository iterator that the backfiller uses.

Test plan

I loaded this up and replaced the allRepoIterator in the historical_enqueuer with a scoped iterator to a single repo., and generated a backend insight. As expected, it only ran over the single repository.

image

Merge request reports

Loading