Hacker News new | ask | show | jobs
by svara 3 days ago
> 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?

1 comments

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.

> full e2e testing (...) Now those are zero and so we can have it for free!

Full e2e testing turns a 2min ci run into a 40min ci run for many applications. Which impacts rollbacks and iteration speed. I wouldn't classify that as zero cost even with agents.

The main blocker used to be that waiting on e2e results and acting up on it. Agents can just launch CI jobs wait on it, while I am working on something, they can keep doing that until its ready for my review. They can also just launch smaller ones for the fixes they do, and most of the new model can one-shot easily that we are failing e2e due to a stupid mistake.
So you intentionally exclude the sole source of truth on correctness from your correctness checks? Did I understand you?
No, I'm afraid you do not. That would be a bad-faith interpretation of what I've described.
So then you are still manually reading, understanding, and checking the code?

Because that is the source of truth, and you stated that you're not doing human reviews of that anymore.

"Someone read the code and says it looks good" is pretty low on my list of "signs of correctness". I wouldn't even bet that it compiles after that "source of truth".
Unfortunately, for most business people the sole source of "correctness" is "did the check clear?" After that, in descending order it's:

- do the higher ups complain or do they reward me? Rewards == I do more of that

- do my coworkers complain or praise me? Praise == that's what I'll do

- am I receiving external complaints, or external silence? Silence == good (basically nobody ever seems to get truly external-to-their-team/company praise)

Everything in engineering is tradeoffs- usually time vs some other good, but it varies. Physical engineers have to solve similar constraint problems around tradeoffs with cost, speed, safety, aesthetics, and more. If you think you're not making tradeoffs, you're not an engineer.

Most employees need to use some proxy for whether they made the right tradeoff. Feedback from coworkers, superiors, or customers are one such proxy.

One of my favorite things about seed stage startups, though, is that you're exposed through the proxies pretty directly to the only[0] thing that matters: does the company survive and prosper or does it die? No matter what anyone else says to you about your work, the market is the ultimate grader.

[0] with a base floor of "...while still being reasonably ethical"