Show HN: QueryDrift fail CI when a PR turns 1 query into N
Category: devtools
Tags: n-plus-one, ci-tool, postgresql, performance, testing
Score: 7.0/10 (Innovation: 7, Technical: 6, Documentation: 8, Utility: 7)
QueryDrift is a tool that automatically detects N+1 query regressions in Node.js/TypeScript projects by capturing and diffing query patterns during CI, preventing silent performance issues from reaching production. It works offline with no external dependencies, integrates seamlessly with Prisma and raw PostgreSQL, and offers machine-readable output for AI agent integration.
Target audience: backend devs
Repository: https://github.com/AALXX/QueryDrift · TypeScript · MIT
View on Hacker News