Resolve "rebalance the parallel jobs and sub-tasks for the static-analysis job"
What does this MR do and why?
Rebalance the tasks distributed inside static-analysis
.
This is based on the 2 following pipelines:
- https://gitlab.com/gitlab-org/gitlab/-/pipelines/385178475
- https://gitlab.com/gitlab-org/gitlab/-/pipelines/385179248
Updated the duration to be the one whichever took longer in the 2 pipelines.
After:
Caveat:
If a particular Rails task is only distributed in one single job, it does not enjoy the benefit of Spring and it'll run much slower than expected with Spring enabled. Spring support was introduced in !71696 (merged)
This can happen because we're not distributing jobs with the constant overhead from Spring in mind. Perhaps we should try to put all Rails related tasks into the same job, or at least try to put them together.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342673 (closed)