This commit is contained in:
Suhaib Mujahid 2023-07-10 13:41:49 -04:00 коммит произвёл Suhaib Mujahid
Родитель 88fea6fbe5
Коммит e1fa05db82
2 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -115,7 +115,9 @@ class NoCrashReportFoundError(Exception):
class ClouseauDataAnalyzer:
"""Analyze the data returned by Crash Clouseau"""
"""Analyze the data returned by Crash Clouseau about a specific crash
signature.
"""
MINIMUM_CLOUSEAU_SCORE_THRESHOLD: int = 8
DEFAULT_CRASH_COMPONENT = ComponentName("Core", "General")

Просмотреть файл

@ -149,8 +149,8 @@ class FileCrashBug(BzCleaner):
],
}
# Filling the `flags` field on bugzilla-dev will cause an error when
# the user does not exist.
# NOTE: Filling the `flags` field on bugzilla-dev will cause an
# error when the user does not exist.
if needinfo_regression_author and not self.FILE_ON_BUGZILLA_DEV:
bug_data["flags"] = [
{
@ -164,8 +164,8 @@ class FileCrashBug(BzCleaner):
if signature.regressed_by:
bug_data["keywords"].append("regression")
# Filling the `regressed_by` field on bugzilla-dev will cause "bug
# does not exist" errors.
# NOTE: Filling the `regressed_by` field on bugzilla-dev will cause
# "bug does not exist" errors.
if signature.regressed_by and not self.FILE_ON_BUGZILLA_DEV:
bug_data["regressed_by"] = signature.regressed_by