List and remove room-level PR submissions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 78/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
新功能建议
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Mai-with-u/MaiBot#2583 ·
Maintainers usually reply within 1 day
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[New]: JambaOpenMatch Play
Difficulty 1/5 Under an hour Newbie friendliness 63/100
privacyguides/verified-apps#9224 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: The docs check fails to install the Mintlify CLI when it runs right after a `mint` releaseOpenchore upstream
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
MemMachine/MemMachine#2032 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100