monorepo CI/CD under AI-driven volume
Uber's merge queue absorbs 44% AI PR surge by relaxing conflict validation post-merge AI EngineerTL;DW
- Uber's merge queue (Summit Queue) now handles 300 lands per hour at peak, a 233% increase since January, primarily driven by AI-generated pull requests increasing from 90 to 130 requests per hour in two months.
- Admission gating categorizes incoming changes as small or expensive based on target analysis; expensive changes are rejected during peak hours, increasing throughput 20% but requiring developers to retry outside business hours.
- Deferrals queue persists rejected expensive changes and automatically replay them when capacity allows, eliminating manual retry burden on developers while maintaining throughput controls.
- Conflict relaxation uses Jaccard scoring to rank target overlaps between changes, dropping weaker dependency edges to achieve configurable parallelism (e.g., 50%) instead of serializing all conflicting changes.
- Post-merge validation system (Stovepipe) validates commits after landing, maintaining a verified main pointer only for known-good states; broken combinations are detected and require manual fixes or reverts.
- Hybrid validation approach: pre-merge testing on critical paths plus post-merge exhaustive validation allows higher throughput while catching integration failures after landing rather than before.
- P95 land time maintained at 30 minutes despite 3.3x throughput increase by relaxing pre-merge validation constraints and validating untested combinations post-landing.
- Planned improvements include batching related changes to reduce build count, per-service/project green status instead of single trunk pointer, and automating fix/revert deployment to reduce recovery time.
TL;DW
- Uber's merge queue (Summit Queue) now handles 300 lands per hour at peak, a 233% increase since January, primarily driven by AI-generated pull requests increasing from 90 to 130 requests per hour in two months.
- Admission gating categorizes incoming changes as small or expensive based on target analysis; expensive changes are rejected during peak hours, increasing throughput 20% but requiring developers to retry outside business hours.
- Deferrals queue persists rejected expensive changes and automatically replay them when capacity allows, eliminating manual retry burden on developers while maintaining throughput controls.
- Conflict relaxation uses Jaccard scoring to rank target overlaps between changes, dropping weaker dependency edges to achieve configurable parallelism (e.g., 50%) instead of serializing all conflicting changes.
- Post-merge validation system (Stovepipe) validates commits after landing, maintaining a verified main pointer only for known-good states; broken combinations are detected and require manual fixes or reverts.
- Hybrid validation approach: pre-merge testing on critical paths plus post-merge exhaustive validation allows higher throughput while catching integration failures after landing rather than before.
- P95 land time maintained at 30 minutes despite 3.3x throughput increase by relaxing pre-merge validation constraints and validating untested combinations post-landing.
- Planned improvements include batching related changes to reduce build count, per-service/project green status instead of single trunk pointer, and automating fix/revert deployment to reduce recovery time.
Uber's Summit Queue hit P95 land times of 3–4 hours as AI-generated PRs spiked volume 44% in two months across a 36,000-change/week monorepo. Three fixes—admission gating, off-peak deferrals, and conflict-graph relaxation—restored 30-minute P95 and lifted throughput to ~300 lands/hour, with Stovepipe handling post-merge verification of untested combinations.
