~/talk

Speed Up PR Tests with Smart Code Coverage-Based Selection

links:none on file
slides:none on file

Uses JaCoCo to record per-test coverage, stores a map of class → tests in Redis, and looks up changed files on each PR to run only relevant tests; the coverage map is rebuilt weekly by running tests sequentially with sequential per-test JaCoCo dumps (the full mapping job is ~6–7 hours). Mapping at class-level mapping keeps storage and lookup cheap; GitHub Actions + Jenkins coordinate selection, with a 30-test threshold that falls back to a full run. Result: about 5x resource reduction in practice, artifacts and blocking status checks preserve safety.

AI-written summary · about

  1. 0:00Introduction
  2. 1:57Code coverage selection
  3. 3:01Automatic selection design
  4. 5:31Coverage map pipeline
  5. 7:41PR validation with tests
  6. 10:56Implementation tools
  7. 13:08Real-world walkthrough
  8. 22:45GitHub Actions for PRs
  9. 32:25Next steps and AI research
  10. 33:33Q&A: Measuring success
  11. 36:08Q&A: Test level coverage
  12. 37:54Q&A: Shared code changes
  13. 38:59Q&A: Coverage map updates
  14. 39:23Q&A: Performance savings
  15. 41:23Q&A: Parallel execution limits
  16. 43:17Q&A: Complementing unit tests
  17. 44:21Q&A: Large coverage databases
~/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.