~/talk

Migrating Twitter's monorepo from Pants to Bazel

Talkat BazelCon 2020 · on Thursday, 2020-11-12· [devops-and-delivery, open-source]
links:none on file
slides:none on file

Twitter migrates its monorepo Source (20 million hand‑crafted lines and ~10× generated code, mostly Scala, plus Java, Python, NodeJS, Go and C/C++) from Pants to Bazel. Migration uses a translation layer that maps each Pants target to Bazel macros and loads them in Bazel prelude so existing build files run unchanged; a pilot proves some teams use Bazel daily and are happy. Remaining hard work centers on dependency resolution — experimenting with designs to support multiple incompatible versions across ~2,000 engineers.

AI-written summary · about

  1. 0:00Monorepo migration intro
  2. 1:44Why Twitter’s monorepo is large
  3. 2:47Pants versus Bazel differences
  4. 5:16Gradual migration strategy
  5. 8:11Handling model differences
  6. 10:20Next steps for teams
  7. 14:53Acknowledgments
~/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.