You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CI][Docs] Pull requests closed by the PR limit workflow cannot be reopened by their authors #54696
Describe the bug, including details regarding any error messages, version, and platform.
The PR limit workflow closes a pull request that takes a contributor over the limit, and both its comment (.github/workflows/pr_limit/comment.md: "you are welcome to reopen this one") and the docs (docs/source/developers/bug_reports.rst: "Once one of your other pull requests has been merged or closed, you can reopen it") say that the author can reopen it later.
In practice the author cannot. After #54656 was merged, which brought me below the limit, reopening #54657 (closed by the workflow) fails:
$ gh pr reopen 54657 -R apache/arrow
API call failed: GraphQL: Could not open the pull request. (reopenPullRequest)
Presumably GitHub does not let an author without repository access reopen a pull request that was closed by an account with write access.
Either the comment and the docs could ask the author to request a reopen from a committer or collaborator (the workflow already leaves alone a pull request reopened by someone with repository access, see .github/workflows/pr_limit/check.js), or the workflow could let authors reopen their pull requests, e.g. by reopening them itself once the author is below the limit.
Some data on the bot workflow so far, covering all 232 pull requests created since it was introduced on 2026-09-14:
35 pull requests were closed by the workflow.
2 were reopened, both on the first day: one by its author while the limit still applied to collaborators, and one by a maintainer. None was reopened by an author without repository access.
For 5 of them, the author opened a new pull request for the same issue instead (4 resubmissions).
The remaining 28 have not been reopened or resubmitted.
Using a previously merged pull request in apache/arrow as a sign of an established contributor:
12 of the 35 closures (34%) hit authors with at least one merged pull request before the closure;
23 of the 35 closures (66%) hit authors without a previously merged pull request. This group also includes genuine first-time contributors.
In summary, the bot catches likely AI slop that is about 10 % of all PRs, while about 70 % of the genuine contributors it hits have not returned so far.
Activity
pearu commentedon Oct 20, 2026
Some data on the bot workflow so far, covering all 232 pull requests created since it was introduced on 2026-09-14:
Using a previously merged pull request in apache/arrow as a sign of an established contributor:
In summary, the bot catches likely AI slop that is about 10 % of all PRs, while about 70 % of the genuine contributors it hits have not returned so far.