group-review: Bot requires unnecessary reviews #29

Closed
opened 2025-04-11 15:13:55 +02:00 by adamm · 2 comments
Owner

review states:

  • review-team-opensuse
  • Alice
  • Bob

Alice approves a PR with "review-team-opensuse: LGTM"

  • review-team-opensuse
  • Alice
  • Bob

Bob still has pending review, even if it was already taken care of by Alice

review states: - [ ] review-team-opensuse - [ ] Alice - [ ] Bob Alice approves a PR with "review-team-opensuse: LGTM" - [x] review-team-opensuse - [x] Alice - [ ] Bob Bob still has pending review, even if it was already taken care of by Alice
Author
Owner

Can't fix because we don't know why bob review is required.

Can't fix because we don't know why bob review is required.
adamm closed this issue 2025-05-12 15:19:08 +02:00
Owner

Can't fix because we don't know why bob review is required.

If you keep it this way, all the group reviewers will have their review backlogs full of bogus entries.
This needs to be fixed if we want to keep reviews usable for such users.

The bot must be aware of the state so the following scenario can be supported:

  • user can review on behalf of multiple groups and also on behalf of himself if requested (e.g. as a package maintainer)
  • any time a review on behalf of group is completed, remaining group members must be removed from the list (as long as they weren't requested to do a review individually and are not part of any other review groups with pending reviews)
> Can't fix because we don't know why bob review is required. If you keep it this way, all the group reviewers will have their review backlogs full of bogus entries. This needs to be fixed if we want to keep reviews usable for such users. The bot must be aware of the state so the following scenario can be supported: - user can review on behalf of **multiple** groups and also on behalf of **himself** if requested (e.g. as a package maintainer) - any time a review on behalf of group is completed, remaining group members must be removed from the list (as long as they weren't requested to do a review individually and are not part of any other review groups with pending reviews)
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/autogits#29