Post #4271196
2026-07-30 18:13 UTC
The AI code-review bot my company uses just wasted 2 hours of my time. It reported a bug in cache logic in a PR. I didn't change caching, but it's a Rails app so unexpected invalidations and indeterminate staleness can both happen. Report said it doesn't invalidate properly, so I investigated but couldn't find the bug.
It was talking about the fact that these cache entries can be stale for up to 2 minutes, which is intentional. There's even a comment about it right above my changes.
Replies (0)
No replies.