search: paginated repository resolution
Created by: tsenart
This PR is the last of series to introduce paginated repo resolution in search.
- We remove
backend.ListSearchable
and its use in repository resolution because global searches on Sourcegraph.com no longer depend on it. This in turn simplifies the code in preparation for cursor based pagination. - In order to be able to remove the blocking
resolveRepositories
indoResults
, repository search had to be migrated to the newJob
interface. This is implemented byrun.RepoSearch
. - We migrate all existing
Job
implementations to usesearchrepos.Resolver.Paginate
. - Alerts for missing repo revs and no resolved repos errors are now handled by
searchResolver.errorToAlert
.
Part of #26995 (closed)