logoalt Hacker News

svara • today at 8:15 PM • 1 reply • view on HN

> from (...) intent review to nothing; from local agents to cloud agents; from individual session management to building a system of automations to take care of a lot of day-to-day work.

Some system still needs to ensure quality. How do you do it?


Replies

fishtoaster • today at 8:52 PM

We recognized that code review was never a good way to achieve that and leaned into all the other ones: testing, linting, type checking, static analysis, observability, alerting, analytics, gradual rollout, automatic rollback.

Each of those is cheaper to implement than ever. I've tried to institute full e2e testing at every seed stage startup I've worked at and it's never stuck because of the maintenance costs. Now those are zero and so we can have it for free!

Then we layered on the new quality tools AIs give us: agent code review, agent bug review, fully-automated dependency upgrades. When you can have an AI run down every `Cannot read properties of undefined (reading 'toString')` that ever comes up in your app, your overall code quality goes up. And if you'd told me every dependency we have would be up constantly patched and up-to-date with zero dev effort a year ago, I'd have thought you were crazy.

For context, our system is probably in the middle range of needing quality: more than a video game, less than a bank.

If we were a bank, I'd probably look into heavier-weight tools: formal verification, fuzz and load testing, table-driven tests, property testing, mutation testing, and more. Making humans review code for correctness is not something I'd reach for at this point.

➕ show 1 reply