Closed Bug 1812457 Opened 3 years ago Closed 3 years ago

we are unconditionally setting release-managers review on the patch when we detect the change, even when release-managers has already given an r+ review.

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

From Slack:
we are unconditionally setting release-managers review on the patch when we detect the change, even when release-managers has already given an r+ review. this is overwriting the release-managers approval status. we should be checking the status isn't already "accepted" and only set the review if it isn't

I think all we need to do is add a next if under this line and check that the $stack_revision->reviewers_raw contains an element with reviewerPHID == $release_managers_phid: https://github.com/mozilla-bteam/bmo/blob/master/extensions/PhabBugz/lib/Feed.pm#L431

No longer blocks: uplift-automation
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: