flat-artist-9814
07/09/2024, 1:52 AMpants --changed-since=HEAD check
And it seems like pants check not only files that I changed, but also those files dependencies.
Is this an expected behavior?
Or I'm misunderstanding somethingflat-artist-9814
07/09/2024, 2:09 AM11:02:01.62 [32m[DEBUG][0m Executing: /usr/bin/git --git-dir=<my_repo>/.git --work-tree=<my_repo> diff --name-only HEAD -- <my_repo>
11:02:01.67 [32m[DEBUG][0m Executing: /usr/bin/git --git-dir=<my_repo>/.git --work-tree=<my_repo> diff --name-only HEAD...HEAD -- <my_repo>
11:02:01.69 [32m[DEBUG][0m Executing: /usr/bin/git --git-dir=<my_repo>/.git --work-tree=<my_repo> ls-files --other --exclude-standard --full-name -- <my_repo>
11:02:01.76 [32m[DEBUG][0m Launching 1 roots (poll=false).
11:02:01.77 [32m[DEBUG][0m computed 1 nodes in 0.006004 seconds. there are 8561 total nodes.
11:02:01.77 [32m[DEBUG][0m changed addresses: ChangedAddresses([Address(<file_that_i_modified>.py), Address(<modified_file_directory>:bin), Address(<modified_file_directory>:docker-pex-deps), Address(<file_that_i_not_modified>.py), ...])
I ran w/ debug options and saw these lines. Git commands actually files that I changed, but at changed addresses
stage, not modified files appearflat-artist-9814
07/09/2024, 2:09 AM--changed-dependents=none
is also setcurved-television-6568
07/09/2024, 4:12 AMflat-artist-9814
07/09/2024, 4:14 AMflat-artist-9814
07/09/2024, 4:19 AMcurved-television-6568
07/09/2024, 11:36 AMcurved-television-6568
07/09/2024, 11:37 AMrequirements.txt
file for instance, all targets that depend on requirements from that file will be invalidated, even if it doesn't depend on the package that was actually changed, as pants doesn't track that.