Skip to content

ci: Limit open, non-draft PRs to 3 for users without write access - #3465

Merged
CTTY merged 3 commits into
apache:mainfrom
mbutrovich:pr-creation-cap
Oct 15, 2026
Merged

CTTY merged 3 commits into
apache:mainfrom
mbutrovich:pr-creation-cap

Conversation

@mbutrovich

Copy link
Copy Markdown
Collaborator

Which issue does this PR close?

N/A.

What changes are included in this PR?

Enable github.pull_requests.creation_cap in .asf.yaml with max_open_pull_requests: 3, and document the limit in CONTRIBUTING.md. This follows apache/arrow-rs#11560 and apache/datafusion#25973, which adopted the same limit after the discussion in apache/datafusion#24413. ASF Infra added support for the setting in apache/infrastructure-asfyaml#111.

Are these changes tested?

N/A.

AI Disclosure

Drafted with the help of Claude Code. The irony is not lost on me.

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
I think this is overall good for the health of the project, and we can always revert if its not.
Let's see what other folks think before merging

@CTTY CTTY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm +1 to this idea. Thanks Matt

Comment thread CONTRIBUTING.md Outdated
Co-authored-by: Shawn Chang <yxchang@amazon.com>
Comment thread .asf.yaml
allow_auto_merge: true
# auto-delete head branches after being merged
del_branch_on_merge: true
# Limit open, non-draft PRs per user without write access. See CONTRIBUTING.md.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh do they finally addressed that? I filed an initial issue for ASF INFRA to support this. need to check if it actually works

@comphead comphead left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mbutrovich lets check if it works

@laskoviymishka laskoviymishka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

This is generally helpfull to focus efforts on review on what's really matter now instead of spreading thin

@mbutrovich

mbutrovich commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator Author

This is generally helpfull to focus efforts on review on what's really matter now instead of spreading thin

I think it'll also encourage non-committers to find other ways to contribute (e.g., review, foster community) beyond rapid-firing Claude-generated PRs.

@CTTY
CTTY added this pull request to the merge queue Oct 15, 2026
Merged via the queue into apache:main with commit 5dc649b Oct 15, 2026
24 checks passed
@JeonDaehong

JeonDaehong commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for this, I agree with the change. I had several PRs open while working on deletes and DVs, so I have converted some of them to drafts to stay within the limit, and will mark them ready again as the others land. Reviews on the open ones would be much appreciated whenever you have time.

@blackmwk

Copy link
Copy Markdown
Contributor

Thanks @mbutrovich for working on this!

@mbutrovich
mbutrovich deleted the pr-creation-cap branch October 16, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants