You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous `validate_zulip_group_ids` check logic is not quite correct
in two ways:
1. The previous logic was too *strict*, in that it does not properly
account for the case where a team member may not be included in any
team-associated zulip user groups (such as via the `excluded-people`
mechanism).
2. The previous logic I think was also too *loose*, in that it is
possible to attach additional extra people via `extra-people`. It is
possible to include a person whose `people/` entry contain only a
github handle, and not also a zulip id.
# Example
Consider the `cloud-compute` marker-team:
```markdown
name = "cloud-compute"
kind = "marker-team"
[people]
leads = []
members = [
"have_zulip_id",
"no_zulip_id",
]
[[zulip-groups]]
name = "cloud-compute"
extra-people = [
"extra_no_zulip_id",
]
excluded-people = [
"no_zulip_id",
]
```
The "all zulip group members must have a zulip-id" validation should
fail, but not against `no_zulip_id`, because that member is not part of
any zulip groups associated with `cloud-compute` team. It *should* error
on `extra_no_zulip_id` however.
0 commit comments