r/coderabbit • u/Top-Test4279 • 15h ago
Discussion & Feedback What's the dumbest thing an agent did that still passed review?
1
Upvotes
I'll start. Asked it to make a flaky test stable. It added a retry around the assertion. 5 retries. The test now passes 100% of the time because it eventually just catches the one run where the race condition doesn't happen.
Two of us approved it. coderabbit actually commented "retrying an assertion may hide a real failure" and we resolved it as "it's fine, it's a test".
It was not fine, it was the bug.
What's yours?