witty-crayon-22786
04/11/2017, 9:45 PMcreate_results_dir
if you have Task.cache_target_dirs
or Task.create_target_dirs
setrough-dog-96241
04/11/2017, 9:45 PMwitty-crayon-22786
04/11/2017, 9:45 PMwitty-crayon-22786
04/11/2017, 9:46 PMTask.invalidated
blockrough-dog-96241
04/11/2017, 9:46 PMwitty-crayon-22786
04/11/2017, 9:47 PMrough-dog-96241
04/11/2017, 9:48 PMrough-dog-96241
04/11/2017, 9:48 PMwitty-crayon-22786
04/11/2017, 9:48 PMwitty-crayon-22786
04/11/2017, 9:49 PMrough-dog-96241
04/11/2017, 9:50 PMwitty-crayon-22786
04/11/2017, 9:51 PMwitty-crayon-22786
04/11/2017, 9:51 PMinvalid
, and is rebuiltwitty-crayon-22786
04/11/2017, 9:51 PM.pants.d
are not reused.... only the cacherough-dog-96241
04/11/2017, 9:52 PMrough-dog-96241
04/11/2017, 10:00 PM.cache
directory. But. I'm definitely seeing directories in .pants.d get re-used if the target is valid. (The results_dir variable is a path to a current
symlink inside .pants.d
. That symlink points to a directory with a hash that seems to have nothing to do with the cache key hash.) I'm observing the cache key hash changing, the vt stays valid because it's a previous cache key, and the results_dir current
symlink remaining the same. Is this potentially a bug?witty-crayon-22786
04/11/2017, 10:03 PMwitty-crayon-22786
04/11/2017, 10:03 PMrough-dog-96241
04/11/2017, 10:03 PMwitty-crayon-22786
04/11/2017, 10:03 PMwitty-crayon-22786
04/11/2017, 10:04 PMTask.invalidated(.., invalidate_dependents=True)
?rough-dog-96241
04/11/2017, 10:04 PMwitty-crayon-22786
04/11/2017, 10:04 PMrough-dog-96241
04/11/2017, 10:05 PMrough-dog-96241
04/11/2017, 10:05 PMrough-dog-96241
04/11/2017, 10:05 PMrough-dog-96241
04/11/2017, 10:05 PMwitty-crayon-22786
04/11/2017, 10:06 PMrough-dog-96241
04/11/2017, 10:06 PMrough-dog-96241
04/11/2017, 10:14 PM