Fix `Ci::Runner#belonging_to_group/belonging_to_group_or_project/belonging_to_parent_group_of_project` cross-join `groups`
From !62092 (closed) we have seen that Ci::Runner#belonging_to_group/belonging_to_group_or_project/belonging_to_parent_group_of_project needs to join between projects table and ci_* tables.
Options
- Use
.idsto fetchidsand use two separate queries - Change how the feature is being used, and remove this method all together
Edited by Thong Kuah