Skip to content

search: factor out static validation in downstream repo search logic

Administrator requested to merge main-dry-run/rvt/repo-job into main

Created by: rvantonder

The RepoSearch job is the last job to fully depend on Args *search.TextParameters, and it doesn't need access to 90% of the state stored there. If I can remove the dependency on this type for this job, I can start to remove search.TextParameters type, which means I can eventually move job creation out of search_results and part of the query pipeline.

The RepoSearch job currently depends on search.TextParameters for a couple of reasons, one is static validation that we should do up front (this PR)

Merge request reports

Loading