Skill 3.6.2
Optimize a pipeline for cost, time, performance, and reliability
Key Concepts
Time improves through caching, parallel jobs, path filters and running fast tests first. Cost improves through fewer unnecessary runs, cheaper runner types, and cancelling superseded runs.
Reliability improves through retries for transient steps, pinned tool versions, and removing flaky tests. Find the slowest step first, because optimizing elsewhere gives little benefit.