moz-phab does not update the reviewers list in Phabricator to match local changes
Categories
(Conduit :: moz-phab, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mars, Unassigned)
References
Details
(Keywords: conduit-triaged)
Attachments
(1 obsolete file)
| Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•6 years ago
|
||
This is one of my main annoyances with Phabricator/moz-phab as I often submit a WIP patch to a bug without reviewers and then later added reviewers when the patch is finished. This case has less issues related to conflicts as there are no reviewers on Phabricator… could we fix this more straightforward case in the short term and deal with the conflict cases later? i.e. if you submit a diff and there are no reviewers on Phabricator, add the reviewers from the commit message. (Sure, it doesn't handle the case where all reviewers were removed on Phabricator but I don't think that's common and I think it would be expected to add them back).
(In reply to Matthew N. [:MattN] (PM me if requests are blocking you) from comment #2)
This is one of my main annoyances with Phabricator/moz-phab as I often submit a WIP patch to a bug without reviewers and then later added reviewers when the patch is finished.
sounds reasonable i've split this out into bug 1531627.
Comment 4•6 years ago
|
||
| Comment hidden (obsolete) |
This is still a problem but I think we're at a point where there's more clarity around how expectations.
Proposal:
- remove the code that maps "no reviewers" to "WIP"
- if any reviewers are set in the commit description, that becomes the authoritative source
- the revision on Phabricator will be updated to match the commit description
- moz-phab needs to make it very clear when a reviewer will be removed
- if no reviewers are set then Phabricator becomes the authoritative source
- reviewers will not be modified during the submission process
Potential problems:
- an approval from someone not originally set in the commit description will be removed if an update is pushed
Zeid - thoughts?
Comment 9•4 years ago
|
||
@glob I agree with this proposal. Just to clarify, point (1) is referring to the new functionality introduced as part of bug 1610403? Does this affect the need for the --no-wip flag introduced in bug 1700179?
To address the potential problem, we could "merge" reviewers, so that both sources contain the union of the commit message and what's on Phabricator (i.e. synchronized upon pushing an update).
Comment 10•4 years ago
|
||
(In reply to Zeid Zabaneh [:zeid] from comment #9)
point (1) is referring to the new functionality introduced as part of bug 1610403
Just the part that mapped "no reviewers" to WIP.
Does this affect the need for the
--no-wipflag
Yes, the --no-wip flag would become redundant – either removed or updated to just display a warning that it is no longer required.
To address the potential problem, we could "merge" reviewers, so that both sources contain the union of the commit message and what's on Phabricator (i.e. synchronized upon pushing an update).
I'm always keen to avoid bi-directional sync. I've been involved in many projects over the years that tried bi-direction sync, and all have resulting in a long tail of problems and weirdness. Having a single source of truth simplifies logic and solidifies expectations.
Syncing reviewers would make some operations less obvious IMHO; for example to remove a reviewer you'd have to remove them from the revision via the Phabricator UI as well as your local commit prior to submission.
Description
•