real bugs found
scenarios with an automated test
We gave zerd and Claude Code the same job, then attacked what each one built.
zerd tested on a real database, a real queue and a really killed process. That is how it found bugs that fake versions can’t show.
real bugs found
scenarios with an automated test
real bugs found
scenarios with an automated test
Both tools got the same task on separate branches: build a payment webhook service. It checks signatures, never processes the same event twice, keeps an outbox, runs queue workers, retries failures, parks dead jobs and lets an admin replay events. Then both attacked it with the same 15 scenarios, including:
Each area is something both tools tested, in different ways. Pick one.
A real PostgreSQL database (a schema-only copy, in its own isolated database).
An in-memory fake repository.
Why it matters. A fake can’t show SQL mistakes, locking problems or half-finished transactions.
Running against the real thing turned up bugs that in-memory tests can’t show. Eight of the twelve. Open one.
What was wrong and how zerd fixed it. Unquoted camelCase names in the SQL meant no webhook ever reached the database.
What was wrong and how zerd fixed it. Two requests overwrote each other (a lost update). Fixed with row locking and a transaction.
What was wrong and how zerd fixed it. A timezone bug on a machine set to IST. Fixed by using UTC.
What was wrong and how zerd fixed it. With Redis down, one call hung forever. Fixed with a time limit.
What was wrong and how zerd fixed it. The recovery sweep ignored events in the RECEIVED state.
What was wrong and how zerd fixed it. Fixed by claiming each event inside a transaction.
What was wrong and how zerd fixed it. It happened after the side effect had already run.
What was wrong and how zerd fixed it. BullMQ rejected job ids that contain a colon, so the original enqueue path never added a job.
Claude Code found a crash in the failure path caused by an undefined value, and admin retries that corrupted the attempt history. It also found one bug zerd missed: a refund being applied before its payment when events arrive out of order. It said plainly that it had not touched a real Postgres, Redis, HTTP server or process kill.
Real webhooks break when two workers do the same job, when a database commits but the queue call fails, when a process dies between two steps, when a retry is scheduled wrong, or when a payment event arrives out of order. Code can read correctly and pass in-memory tests and still get all of those wrong. Running against the real database, the real queue and a really killed process is how you find out which.
Read this as depth, not a ranking. It was one project and one run each. In a separate round of 11 mixed tasks, both tools passed the same number. Full details in the docs.