Page MenuHomePhabricator

In Herald Commit rules, "Reviewer" and "On Autoclose Branch" have been deprecated
Open, WishlistPublic

Description

See PHI301.

For Commit rules in Herald, the Commit Fields → Reviewer field evaluates to only the first reviewer for the associated revision. This is legacy behavior from an era (pre T1279) where revisions broadly had only one reviewer.

This doesn't match up with modern behavior very well, and modern users almost certainly want Related Fields → Accepting reviewers instead. The "Reviewer" field is probably never useful, and potentially confusing.

It's not entirely clear how to best move forward:

  • Remove the field -- but we break existing rules.
  • Migrate the field to "Accepting reviewers" -- but we change the behavior of existing rules.
  • Rename the field to "Reviewer (Legacy)", or move it to a "Legacy" category -- maybe improves things, but really just punts this.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley created this task.
epriestley added a revision: Restricted Differential Revision.Jan 25 2018, 6:28 PM
epriestley lowered the priority of this task from Low to Wishlist.Jan 25 2018, 6:29 PM

Rename the field to "Reviewer (Legacy)", or move it to a "Legacy" category -- maybe improves things, but really just punts this.

D18932 does this, to hopefully reduce confusion at least.

epriestley added a commit: Restricted Diffusion Commit.Jan 26 2018, 7:07 PM

D20427 is a similar change, that deprecates the "Commit is on autoclose branch" field. This fields is now always true by definition, because Herald does not run until a commit is reachable from a permanent ref (previously called an "autoclose branch").

epriestley renamed this task from In Herald Commit rules, "Commit Fields > Reviewer" has ancient, misleading behavior to In Herald Commit rules, "Reviewer" and "On Autoclose Branch" have been deprecated.Apr 15 2019, 5:08 PM
epriestley removed a project: Differential.