Slashing CI Costs at Uber
Hundreds of engineers can commit changes to a single repository in modern software development, particularly within large and fast-paced technology companies [1]. This situation presents a significant challenge: efficiently managing these changes, quickly resolving conflicts, and ensuring that the mainline remains green. A mainline is considered green if all build steps—compilation, unit tests, and UI tests—successfully execute for every commit point in the repository history. Maintaining a green mainline is critical for enabling rapid development and deployment cycles. However, as highlighted in the Bernardo and Alenca study [2], landing changes rapidly while keeping the mainline green becomes increasingly difficult as the codebase grows in size and complexity, further compounded by the concurrency of changes submitted by numerous developers.
Uber