Use stack(s) to trigger a needinfo? for bugs where we have no bisection

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c, cpp, python, rust
領域
tooling

調査の方向性

まず、Bugmon による既存のバグスタックと hg annotate の処理を追跡し、次に、最初の関連する .c、.cpp、または .rs フレームを特定する方法を調査します。needinfo? をトリガーする方法、近隣の所有権を通じて元開発者を扱う方法、そして再フォーマットのコミットを考慮する方法について合意されたアプローチが得られれば完了です。

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

説明

enhancement

For some bugs, like TSan or ASan Nightly issues, we usually don't have a bisection (esp. for issues that have been in the codebase for a long time or where we don't have a standalone testcase but a stack.

Using this stack, it would be nice if we could automatically trigger an initial needinfo? based on the first relevant frame. The challenges here are

  1. Finding the first non-generic frame. Sometimes there are a few generic frames on top of the stack that aren't relevant. My gut feeling tells me that we can find heuristics to work around this, e.g. pick the first frame that belongs to a .c|.cpp|.rs file (not .h) that is in our codebase.

  2. If the hg annotate turns up a developer no longer working at Mozilla (which is common for old code), we might have to check the surroundings for other developers that might be able to help.

  3. We have to deal with reformat commits (I believe we have a hg ext to do this already?)

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

環境構築

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

はじめの一歩

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

MozillaSecurity/bugmon のほかの issue

MozillaSecurity/bugmon の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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