~/talk

How Uber Manages Go Dependencies with Bzlmod

Talkat BazelCon 2023 · 2023-10-24..10-25· [developer-experience]
links:none on file
slides:none on file

Uber migrates a thousand-plus direct Go dependencies from go_repository rules into Bzlmod, using go.mod/go.sum as the source of truth and Gazelle to generate repos (currently via gazelle update repos and use_repo entries). Built a proxy-caching registry (Artifactory/BCR proxy) to avoid BCR outages, and automated tidy/cleanup steps planned for Bazel 7.1. Module.bazel grows to ~2,000 lines, overrides balloon to 100–200 entries, ownership mapped to directories with metadata reviewers — overrides and central module.bazel management are the remaining pain points.

AI-written summary · about

  1. 0:00Uber's Go dependency management
  2. 1:26Go repo rules pains in Bzlmod
  3. 2:53Bzlmod simplifies Go deps
  4. 3:55go.mod as Bzlmod source
  5. 4:58Bzlmod future improvements
  6. 5:43Migration strategy for Bzlmod
  7. 7:05Bzlmod internal registry
  8. 8:12Repository rules in module.bzl
  9. 9:17Dependency ownership in Bzlmod
  10. 10:22Overrides challenges in Bzlmod
  11. 11:27Bzlmod future and contributions
~/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.