From 3796c228499048efdfb28baf84633a4c85c624bf Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Thu, 3 Dec 2026 17:50:31 +0800 Subject: [PATCH 1/2] ci: set a per-user limit on open pull requests per the discussion from https://lists.apache.org/thread/tj5spv4w2xzbommyqrqvf5347y024h47 --- .asf.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index d4fc5a93d..db50f50d4 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -41,6 +41,14 @@ github: pull_requests: # auto-delete head branches after being merged del_branch_on_merge: true + # Limit the number of concurrently open pull requests a contributor + # without write access can have. Pull requests over the cap can't be + # opened; draft pull requests count towards the cap. See + # https://arrow.apache.org/docs/dev/developers/bug_reports.html#pr-limit + creation_cap: + enabled: true + max_open_pull_requests: 3 + include_drafts: true features: wiki: true issues: true From 4f304434605eb291dace251f13b20d8a5b93908f Mon Sep 17 00:00:00 2001 From: Zhao Junwang Date: Thu, 3 Dec 2026 23:27:06 +0800 Subject: [PATCH 2/2] ci: exclude draft pull requests from the open PR limit --- .asf.yaml | 7 ++----- mkdocs/docs/contributing.md | 7 +++++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index db50f50d4..d5c18e158 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -41,14 +41,11 @@ github: pull_requests: # auto-delete head branches after being merged del_branch_on_merge: true - # Limit the number of concurrently open pull requests a contributor - # without write access can have. Pull requests over the cap can't be - # opened; draft pull requests count towards the cap. See - # https://arrow.apache.org/docs/dev/developers/bug_reports.html#pr-limit + # See https://cpp.iceberg.apache.org/contributing/#open-pull-request-limit creation_cap: enabled: true max_open_pull_requests: 3 - include_drafts: true + include_drafts: false features: wiki: true issues: true diff --git a/mkdocs/docs/contributing.md b/mkdocs/docs/contributing.md index 32b46e397..faf1d51a9 100644 --- a/mkdocs/docs/contributing.md +++ b/mkdocs/docs/contributing.md @@ -107,6 +107,13 @@ Then select `Dev Containers: Reopen in Container` from the Command Palette. 5. Ensure all tests pass and `pre-commit run -a` is clean 6. Push to your fork and open a Pull Request +### Open Pull Request Limit + +To keep the review queue manageable, contributors without write access to +`apache/iceberg-cpp` can have up to three open, non-draft pull requests at a +time. If you reach the limit, wait for a PR to merge, close one you no longer +plan to pursue, or move one back to draft if it is not ready for review. + ### Running module tests On pull requests, the AWS, Hive, and SQL Catalog suites run automatically