~/talk

Improving CI efficiency with Bazel querying and bazel-diff

Talkat BazelCon 2023 · 2023-10-24..10-25
slides:none on file

Spotify centralizes iOS, Android, Web and C++ into a single monorepo (~10 million lines of code, ~8,000 commits/month) and uses Bazel queries plus bazel-diff to compute impacted targets by comparing per-target SHA256 hashmaps between revisions. A diff job emits the minimal affected target set, pipeline tasks map to query results via YAML, and CI skips irrelevant builds; this reduces build agent usage by about 30% while keeping precise per-platform test coverage.

AI-written summary · about

~/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.