We're calling `pants` ~from `pre-commit`~, and I s...
# general
m
We're calling
pants
from
pre-commit
, and I sometimes see the error (in ๐Ÿงต ) when running on a mac... Any pointers / ideas on what may cause this?
Error:
Copy code
IntrinsicError: Could not identify a process to backtrack to for: Missing digest: Was not present in the local store: Digest { hash: Fingerprint<59f05230
69a857ae918b8ac0774230013f7bcc00c1ea28119c2311353120867a>, size_bytes: 2514960 }
Command:
Copy code
pants --no-pantsd --changed-since=HEAD --no-dynamic-ui fmt lint check
ah, pre-commit is a red-herring... It still happens when running with just
pants
Perhaps something with caching gets messed up?
g
๐Ÿ‘ 1
m
Ah, thanks for the pointer
h
@modern-london-16641 are you able to reproduce this consistently? That would be gold
m
It's not consistent unfortunately ๐Ÿ˜ž
h
Argh, well, if you find anything that points towards a repro or a cause, please update that ticket. Thanks!
๐Ÿ‘ 1
m
Ok, following up here... We have SentinelOne installed by our corp profile... I think it was picking up on some files generated by the linter (in the cache, perhaps) and "quarantining" them false-ly as viruses. I'll keep an eye out, but for the O(day) that we've "fixed" this, my problem went away
And to folks that stumble upon this, we "fixed" it by adding the files (and directories) to the "exclusion" list in SentinelOne
h
Ooooooooooffffff
that is something
Can you comment with this info on https://github.com/pantsbuild/pants/issues/19748 ? This happens when the cache is partially corrupted, and this is one non-intuitive way the cache can get messed up
m