~/talk

How Google Uses LLMs to Migrate Code Across Its Monorepo

links:none on file
slides:none on file

Google builds a deterministic LLM pipeline that finds references via the Kite code index (tracing up to five hops), categorizes every hit, runs an internal Gemini model at temperature zero in three passes with parsers that reject whitespace or syntax-breaking edits, and auto-creates PRs with presubmit tests and owner notifications for staged rollout. The team migrates 39 IDs from int32 to int64 in 9 months, hits 35% AI-only, 38% AI+human, 25% human-only, and notes failures from golden files, preexisting test failures, and context-window limits.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:52Google's monorepo challenges
  3. 10:06Problems with manual migrations
  4. 12:13AI-powered migration system overview
  5. 21:02Prompt engineering for code changes
  6. 23:31Validating AI-generated changes
  7. 32:27Measuring success and metrics
  8. 34:40Lessons learned from automation
  9. 39:58Other migration examples
  10. 43:52Conclusion and papers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.