~/talk

Validation actions: correct builds off the critical path

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

Bazel adds a mechanism that collects dummy outputs into a validation output group so lint and static-analysis actions can run off the critical path and even run in parallel with tests, letting expensive checks like Android Lint execute after normal build actions finish. Implementation reuses output groups (not aspects) to avoid extra memory and analysis cost; limitations include overt triggering (validation runs whenever a touched target contains one) and resource-driven parallelism, and the API feels clunky and needs finer-grained controls.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Validation actions matter
  3. 1:03Traditional validation workarounds
  4. 2:11Validation actions in Bazel
  5. 3:34Limitations of validation actions
  6. 6:26Overt triggering issues
  7. 7:50Future API enhancements
  8. 8:33Documentation
  9. 8:54Q&A
~/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.