Imagine you’re reviewing a small fix. A user can submit a form twice by double-clicking, so you ask a coding agent to fix it. The pull request arrives with a reasonable explanation. The first click now disables the button, and there’s a test showing that two clicks produce one request.
Would you approve it? I’d be tempted. I can picture myself reading the test, checking the line that disables the button, and thinking, yes, that’s what I asked for.
Now imagine you’re the person using the form. You click Submit once. The request fails. An error message says “Please try again.” The button is still grey.
What interests me here is how easily I could miss that bug while taking the review seriously. I followed the explanation, read the code, and checked the test. All three kept my attention on the same pair of clicks. The person with the broken form only clicked once.
That’s one influence an AI summary can have on a code review. By the time I open the diff, I already have a question in my head. In this case it’s “Does this stop a duplicate submission?” It’s a good question. It also came from the same place as the implementation and the test.
For this change, I’d like to have one question of my own before I approve it: “After a failed submission, can I still use the form I just spent five minutes filling out?” I could ask the agent to trace that path. I could try it in the browser. Either way, I’d have a better reason to put my name on the review.
If you review AI-generated code, what’s a question you ask that rarely makes it into the pull request description?
