| ▲ | Ask HN: How to deal with long vibe-coded PRs? | |||||||||||||||||||||||||
| 6 points by philippta 5 days ago | 13 comments | ||||||||||||||||||||||||||
Today I came across a PR for a (in theory) relatively simple service. It span across 9000 LOC, 63 new files, including a DSL parser and much more. How would you go about reviewing a PR like this? | ||||||||||||||||||||||||||
| ▲ | yodsanklai 3 days ago | parent | next [-] | |||||||||||||||||||||||||
You review it like it wasn't AI generated. That is: ask author to split it in reviewable blocks. Or if you don't have an obligation to review it, you leave it there. | ||||||||||||||||||||||||||
| ▲ | vasan 14 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Just reflect upon it, see if you gave him less time to complete it. I would just have a meet with him and confront it. | ||||||||||||||||||||||||||
| ▲ | rvrs 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Enforce stacked PRs, reject PRs over 500-1k LoC (I'd argue even lower, but it's a hard sell) | ||||||||||||||||||||||||||
| ▲ | tacostakohashi 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Use AI to generate the review, obviously. | ||||||||||||||||||||||||||
| ▲ | devrundown 3 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
9000 LOC is way too long for a pull request unless there is some very special circumstance. I would ask them to break it up into smaller chunks. | ||||||||||||||||||||||||||
| ▲ | zigcBenx 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
In my opinion no PR should have so much changes. It's impossible to review such things. The only exception is some large migration or version upgrade that required lots of files to change. As far it goes for Vibe coded gigantic PRs It's a straight reject from me. | ||||||||||||||||||||||||||
| ▲ | JohnFen 4 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
I'd just reject it for being ridiculous. It didn't pass the first step of the review process: the sniff test. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | hshdhdhehd 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
With a middle finger | ||||||||||||||||||||||||||
| ▲ | wengo314 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
reject outright. ask to split it into reasonable chain of changesets. | ||||||||||||||||||||||||||
| ▲ | aaronrobinson 5 days ago | parent | prev [-] | |||||||||||||||||||||||||
Reject it | ||||||||||||||||||||||||||