ci: run puppeteer tests with more concurrent jobs
Created by: jhchabran
Our Puppeteers tests are run concurrently but with a very low job count. The job usually takes about 16 minutes to complete.
Because our Buildkite agents are really beefy (13-15 CPUs and 13-15Gb of memory) their size allow for running more jobs than just two.
With a job count of 8, the above job is now down to 9 to 10 minutes. This number was achieved empirically, the default is to have core count - 1
jobs, but as we are running Chromium in those tests, that results in failures and potential flakiness.
You can find an example failure documented here, with instructions on how to fix it, in case it's preventing to ship critical changes: https://gist.github.com/jhchabran/0a6e3dd73299400fdec983e07fbbac20
A note about this has been added to the step, so people can find the solution next to the problem and immediately report to us if they see something.
I propose that we observe for a couple of days how the builds are performing, which will lead to maybe increase or decrease that number, if we see random failures happening. Once we're pretty confident this isn't messing with the pipeline robustness, we can remove the PSA.