insights: disable aggregations by file for repo-only queries
Created by: leonore
work on #41318
WIP- contexts
Test plan
Added new unit tests to confirm expected behaviour Ran searches on local instance
Created by: leonore
work on #41318
WIP- contexts
Added new unit tests to confirm expected behaviour Ran searches on local instance