Bound PR Queue background reads as submission history grows
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, react, typescript
- 領域
- performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bketelsen/pr-queue-chat のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
bketelsen/pr-queue-chat の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
Codex使用可 かんたん コード
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ryuki-moro/Nicomaru#348 ·
メンテナーはふだん 1 日以内に返信
-
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
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openclaw/openclaw#211919 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信