matrix-org / matrix-org/mscbot-python
mscbot may not start FCP when using `@mscbot reviewed`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 7
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
One can use `@mscbot reviewed` to automatically check the box for themselves in an ongoing FCP status comment. The bot will also unconditionally ignore all comments and comment edits from itself.
When designing the `reviewed` command, it was incorrectly assumed that updating the status comment would then have the knock-on effect of starting FCP if enough ticks had happened. Instead, the edit is ignored as it comes from the bot.
A fix would simply involve manually calling `_process_status_comment_update_with_body` below https://github.com/matrix-org/mscbot-python/blob/fd6027708fd6ce08767556689470a6759c8af4ef/command_handler.py#L169-L172
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
command_handler.py の169~172行付近から始め、レビュー対象のコマンドにおける進行中のFCPステータスコメントの処理を追跡します。十分なティックが発生した時点でFCPが開始されるように、ボットのステータスコメントの更新が処理されることを確認し、その後、プロジェクトに関連するテストで動作を検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 50/100