quaint-telephone-89068
11/26/2022, 11:53 AM.pants.d/pants.log shows messages like
06:50:26.74 [INFO] notify invalidation: cleared 1 and dirtied 26 nodes for: {"", "ignored_dir"}
06:50:26.74 [INFO] notify invalidation: cleared 1 and dirtied 5192 nodes for: {"ignored_dir", ""}
I've created a fake PR #17641 to reproduce this exact issue
I'd argue that the pants_ignore behavior seems to be correct. Even though "touch" actually changes the directory above, it's affecting a path we explicitly don't care about.
Pants version
Found on 2.13.0 but can repro on current main (ede74f2)
OS
Only tested on Linux
pantsbuild/pants