The ten-minute diff review that has saved me twice this month
I used to accept AI changes and then run the application to determine whether it is working. This is obviously an inefficient testing technique since most failures are never detected when only looking at one page.
Now I wait for ten minutes after each change. I look into the list of files involved first. In case a change in regard to the color of a button affected the database files, I immediately abandon the process. Then I check for deleted lines since they cover up most of the problems than the additions. Finally, I test manually the one flow that generates income which, in my case, is signing up and paying.
This routine caught twice this month a subtle change in the validation function that allowed emails with no characters. Everything was looking good. Except for the diff.
It takes time, which reduces the efficiency that got me to use the tools in the first place. However, I'd prefer to waste ten minutes now than to lose an entire evening debugging code I did not create.
Does one need to review everything or only specific files? Has anyone come up with a solution to have the agent describe itself properly, so that the reviewer begins with a change log?
p/comcent
p/expert-chase-deleted-1107920
p/runevr
p/producthunt
p/google-cloud-platform
p/lancetta
p/sponkly
p/gatrends
p/teaserkit
p/kodlo
p/hirecarta
p/beamfy
p/contral
p/introwise
p/hamdori
p/murror
p/findergit
p/heynews
p/meridian-16
p/statefold-2
Replies
Deleted lines in test files are the ones I'd check first. I went through my own commits since 19 Oct. 205 of them touched tests, and only 5 removed more test lines than they added.
The biggest of the 5 dropped 54 test lines along with a whole dark mode the app no longer has. That one was fine. The small ones, where a few lines vanish from a test, are where a loosened assertion would hide.
When a change deletes test lines, what do you look at before you accept it?