Insights/unify/non global iterator
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.