a target's fingerprint isn't transitive into its d...
# general
w
a target's fingerprint isn't transitive into its dependencies... but a cache key might be, depending on the task that created it
a
Test my understanding If the targets transitive dependencies changed, the cache_key will change, but the fingerprint will not change?
w
if the Task uses
self.invalidated(.., invalidate_dependents=True)
, yes
if
invalidate_dependents=False
, i believe the cachekey will not be transitive (i don't know if it will be exactly equal to the fingerprint though... wouldn't assume that)
oh, yea: it won't be equal to the fingerprint, because it will include the Task's fingerprint: https://github.com/pantsbuild/pants/blob/master/src/python/pants/task/task.py#L281