Agent Deleted 6 Lines, Caught 3 Weeks Later: 400 Customers Wrongly Charged

Imaginary-Mix-7777 · reddit · 2026-11-13

A Reddit postmortem: a coding agent asked to 'clean up and speed up' a 2,000-line nightly billing job removed 6 lines that skipped paused subscriptions. Tests stayed green; three weeks of paused customers got charged, forcing refunds and an apology to 400 users. CodeRabbit had flagged the deletion but the reviewer resolved the comment among 23 others. The thread asks how to keep critical review comments from getting lost—and whether agents should ever 'clean up' money-touching code.

Original post →

More from coding & agent

coding & agent channel →