Bound PR Queue background reads as submission history grows
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github, react, typescript
- Ambito
- performance
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 1m
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bketelsen/pr-queue-chat
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Tutte le issue di bketelsen/pr-queue-chat
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
提出物確認の詳細で状態バッジの重複と期限切れの欠落を直すApertaCodex使用可 かんたん コード
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ryuki-moro/Nicomaru#348 ·
I maintainer di solito rispondono entro 1 giorno
-
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
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
openclaw/openclaw#211919 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno