List and remove room-level PR submissions

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, cli

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.