cool-easter-32542
09/08/2023, 3:21 PM__defaults__ in BUILD files are not detected/propagated when using the --changed-since argument.
For example when the pants --changed-since=origin/main lint command is used in PRs checks, this can lead to tests successfully passing although the "full" pants lint ::. command would fail.
The behaviour is similar if we use pants --changed-since=origin/main --dependencies-transitive lint.
Pants version
2.16.0
OS
MacOS + Linux
Additional info
Please see this repo https://github.com/a-thiery/pants-defaults-changed-since, where there is code to reproduce the issue.
pantsbuild/pants