cool-easter-32542
02/07/2024, 5:47 PM> pants \
--changed-since=origin/main \
tailor --check \
update-build-files --check \
lint
However, if I delete a package, including its BUILD file in a PR, the --changed-since flag causes tailor to try to run on those files, which pants blows up on:
16:40:57.91 [ERROR] 1 Exception encountered:
Engine traceback:
in `tailor` goal
IntrinsicError: Unmatched glob from `--changed-since`: "aws/projects/my_project_name/*"
Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to <https://www.pantsbuild.org/v2.19/docs/troubleshooting#pants-cannot-find-a-file-in-your-project>.
Exited with code exit status 1
If files are deleted, yes, they are changed, but they shouldn't throw an error.
Pants version
2.19.0
OS
Linux (CircleCI Ubuntu executor)
Additional info
N/A
pantsbuild/pantscool-easter-32542
02/08/2024, 2:39 PM