https://pantsbuild.org/ logo
#general
Title
# general
h

happy-kitchen-89482

12/09/2022, 4:17 AM
Hi! Good question. Your understanding is correct - currently, the test batching feature gives you a knob to trade off cache granularity for overhead. Pants caching currently works by caching process executions. The advantage of this is that it's straightforward to reason about correctness, because all process inputs are mixed into the cache key, and the process execution is sandboxed.