List and remove room-level PR submissions

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
0
フォーク
0
平均マージ
2分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。