logoalt Hacker News

ventanayesterday at 11:05 PM2 repliesview on HN

Just an idea which I haven't personally tried: AI agents understand technical limitations, such as CI failures. Maybe make a CI job which checks that a PR has a reasonable size, and auto-reject with a polite message if it's not? Something like, "This PR size exceeds the limit of N lines that we accept for review; if you implement a big feature please consider splitting it in several smaller PRs." There are chances that it won't help, but it might!


Replies

ok_computertoday at 12:20 AM

That message could also be generated by a PR line count rule and string replacement without the ai overhead.

Edit - apologies I misunderstood which side the ai agent should be on.

show 1 reply
strikingyesterday at 11:53 PM

Yeah, that's a fun way to get massive stacks of PRs that are individually incomprehensible.

show 3 replies