-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--loop --changed-since
does not behave entirely as expected.
#13757
Labels
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Yea, this would be good to fix. We also shouldn't eagerly re-run in case of exceptions. |
There has been some interest in tackling this one recently, so here are some thoughts on how to do so (roughly organized as things which could be separate commits, some of which could be separate PRs):
|
Merged
stuhood
pushed a commit
that referenced
this issue
Apr 12, 2022
First part of the suggested changes in [#13757](#13757 (comment)). This should leave `calculate_specs()` working "as is" for now while hopefully allowing something like `await Get(GitResult, GitRequest)` to get `Git` in other rules.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running
--loop
with--changed-since
, pants does not re-compute changed targets on each iteration.How to reproduce:
./pants --loop --changed-since=HEAD
./pants --loop --changed-since=HEAD
Pants version
2.8.0
OS
Linux
The text was updated successfully, but these errors were encountered: