flat-zoo-31952
11/18/2020, 11:09 PMrequirements.txt
, that causes nearly all targets in my repo to be counted as an affected transitive dependency in ./pants --changed-since= --changed-dependees=transitive *
commands. I suspect the target list is all targets that are using dependency inference, but i haven't confirmed this yet. Is this behavior expected? It seems like all dependnecy inference targets are depending on requirements.txt
as a whole, which is bad because it means any change in requirements will trigger tests and rebuilds of everything in the repoflat-zoo-31952
11/18/2020, 11:12 PMhundreds-father-404
11/18/2020, 11:13 PMflat-zoo-31952
11/18/2020, 11:14 PMpython_requirement_library()
?hundreds-father-404
11/18/2020, 11:19 PMhundreds-father-404
11/18/2020, 11:21 PMflat-zoo-31952
11/18/2020, 11:29 PMhundreds-father-404
11/18/2020, 11:31 PMpython_requirement_library
to your BUILD file for everything?
I think you will still hit a similar issue - when you change a BUILD file, every target defined in that BUILD file is invalidated because we can’t detect which targets you changed (we don’t persist to disk what the target’s metadata was before)hundreds-father-404
11/18/2020, 11:34 PM—changed-since
, or of updating not changing things until you restart pantsd
I’m not sure how hard 7022 is. Stu has more context, and it was an idea for Q4 prioritizationflat-zoo-31952
11/18/2020, 11:38 PMwitty-crayon-22786
11/18/2020, 11:39 PMflat-zoo-31952
11/18/2020, 11:40 PMwitty-crayon-22786
11/18/2020, 11:42 PM--changed
logic against our runtime graph rather than the build graph), but have been waiting for the plugin API to settle down a little bit before tackling it.hundreds-father-404
11/18/2020, 11:44 PM—changed
is one of the most used features in pants, so making it more precise is highly leveragedflat-zoo-31952
11/19/2020, 12:23 AM--changed-*
working right is everything that matters to me. It's the difference between a working and non-working monorepo solutionflat-zoo-31952
11/19/2020, 12:23 AMwitty-crayon-22786
11/19/2020, 12:26 AMhundreds-father-404
11/19/2020, 12:27 AMflat-zoo-31952
11/19/2020, 12:46 AM--change
invalidation granularity?flat-zoo-31952
11/19/2020, 12:46 AMwitty-crayon-22786
11/19/2020, 12:49 AM