The Servo and Rust projects have used a bors* for many years and have had few problems.
* Servo uses the https://github.com/servo/homu fork of the Homu rewrite of Graydon's original code, and Rust uses a slightly different fork at https://github.com/rust-lang/homu.
Seems a bit extreme to discard something after finding two bugs. Could you have fixed them instead?
With our CI times and PR volume, by the time any CI run completes, master would have drastically changed.
In a bors workflow, bors is the only thing allowed to push to master, so master cannot get out of date.
The Rust projects solves throughput with rollups, which are semi-automated. It would be nice if someone would write fully automated rollup support into a bors, but alas, no one has tried that I know of.
None of this is new at all, btw, I'm just regurgitating MVCC from postgresql.
Also the exact workflow described with staging branch and batch merge is probably another 20-30 lines.
Travis runs your test suite on the merge commit, not the head of the branch.
https://docs.travis-ci.com/user/pull-requests/#double-builds...
In addition to Bors, there are a number of apps and services that automate this kind of workflow. Here is an incomplete list: https://forum.bors.tech/t/other-apps-that-implement-the-nrsr...
Edited to add: Graydon Hoare (creator of Rust) called this the Not Rocket Science Rule Of Software Engineering (NRSROSE): "automatically maintain a repository of code that always passes all the tests" - https://graydon2.dreamwidth.org/1597.html
Disclaimer: I have contributed code to Bors.