List and remove room-level PR submissions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 2 phút
- Pull request đã merge (30 ngày)
- 1
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 tương tự
-
area:print-dispatch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Apich-Organization/rssn#295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
chore claimed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
schuyler/corvidae#1424 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày