-
Notifications
You must be signed in to change notification settings - Fork 104
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
Contributors ignored during a single evaluation #63
Comments
I think this is a dupe of #52. |
No I actually think this is a separate issue. I interpret #52 as user confusion that a PR-level comment containing the string My issue here is that a comment on a single line of a diff caused the entire PR to be approved. |
Your comment only triggered an evaluation of the pull request. Review comments (i.e. comments that are part of a review or are attached to a specific line of the diff) are not loaded or considered by policy-bot and the logs confirm that you were not considered as an approver. What actually happened is that policy-bot did not consider @dansanduleac a contributor for that one evaluation and counted his original approval as fulfilling the I will try to figure out what caused this, but it's likely related to the commit loading changes in 1.7.0. That version has already been rolled back to 1.6.1 due to another problem. |
I believe the root cause of this problem is that the new commit loading in 1.7.0 uses the commit count reported as part of the pull request object to know how many commits to list, but If the policy used the |
Edit: see comment for a summary of the underlying bug.
I left a comment on a single line of this PR (palantir/gradle-conjure#136), but it seems it caused the entire thing to merge.
Interestingly, the UI seems to still say the PR has not yet been approved, but the status check went green so bulldozer mnerged it.
The text was updated successfully, but these errors were encountered: