Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[CI][Docs] Pull requests closed by the PR limit workflow cannot be reopened by their authors

Đang mở Phù hợp với người mới
#54,696 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript, markdown
Lĩnh vực
ci-cd, documentation

Hướng nghiên cứu

Đọc .github/workflows/pr_limit/comment.md, docs/source/developers/bug_reports.rst và .github/workflows/pr_limit/check.js để hiểu các hướng dẫn mâu thuẫn về việc mở lại và cách workflow hiện hoạt động. Quyết định nên chỉnh sửa hướng dẫn hay workflow, sau đó xác minh rằng các tác giả chưa đạt giới hạn PR có thể làm theo quy trình đã được ghi lại để mở lại một pull request đã đóng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Component: Continuous Integration Component: Documentation
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.

Component(s)

Continuous Integration, Documentation

Ngôn ngữ chính
C++
Star
17.2k
Fork
4.4k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
60

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/arrow

Tất cả issue của apache/arrow

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.