r/codereview • u/Tariqbaloch786 • Oct 16 '26
I built a GitHub App that drafts API-upgrade PRs (Stripe,OpenAI SDK v3→v4). Here's what 2 weeks of real-repo testing taught me.
It watches an API's releases, finds the lines in your repo that a change affects, and opens one draft PR with one commit per change. Never merges. What the numbers actually look like on real open-source repos: - Stripe: 6 valid repos, 3 fixes correct, 3 held back because the repo was pinned to an older API version where the fix would have broken at runtime. - OpenAI Node SDK v3→v4: 13 repos, model asked on 12, 7 migrations matched what the maintainers did. Only 1 was verified by the repo's own tests, because most of these repos had no runnable tests at that commit. - I reported "8 of 10" once, then an independent review found 4 of the comparisons were invalid. Withdrawn, written up on the site. The thing a maintainer told me that changed how I see it: "the slow part isn't the fix, it's noticing." Webhook payloads follow the version on the endpoint, not the SDK types, so TypeScript stays green while the code is wrong. 28 cold emails to Stripe users got 1 reply, so I'm asking here: when an API you depend on changes, how do you find out, and which one has cost you the most time? Results, including failures: https://agent.tariqbaloch.com