Sorry if this isn’t the right place to report a bug on GitHub, but I was directed here from this, and did my best to choose an appropriate Category.
CODEOWNERS with two teams for a particular area of the application:
/sql/ @freckle/ops @freckle/databasers
Open a PR in that area.
A team member from each team should be automatically assigned, replacing both teams on the PR.
A team member from each team is automatically assigned, but only the first team is replaced. The second team remains on the PR.
Leaving that second team on the PR means all members of that team see the PR as an active request and get notifications on it, rather than just the round-robin-assigned member.
At first, I thought it was just expected that review from two teams as owners didn’t work, and would only automatically assign from the first listed team. However, the fact that it gets it half right (it assigns a user from each team, but only replaces the first) indicates this is likely a bug.