Vattenfall changes the math on concurrent PRs with Nx Agents
Blog post from Nx
Vattenfall, a leader in energy production, faced significant challenges with their continuous integration (CI) infrastructure as their development teams and codebase grew, leading to bottlenecks due to the limitations of their CI provider, which allowed only 100 CI runners. Their workspace's requirement of 25+ runners per pull request (PR) restricted them to only four concurrent PRs, slowing progress. By collaborating with the Nx Enterprise team and implementing Nx Agents, Vattenfall overcame these limitations, enabling 100 concurrent PRs and reducing CI runtimes by 44%. Nx Agents facilitated task distribution without consuming CI runners, allowing for scalable concurrency and faster CI processes. This advancement also enabled the detection and management of flaky tests, reducing re-runs, and allowed the regular use of RenovateBot for automating dependency updates, which previously consumed valuable CI resources. The implementation of Nx Agents proved beneficial not only in terms of efficiency and speed but also in inspiring other business units within Vattenfall to consider similar solutions.