Skip to content
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

fix: removing LGTM comments with reviews #109

Merged
merged 1 commit into from Aug 30, 2022
Merged

Conversation

codebytere
Copy link
Member

Fixes issue seen in electron/electron#35438 and electron/electron#34526, where reviewers who left API LGTM comments would not have those comments recognized as formal approvals.

We were incorrectly making the implicit assumption that people who were commenting were not also reviewing. - the logic deduplicates but also potentially filtered out LGTM comments from people who had also left a review with no comment body.

This fixes that by initially filtering out all reviews with no comment body.

@codebytere codebytere merged commit 70b1c01 into main Aug 30, 2022
@codebytere codebytere deleted the fix-deduplication-whoops branch August 30, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants