Search backend: Format output of (search.RepoOptions).String()
Created by: tbliu98
Print all relevant field values of RepoOptions
in an easy-to-read format. This will add more detail to traces of jobs that have RepoOptions
as a field.
Test plan
Just updating how a tag is displayed in traces. Verified visually.
For example, the query repo:^github\.com/sourcegraph/sourcegraph$ type:commit fork:no archived:no query
now produces a CommitSearchJob
trace with the repoOpts
field formatted as such: