Skip to content

insights: searches that return no repository results are treated as an error

Created by: coury-clark

Any search that filters down to no repository matches through the usage of a repo or context filter will return an error message in the search result. This is causing insights queries to be flagged as an error state, even though the result is sematnically correct.

insights query issue: alert: &{No repositories found for your query within the context @joel/src/src } query="campaigns file:. context:@joel/src/src count:all repo:^ghe\\.sgdev\\.org/sourcegraph/jarjin-LuaFramework_NGUI$@9cf856549c97ada1ed3584eb45071738719b1257"