This patch adds an arcanist workflow (called with arc land-via-bot) that enables
us to land revisions through a land bot. This gives us the benefit of smoke testing and
other sanity checks immediately prior to landing changes on master and ensures these sanity
checks are run the same regardless of development environment or post-review modifications
to diffs.
Note that this patch only adds the new workflow and does not yet accomplish the following:
- Override arc land with this behavior.
- Actually land the revision. The land bot is currently running in --dry-run mode. You may push revisions to the land bot to test it out and see the build and smoke test progress.
The land-via-bot workflow takes recycles some of the sanity checks done by arc land to reduce
complexity and code ownership. This introduces a funny call to arc land directly, but is otherwise harmless.
The unique part of land-via-bot is the queuing call which is a simply cURL request to the land bot service.
The request includes the revision ID and your encrypted Conduit token so the land bot can land changes as you.