All case studies

Where reduction worked

AngelList

Consolidated three HTTP clients into one and deleted the call sites that were already dead

Two migrations finished over a summer of one pull request a weekday. Six of the 41 backend pull requests became deletions once the call sites were checked against production.

Removed: two of the three libraries its six Ruby services used for outbound HTTP requests, the older render-prop data-loading style across 395 places in its fundraising app, and about 12,000 lines of hand-written code on net.

Outcome: no security number, and the post does not claim one. What it does report is what the work cost: 41 pull requests where 10 were estimated for the backend and 202 where 58 were estimated for the frontend, and the share of pull requests that drew a reviewer comment rising from 15% to 45% as the changes got larger.

The part worth taking is a step in the written recipe, not the automation. Early pull requests carefully ported code that nothing called any more, so the instruction gained a check: “Confirm the integration is still live in production before migrating it” — 90 days of traces for calls to the vendor’s hostname, the date of the last record written, and the call site traced back to a live entry point. “Dead code should be deleted, not ported.” Six of the 41 backend pull requests became deletions instead of ports.

The awkward part is kept: one frontend conversion moved a data read into a form’s starting values, ran with the pop-up closed, and crashed a page for every user until an engineer reverted it. The playbook gained five rules from that day.

Source: AngelList, A PR a Day Keeps Tech Debt at Bay (29 October 2026)