fresh-architect-74417
02/26/2019, 8:24 PMwitty-crayon-22786
02/26/2019, 8:24 PMfresh-architect-74417
02/26/2019, 8:25 PMfresh-architect-74417
02/26/2019, 8:26 PMwitty-crayon-22786
02/26/2019, 8:29 PMfierce-park-88503
02/27/2019, 12:46 AMfierce-park-88503
02/27/2019, 12:47 AMmodern-daybreak-51953
02/27/2019, 2:39 PMfresh-architect-74417
02/27/2019, 9:48 PM./pants options --cache-read-from=['<http://www.google.com|www.google.com>'] |grep read_from
cache.read_from = ['/home/ahmed/repo/.cache'] (from HARDCODED)
cache.options.read_from = ['<http://www.google.com|www.google.com>'] (from FLAG)
Is the option cache.options.read_from suppresses cache.read_from option?witty-crayon-22786
02/27/2019, 9:49 PMwitty-crayon-22786
02/27/2019, 9:49 PM./pants --cache-read-from=['<http://www.google.com|www.google.com>'] options | grep read_from
insteadwitty-crayon-22786
02/27/2019, 9:50 PMcache
subsystem is scoped, so you can set the options differently for each task)witty-crayon-22786
02/27/2019, 9:50 PMfresh-architect-74417
02/27/2019, 9:51 PMwitty-crayon-22786
02/27/2019, 9:52 PMpants.ini
, that's the difference between putting something in [cache]
or in [cache.options]
(where cache.options
is the cache scope of the options
task). more info here: https://www.pantsbuild.org/options.html#setting-option-valuesfierce-park-88503
02/28/2019, 7:22 PMfierce-park-88503
02/28/2019, 7:23 PM./pants test
with some --changed-since flags lists test as âSUCCESSâ but doesnât actually run them. which I believe means its caching the âsuccessâ result somewhere? but no matter how many cache locations I try to find and clear, it still seems to ârememberâ cached successeswitty-crayon-22786
02/28/2019, 7:24 PM./pant options | grep cache.test.pytest
will tell you what it is configured to on your machine.witty-crayon-22786
02/28/2019, 7:24 PM--cache-ignore
positionallywitty-crayon-22786
02/28/2019, 7:25 PM./pants --cache-ignore test $target
would ignore the cache for the entire run (not just test)witty-crayon-22786
02/28/2019, 7:25 PM./pants test --cache-ignore $target
would ignore the cache for just testfierce-park-88503
02/28/2019, 7:27 PMfierce-park-88503
02/28/2019, 7:28 PMwitty-crayon-22786
02/28/2019, 7:29 PM--cache-ignore
, do you see a repro?fierce-park-88503
02/28/2019, 7:29 PM--cache-ignore
, does not reprofierce-park-88503
02/28/2019, 7:30 PMwitty-crayon-22786
02/28/2019, 7:30 PM--chroot
and --no-fast
for tasks that you use caching for.witty-crayon-22786
02/28/2019, 7:31 PMwitty-crayon-22786
02/28/2019, 7:31 PM--no-fast
is easier to try, so worth experimenting with in your repo.fresh-architect-74417
02/28/2019, 9:06 PMSUCCESS
message?