Page MenuHomePhabricator

Extend the blocking reviewers functionality universally
Closed, ResolvedPublic

Description

I've noticed that there is a herald rule (H65) which adds "blocking" reviewers to a diff. However, AFAICT, it isn't possible to create blocking reviewers from other aspects of the UI, nor from Arcanist. If it is possible to, for example, add blocking reviewers from the differential application, then it is not very clear on how to do so.

Event Timeline

joshuaspence assigned this task to epriestley.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added projects: Differential, Herald.
joshuaspence added a subscriber: joshuaspence.

Some discussion in T1279.

We're likely to add a reviewername! syntax for the CLI. It would be nice to expose this on the web too, but we don't have a reasonable control for it right now.

OK, thanks for the update.

Does the blocking reviewer actually work from the herald rules? As in, if a diff has two reviewers (X and Y) and X is a blocking reviewer, then the diff won't be marked as accepted until reviewer X accepts?

I'd love to see this implemented. reviewername! in CLI would be a good start, even without UI features.

joshuaspence renamed this task from Extend the blocking reviewers functionality universally. to Extend the blocking reviewers functionality universally.Jul 11 2014, 3:17 PM

Our team would greatly benefit from this feature.

Our workflow is to create diffs as a code review for features and we assign as reviewers 2 people who are familiar with the area of code related to the feature. As convention - we require that both of those reviewers accept the diff before it is "approved". The Phab UI hinders us here because it will show the diff as accepted even if only one of those reviewers accepts it. That is, Phab says any reviewer can accept - and we want to say ALL reviewers must accept.

It sounds like what we are needing is this "blocking reviewer" feature that we can't access in the UI. Unfortunately we can't use the Herald rule since we vary the reviewers per diff.

Anyway - hoping our use case makes sense and that this is something that gets added in the near future.

It sounds like you actually want T731.

It sounds like you actually want T731.

Yes! Thank you.

Maybe a good idea too:

  • What about if you can configure at owners, if the owners should added as (blocking) reviewers automatically? Makes this simple too.
eadler added a project: Restricted Project.Apr 11 2016, 9:41 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 17 2016, 6:24 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.May 13 2016, 9:52 PM