Technology

Uber let trunk break to ship AI code faster

Uber's merge queue hit 130 requests an hour on AI diffs, so engineers let trunk break and fix after.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

Preetam Dwivedi, staff engineer on Uber's developer platform, told AI Engineer that AI-written code broke his merge math. He said SubmitQueue took 90 requests an hour in January 2026 and 130 by March, a 44% jump tied to AI diffs, while P95 land time stretched from 30 minutes to three to four hours.

Uber let trunk break to ship AI code faster - AI Engineer
Uber let trunk break to ship AI code faster, AI Engineer

The trunk stayed green. Developers stalled.

Dwivedi described more than 5,000 developers landing over 36,000 commits and 27,000 PRs a week across six monorepos, with Go as the scaling pain. He said three older tricks carried the human era, with target analysis to run disjoint builds in parallel, probabilistic speculation to run likely builds first, and bypass to let small changes jump large ones.

Manjari Akella, senior engineer alongside Dwivedi, said the team answered AI volume with admission gating and deferrals. She said gating sorts small changes from expensive ones and turns expensive ones away at peak, which lifted business-hours throughput from 130 to about 160 lands an hour, while deferrals persist rejects in a second queue and replay them when capacity frees.

She said conflict relaxation bought the real gain by scoring overlaps from zero to one with Jaccard similarity and cutting weak links to force parallel lanes, taking peak to almost 250 and sometimes 300 lands an hour with P95 back at 30 minutes. She conceded the cost, she said, since skipped combinations can land untested and break main, so StowPipe validates post-land and holds a verified main pointer until builds pass.

The queue pain is familiar outside code. Drivers who work Uber and Lyft argue the same throughput math at airports, with one driver account saying hour-plus airport waits rarely pay so he skips them after drop-off. Uber chose the opposite for code, taking more volume and cleaning up after.

Dwivedi still framed a green trunk as the goal. Akella treated a broken trunk as the price and left recovery manual, with on-call paged to fix or revert. Neither said how often AI diffs cause those breaks, or who should own them when 5,000 humans share blame with models. Who gets paged when the bot that wrote the code cannot revert it?

Mentioned in this story

Markets

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsUberSubmitQueueStowPipePreetam DwivediManjari AkellaAI EngineerGoLyft

StartupHub.ai Staff

Written by

StartupHub.ai Staff

Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer

Written by

Daniel Singer

Editor, reviewed this article

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.