Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR's are going stale #2820

Closed
rvermootenct opened this issue Sep 28, 2023 · 7 comments
Closed

PR's are going stale #2820

rvermootenct opened this issue Sep 28, 2023 · 7 comments
Labels
management Library Management

Comments

@rvermootenct
Copy link
Contributor

rvermootenct commented Sep 28, 2023

I really enjoy using ZOD, but it's pretty disconcerting to see almost 60 PR's open, and a bunch that have been closed because they have gone stale. A lot of these PR's are simple one liners that wouldn't take a long time for the maintainers to review. I see that even 5 days ago a maintainers got some work in, but there are a ton of PR's just sitting. I understand that it is a thankless job, so I do applaud you all for a great package, but confused as to why other's PR's aren't reviewed.

@rvermootenct rvermootenct changed the title PR's are going stale, is this repo still maintained? PR's are going stale Sep 28, 2023
@JacobWeisenburger JacobWeisenburger added the management Library Management label Sep 29, 2023
@JacobWeisenburger
Copy link
Collaborator

+1

@rvermootenct
Copy link
Contributor Author

rvermootenct commented Sep 29, 2023

Also worth noting that even a message from the maintainers saying we don't want to do this goes a far way, but I'm very unlikely to add another PR after a small docs change I opened has gone stale and is almost about to be closed. This PR is literally just updating an external link.

@JacobWeisenburger
Copy link
Collaborator

Fortunately for you, I can review and approve changes to the docs. So your PR is now approved and merged.

@JacobWeisenburger
Copy link
Collaborator

The reality is that all of us working on Zod have lives and jobs outside of Zod and so sometimes it's not our top priority. This is the unfortunate reality of free and open source software.

@rvermootenct
Copy link
Contributor Author

@JacobWeisenburger I really appreciate it. Written words are tough because tone is often lost, please know that I was in no way trying to come across as a dick or being aggressive, just was trying to figure out what the state of the project was. Thanks for all your hard work on this package.

@colinhacks
Copy link
Owner

colinhacks commented Oct 4, 2023

A few things. I'll order this from most defensive to least defensive.

  • It's a teeny bit ludicrous to feel disconcerted by seeing 60 open PRs on a repo of this size and maturity. 🤷‍♂️
  • If you sort PRs by "👍" you'll see that there are few highly-demanded, long-lived PRs. Zod is basically feature complete and the PRs that exist are quite marginal (though of course appreciated).
  • Closing PRs is emotionally draining because you need to explain in detail why something isn't mergeable to avoid a defensive response from the contributor (and generally avoid looking like a jerk). It's also just not fun to tell someone that the work they put in won't get merged. So PRs accumulate.
  • Relatedly, there are a ton of reasons why a PR might not be mergeable that wouldn't be obvious to a casual observer. Some address edge-casey things like discriminatedUnion, deepPartial, etc that are being rewritten or deprecated in Zod 4. Some introduce incorrect behavior (at least 3 PRs add support for ZodEffect to ZodDiscriminatedUnion which can't be done currently for subtle and annoying reasons). Some break things outright (the Deno one). Some add features I've frequently stated opposition to (.metadata()). Some are just too obscure (lat/long). Some PRs are breaking changes that can't be merged until a major version bump.
  • Speaking of which I'm working on Zod 4 and almost everything is being rewritten. Unfortunately my local v4 branch diverged from master months ago so all additional changes to master make it marginally harder to eventually merge my v4 branch back in. This isn't a good excuse by any means, but it's important context.

It's possible you're mostly referring to are small PRs that improves docs, etc. There's no excuse for not merging those sooner. I'll also try to communicate faster when a given PR is not mergeable.


PS I'm removing the stalebot.

@rvermootenct
Copy link
Contributor Author

@colinhacks Thank you for this really thorough response. I really appreciate it and the time you have taken to create zod. I was mostly referring to are small PRs that improves docs, etc, but I understand that I could've been more specific about that. Now that I've had some time to think I also totally agree with your first statement about the open PR's.

Thanks again for all the great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
management Library Management
Projects
None yet
Development

No branches or pull requests

3 participants