List and remove room-level PR submissions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 78/100
Direzione di ricerca
Start with tools.py:255–340 and state.py:88–157,222–248 to understand how room-level submissions are written, listed, and tombstoned compared with thread-level records. Add automated coverage for a non-thread PR submission, then extend the listing and removal paths so room and all-room results include it and removing it leaves an independent thread link intact. Run the relevant test suite covering tools.py and state.py; the issue is complete when the room-level record disappears while the thread link remains listed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
At 69c50ab92afac474460123b40c4a95d0097cb1ad, tools.py:255–292 writes a room-level record when submit runs outside a thread and reports an existing record on repeat submission. state.py:88–103,118–140,143–157 only parses thread-keyed records for listings, so the null-thread key is skipped even in room and all-room listings (tools.py:313–340). tools.py:96–109,295–310 requires an active thread for unlink; state.py:222–248 has a room-level writer but only a thread-level tombstone writer.
Impact
A room-only submission can exist and appear in the web queue while the tool returns zero results for that room. The tool also offers no way to remove that record.
Done when
An automated test submits a PR outside a thread, finds it in the room and all-room listings, removes the room-level record through the tool, and confirms it is no longer listed. An independent thread link for the same PR remains intact.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 2m
- PR unite (30g)
- 1
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.
Issue simili
-
area:print-dispatch
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Apich-Organization/rssn#295 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
chore claimed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
schuyler/corvidae#1424 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno