I assume yes, but just to confirm — does Pants know how to handle caching when there are multiple Pants processes that will have access to the cache?
This is applicable for the CI use case — there is a single cache directory
$HOME/.cache/pants
that is shared by multiple builds that happen on the same node (each inside a Docker container with the mounted cache directory) at the same time.
w
witty-crayon-22786
05/03/2022, 4:36 PM
yes, it does. you’ll just want to ensure that the machines have consistent environments (not for correctness: just to get a good hitrate)