Skip to content

Speed up CI job `static-analysis` by skipping database load balancing

What does this MR do and why?

Similar to !71212 (merged) we disable the same thing for static-analysis because it has a significant difference.

Before: https://gitlab.com/gitlab-org/gitlab/-/jobs/1638364660

$ bin/rake lint:static_verification
==> Finished in 1213.472987885 seconds (expected 35 seconds)

After: https://gitlab.com/gitlab-org/gitlab/-/jobs/1638546004

$ bin/rake lint:static_verification
==> Finished in 27.062252328 seconds (expected 35 seconds)

To be fair, after !71466 (merged) the difference won't be so significant: https://gitlab.com/gitlab-org/gitlab/-/jobs/1638377633

$ bin/rake lint:static_verification
==> Finished in 89.720812794 seconds (expected 35 seconds)

But it's still 90 seconds vs 27 seconds.

Additional notes

Note that this is so slow that it can constantly timeout on forks without cache: #341928

Related to #341757 (closed)

Edited by Lin Jen-Shin

Merge request reports

Loading