Bound PR Queue background reads as submission history grows
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, react, typescript
- Lĩnh vực
- performance
Hướng nghiên cứu
Start with src/prQueue.ts and src/PullRequestQueue.tsx, especially the submission collection, observer creation, timestamp filtering, and five-minute polling paths. Run the existing request-count tests to establish current fetches, then add coverage for expired merges and closed-unmerged PRs. Done means large histories use a bounded initial-read policy with unknown status, open PRs remain refreshable, and Matrix submission history is retained.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
At c8d3972a244ffaa96ffee86fa1b8e5a656d82905, the queue collects every valid submission from joined rooms (src/prQueue.ts:92–98, src/PullRequestQueue.tsx:243–261) and creates summary observers for the full deduplicated set (src/PullRequestQueue.tsx:316–320). The 12-hour cutoff filters rendered rows, not observers (src/PullRequestQueue.tsx:292–307). Known merges with a valid timestamp do not interval-poll, but expired merges can still be fetched on load or eligible refetch triggers. Closed-unmerged PRs remain in Active and can poll every five minutes when the panel is visible, auto-refresh is enabled by authenticated GitHub access, and the query is not refused (src/PullRequestQueue.tsx:35,50–68,128–146,228–233).
Impact
Historical submissions can increase background GitHub traffic even when they add no visible queue items or are no longer open.
Done when
Request-count tests demonstrate that known expired merges are not automatically re-fetched and that closed-unmerged PRs do not poll on the active five-minute interval. Document and test a bounded initial-read policy for large histories with unknown status. Keep open PRs refreshable and retain Matrix submission history.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bketelsen/pr-queue-chat
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Tất cả issue của bketelsen/pr-queue-chat
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
提出物確認の詳細で状態バッジの重複と期限切れの欠落を直すĐang mởCodex使用可 かんたん コード
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ryuki-moro/Nicomaru#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:crash-loop issue-rating: 🦞 diamond lobster P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openclaw/openclaw#211919 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày