an input queue to receive the PhabricatorBuild instances
an output queue to send the outcome of the mercurial apply + push to Phabricator (or any other service that could listen).
This is the first step to get a mercurial worker independant from Phabricator api calls.
I'll make a followup PR to remove the patch loading steps from mercurial worker.
There is also a nice side effect: it's now possible to test the mercurial worker full workflow ( method run by using the queues)
This PR adds two queues to MercurialWorker:
PhabricatorBuild
instancesThis is the first step to get a mercurial worker independant from Phabricator api calls. I'll make a followup PR to remove the patch loading steps from mercurial worker.
There is also a nice side effect: it's now possible to test the mercurial worker full workflow ( method
run
by using the queues)