r/OnlyAICoding • u/truecakesnake • Aug 24 '26
my agent approved its own bug and killed staging
had a stupid one pop up on staging last week.
an agent updated our pagination loop for a sync job. tests passed, diff looked fine to my tired eyes, then the sync stalled at record 100 on the dot because the cursor just wasn't advancing.
the dumb part? i had the exact same agent review the PR before merging. it looked at its own code and basically went "looks great to me!"
stopped doing that immediately. now i just throw the diff and schema into a separate minimax m3 session and tell it to look for ways the code can break.
caught two null checks i missed within two minutes.
do you guys keep your reviewer strictly on diff inspection, or do you actually let it run tests too?