Bazel powered parallel merge queue
// readme
Welcome
This repository is used to demonstrate the performance characteristics of a merge graph under different simulated loads.
Usage
- Fork this repo
- Follow the instructions in the docs.trunk.io to set up a merge queue for your forked repo
- Go to the actions tab of your forked repo and enable running github actions
- In the actions tab, go to the
PR Factoryworkflow and click onRun workflowonmain. Note: this will run a 30 minute merge queue simulation, but you can also uncomment the cron job in.github/workflows/pr-factory.yamlto run the simulation indefinitely. - Go back to app.trunk.io and witness the merge queue in action
How does it work
The load imparted onto the connected queue is controlled by the mq.toml file in the .config
folder. The PR Factory workflow is set on a cron schedule to call mq which is then responsible for
generating the pull requests and enqueueing them.
The configuration system allows for setting the desired load on the queue, the flake rate and the interdependence element of the pull requests.
# parallelqueue - will push deps…