hn.today

How I Stopped Dreading 9000-Line PRs and Remain the Engineer

technology.doximity.com56 points63 comments
Screenshot of How I Stopped Dreading 9000-Line PRs and Remain the Engineer

The piece argues that AI-assisted code review should replace the labor of extracting meaning from enormous diffs, not the engineer’s responsibility for architectural judgment. Reviewers still need to assess whether a change matches business intent, fits the system’s design, and protects maintainability; general-purpose models often miss these concerns because they lack organizational context and are not trained to measure long-term codebase health. The author’s review skill gathers context from tickets and product or technical documents, explains how a change works, maps affected architecture, and surfaces verified risks with evidence, severity, and likely consequences. The engineer decides what matters, asks follow-up questions, edits suggested comments, and chooses whether to approve or request changes.

The approach is illustrated with a CSV audience importer: the agent described its validation and transactional update, then raised concerns about deployment sequencing, large uploads, blank lines, and misleading documentation. The reviewer used team conventions and production data to dismiss or refine some findings, while keeping useful suggestions. Review skills can be built from a person’s past PR feedback, taught to follow their communication style, and improved by recording corrections and looking for recurring patterns. The author reports reviewing 20-30 PRs weekly, up from 6.8, with less fatigue and positive teammate feedback. This also invites teams to reconsider PR size: agents can review larger work units, but larger changes still carry rollout, rollback, and QA trade-offs.

Read on technology.doximity.com63 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

FreeHand

FreeHand

FreeHand is an AI agent harness that gives frontier models a shell, editable memory, and control over tools and timeouts instead of prescribing workflows. Across 11 tests, it beat first-party harnesses for three frontier model families, averaging 5.1 points higher at 49% lower cost, while preset harnesses still performed better with weaker models. (microsoft.github.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.