-
Notifications
You must be signed in to change notification settings - Fork 20
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
Bot double-commenting #277
Comments
I was wrong. The problem happens when you the comment box and click "Close pull request". This causes two events, both by a real person: comment created and pull request closed. The bot handles them in parallel, causing two comments. |
nedbat
pushed a commit
that referenced
this issue
Nov 14, 2023
This check (that the comment create date and the pull request closed date are the same) might not be 100% fool-proof. If they are off by one second, the bot will still comment twice, but that should be unlikely.
nedbat
pushed a commit
that referenced
this issue
Nov 15, 2023
This check (that the comment create date and the pull request closed date are the same) might not be 100% fool-proof. If they are off by one second, the bot will still comment twice, but that should be unlikely.
Fixed in #278. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(From #273)
The comment should be ignored if the bot created it, and I thought the bot already did ignore those?
The text was updated successfully, but these errors were encountered: