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

clever-crayon-70731

10/13/2022, 7:58 AM
I'm trying to figure out why Pants is giving me memoized test results in some cases when dependencies have clearly changed. What's a good way to investigate this?
w

wide-midnight-78598

10/13/2022, 12:03 PM
Quick q: What OS? and are you running
./pants test ::
?
If you happen to be on WSL, this is a known issue outside of the home dir: https://github.com/pantsbuild/pants/issues/16534 https://github.com/pantsbuild/pants/issues/10445
c

clever-crayon-70731

10/13/2022, 2:17 PM
Yes, running
pants test ::
and I'm on Ubuntu 18.04 I think it happened after I renamed a directory. From then on somehow Pants wasn't seeing any of the changes I made anywhere inside the then-renamed directory.
And everything I (test, lint, fmt etc.) operated on the state that the directory contents were in before the renaming
6 Views