Skip to content

insights: determine if query targets a single repo

Warren Gifford requested to merge cw/count-query-repos into main

Created by: chwarwick

Adds a new function to the insights query builder package that can determine if a query is targeting a single repo. This will initially be used as one piece of criteria to determine if a search query is eligible to run additional queries to provide additional insights such as % change over time or a small preview of an insight.

Currently only supports queries with a 1 step query plan.

resolves #39241 (closed)

Test plan

added unit tests pass

Merge request reports

Loading