Hi, we have a single install job and then run tests job in the same workflow v2.1
We split the tests in the test job using parallelism flag, usually running 4 boxes.
The install job does NPM install and passes the workspace to the test boxes.
Now what we have noticed was that each of the test boxes can take a widely different
time to attach the same workspace. Typical values are from 18 seconds to 1.5 minutes.
This causes our test parallelization to be suboptimal since some boxes starting
the tests much later
There indeed is something you can do to potentially normalize the times better here. Skip the disk.
You can set up a ramdisk and save all of your workspace artifacts there. This should improve performance and consistency across jobs that utilize the workspace. The files stored there will skip the disk when they are persisted or loaded from the workspace. Just make sure to configure it on each job that uses the workspaces.