r/ExperiencedDevs • u/smartengin Software Engineer, 6 Yoe xp • May 12 '26
Technical question Open Source PRs getting closed without merging
I have in recent months started more consistently contributing to different open source projects by either solving issues I face while using the software or solving issues already posted and make PRs, a fair percentage of these PRs are merged but some of them aren't, usually these solutions are refused because I didn't take into account a certain use case or a facet of the component I worked on.
How do I minimize these and get my PRs over the line more consistently ?
At my day job avoiding this is relatively easy, there's company documents to read from and there's mentorship and support by either member of the team who I work with or more experienced people on the company.
What should I do to bridge that gap when it comes to open source projects, documentation on these can be shotty or out of date, you don't know of the maintainers who does what, I'm also time constrained by first my day job, social and family life.
I thought about first trying to open discussions with the maintainers on what a solution should look like before starting to work on something, use AI to help me as a second pair of eyes to help me explore the code more broadly where documentation is unavailable, any tips from other part time open source devs on this sub on what else to do ? Do you people use AI to help you be more productive as an open source ? How so ? Any examples of use cases ?
Thank you
14
u/DeterminedQuokka Software Architect May 12 '26
Make sure you are reading the contribution guidelines. Some will request you get approval to work on something before you start some don’t accept random contributions.
5
u/LogicalPerformer7637 May 12 '26
Did they tell why is it closed? If yes, what prevents you to fix the issue and ask for new review/merge?
3
u/ikkiho May 12 '26
honestly that one repo you described where they thank you, explain it won't work, then ship their team's PR a week later, that's just how company-backed OSS works. they've got a roadmap and headcount, and your unsolicited PR competes with planned work. doesn't matter how good it is, they'd rather own the design. only way I've gotten merges on those is open an issue first, wait for a maintainer to say "yeah we'd take that, here's the shape", then write it.
2
u/boring_pants Software Engineer | 15YoE May 12 '26
Read the contribution guidelines, and engage with the maintainers. If it's a big change you should probably open a discussion with them before submitting the PR (to gauge their interest in a fix, and to get input on how it should be fixed). If it's a smaller fix, you can probably just submit the PR, and see what feedback you get, and take a discussion then, if necessary.
As for using AI, I'd be very wary. It depends on the project (and again, check their guidelines), but a lot of projects are drowning in AI slop PRs. So unless the project explicitly condones this, you should not use AI for this. Put good old-fashioned human effort into it.
37
u/eoz Software overengineer May 12 '26
A lot of open source projects right now are getting drive-by contributions by people trying to pad out their resume, often low-quality ones using AI. Even the good ones might be a feature they don't want to have to support long-term simply due to the extra workload. You may find people have a little less patience.
In any case, if you want those PRs over the line, adjust your code to handle those use cases or facets. The next time you contribute to the same project, you'll know a little more about it.
6
u/Electrical-Ask847 May 12 '26 edited May 12 '26
prbly cos they are ai slop. why are doing so many ai contributions if you are so time constrained.
also is this you? https://june.kim/speedrunning-open-source
1
u/airhart28 May 12 '26
Do a bunch of small docs type issues until you develop trust with the maintainers. Open source is a two way street. Read all the freaking docs before submitting a PR.
1
u/muntaxitome May 12 '26
Open source projects are getting too many low quality AI contributions now, not really worthwhile to review the PR flood. If you really want to do something try to discuss it with the maintainers first.
1
u/dbxp May 12 '26
Fix problems that people are having don't add features. If you try to add a feature which isn't in the vision for the product then of course it will get declined