Closed Bug 2054545 Opened 11 days ago Closed 7 days ago

Do not allow landing patches where the author is Hackbot

Categories

(Conduit :: Lando, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: suhaib, Assigned: zeid)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Hackbot can now submit patches to Phabricator, with Hackbot (hackbot@mozilla.tld) listed as the author. However, we don't want to land patches that aren't owned by a developer who understands the change, takes ownership of it, and makes any necessary modifications, ideally even before requesting code review.

The current flow is to use Phabricator's "Commandeer" feature to take over the revision, which changes the author to the person who commandeered it.

Given this, we need to:

  • Prevent landing any patch where Hackbot is still listed as the author (i.e., the revision has not been commandeered).
  • Attribute correctly on landing: the patch author should be the person who commandeered the revision, even if Phabricator's commit metadata still shows Hackbot as the author.
See Also: → 2054574
Priority: -- → P2
Assignee: nobody → zeid

Authored by https://github.com/zzzeid
https://github.com/mozilla-conduit/lando/commit/1937731a1775f633976af4482c21ea107eae7646
[main] revisions: block hackbot commits (bug 2054545) r=suhaibmujahid,Magnolia-Liu

Status: NEW → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Blocks: 2055953
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: