Closed mtlynch closed 2 years ago
To clarify, the course of events was:
It would have been cool if CodeApprove had warned me that there is an un-submitted line-level comment.
But regardless of that, I agree it shouldn’t have published the review-level comment again.
Thank you both for laying out how this happened! I will try to reproduce this.
(commenting for myself) investigating here a little bit and this is not just a frontend bug, the comment in question got into the database twice with different timestamps:
So for some reason, it was submitted twice even when @jotaen4tinypilot obviously did not intend to.
🤦 well this is a simple one! The "finish review" dialog doesn't clear its state after submitting, so if you submit back-to-back reviews without leaving the page it's really easy to send the same review-level comment twice.
Fix for this going out now!
Awesome, thanks for sorting that out!
On this review, CodeApprove is duplicating a review-level discussion thread:
From the history on Github, it looks like the reviewer:
It looks like somehow CodeApprove got confused by that flow and duplicated his review-level comment starting with "Shall we also move..."