`em_for_team` to mention for Engineering Productivity team does not work
On first glance the em_for_team
logic to determine the EM for a particular resource based on current labels will find the EP EM as the EM to mention. However, the current_group_label
is often used to call. the em_for_team
method and this uses the standard group::
prefix to work out the currently applied group label. This does not fit for the Engineering Productivity label.
Therefore the em_for_team
for MRs like https://gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/576
would not be inferred to be the EP EM when using the normal helper
em_for_team
method does fall back to engineering_manager
definition if frontend/backend are not defined:
current_group_label
uses the group prefix regex pattern which looks for the group::
scoped section which the EP group label does not have:
Related references:
- Determining EM to mention on stale MRs did not find a suitable EM for Engineering Productivity issues. See: