BugBot: Difference between revisions
Jump to navigation
Jump to search
(Rules deleted as we moved to the other workflow process) |
(split with & without autofix) |
||
| Line 2: | Line 2: | ||
https://github.com/mozilla/relman-auto-nag/tree/master/auto_nag/scripts | https://github.com/mozilla/relman-auto-nag/tree/master/auto_nag/scripts | ||
== With autofix == | |||
{| border="1" | {| border="1" | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
| Line 15: | Line 18: | ||
|| Yes | || Yes | ||
|| {{Bug|1495908}} | || {{Bug|1495908}} | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
|| has_regression_range_no_keyword.py | || has_regression_range_no_keyword.py | ||
| Line 33: | Line 30: | ||
|| Yes | || Yes | ||
|| {{Bug|1382185}} | || {{Bug|1382185}} | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| meta_summary_missing.py | |||
|| Has [meta] in the description but not the keyword | |||
|| Keyword helps a lot in search | |||
|| Yes | |||
|| {{Bug|1435799}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| nightly_reopened.py | |||
|| If a bug is reopened in nightly, the status flags aren’t automatically updated | |||
|| Avoids some potential issues for sheriff and release managers | |||
|| Yes | |||
|| {{bug|1495962}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| no_assignee.py | |||
|| no assignees and a patch which landed in m-c | |||
|| Bugs without assignee is making our life harder | |||
|| Yes | |||
|| {{bug|1514338}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| no_crashes.py | |||
|| Crash bugs without any crash reports for more than 12 weeks | |||
|| Mitigate the backlog | |||
|| Yes | |||
|| {{bug|1470864}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| stalled.py | |||
|| But closed but has the stalled keyword | |||
|| If the bug is closed, it isn't stalled anymore | |||
|| Yes | |||
|| {{bug|1491624}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| summary_meta_missing.py | |||
|| Has the meta keyword but [meta] is missing in the description | |||
|| Having [meta] in the summary help with search of bugs | |||
|| Yes | |||
|| {{bug|1257692}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| missing_beta_status.py | |||
|| Status flags are set for nightly and release but not for beta | |||
|| Inconsistency in status flags | |||
|| Yes | |||
|| {{bug|1500273}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| mismatch-priority-tracking-*.py | |||
|| If a bug is tracked by a release manager, update the priority (P2 for nightly, P1 for the rest) | |||
|| Show that it is important | |||
|| Yes | |||
|| {{bug|1515946}} / {{bug|1508277}} / {{bug|1512493}} | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| ../next_release.py | |||
|| Check if the release dates are consistent on the Wiki pages | |||
|| We use these dates in automation | |||
|| Yes | |||
|| | |||
|- | |||
|} | |||
== Without autofix == | |||
{| border="1" | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| '''File''' | |||
|| '''Rules''' | |||
|| '''Why''' | |||
|| '''Has autofix''' | |||
|| '''Example''' | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |||
|| feature_regression.py | |||
|| the bug with both feature and regression keywords | |||
|| Mismatch in metadata | |||
|| No | |||
|| | |||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
|| leave_open_no_activity.py | || leave_open_no_activity.py | ||
| Line 44: | Line 112: | ||
|| Help identify dead/inactive bugs | || Help identify dead/inactive bugs | ||
|| Needinfo to triage owner | || Needinfo to triage owner | ||
|| | || | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
|| mismatch-priority-tracking.py | || mismatch-priority-tracking.py | ||
| Line 69: | Line 131: | ||
|| Needinfo to triage owner (only Andrew for now) | || Needinfo to triage owner (only Andrew for now) | ||
|| {{bug|1503461}} | || {{bug|1503461}} | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
|| one_two_word_summary.py | || one_two_word_summary.py | ||
| Line 110: | Line 154: | ||
|| Usually a sign of a reporter not answering to more requests | || Usually a sign of a reporter not answering to more requests | ||
|| No | || No | ||
|| | || | ||
|- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | |- style="border:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.053cm;padding-right:0.053cm;" | ||
|| topcrash_bad_severity.py | || topcrash_bad_severity.py | ||
| Line 171: | Line 203: | ||
|| Email | || Email | ||
|| | || | ||
Revision as of 10:42, 26 February 2019
This page lists all the actions done by the autonag bot.
https://github.com/mozilla/relman-auto-nag/tree/master/auto_nag/scripts
With autofix
| File | Rules | Why | Has autofix | Example |
| assignee_but_unconfirmed.py | Change the status from unconfirmed to assigned if there is an assignee | Mitigate an issue in bugzilla (bugs reported by new bugzilla users are not tagged as NEW) | Yes | bug 1495908 |
| has_regression_range_no_keyword.py | Regression range = yes has been set but missing keyword | Regression keyword is important to differentiate actual defect | Yes | bug 1461034 |
| leave_open.py | Remove the leave-open keyword on bug closed | Mismatch in metadata | Yes | bug 1382185 |
| meta_summary_missing.py | Has [meta] in the description but not the keyword | Keyword helps a lot in search | Yes | bug 1435799 |
| nightly_reopened.py | If a bug is reopened in nightly, the status flags aren’t automatically updated | Avoids some potential issues for sheriff and release managers | Yes | bug 1495962 |
| no_assignee.py | no assignees and a patch which landed in m-c | Bugs without assignee is making our life harder | Yes | bug 1514338 |
| no_crashes.py | Crash bugs without any crash reports for more than 12 weeks | Mitigate the backlog | Yes | bug 1470864 |
| stalled.py | But closed but has the stalled keyword | If the bug is closed, it isn't stalled anymore | Yes | bug 1491624 |
| summary_meta_missing.py | Has the meta keyword but [meta] is missing in the description | Having [meta] in the summary help with search of bugs | Yes | bug 1257692 |
| missing_beta_status.py | Status flags are set for nightly and release but not for beta | Inconsistency in status flags | Yes | bug 1500273 |
| mismatch-priority-tracking-*.py | If a bug is tracked by a release manager, update the priority (P2 for nightly, P1 for the rest) | Show that it is important | Yes | bug 1515946 / bug 1508277 / bug 1512493 |
| ../next_release.py | Check if the release dates are consistent on the Wiki pages | We use these dates in automation | Yes |
Without autofix
| File | Rules | Why | Has autofix | Example |
| feature_regression.py | the bug with both feature and regression keywords | Mismatch in metadata | No | |
| leave_open_no_activity.py | Has the leave-open keyword but no activity for a while | Help identify dead/inactive bugs | Needinfo to triage owner | bug 1367072 |
| meta_no_deps_no_activity.py | Meta bug without open dependencies and no activity | Help identify dead/inactive bugs | Needinfo to triage owner | |
| mismatch-priority-tracking.py | A bug is tracked by release management but the severity is small (<normal) | Mismatch in metadata | No | |
| ni_from_manager.py | Bugs with a ni from a director or a release manager and no activity | We need to have fast turn around on bugs | ||
| ni_triage_owner.py | Bugs with no priority and no activity | Triage owners need to process the backlog | Needinfo to triage owner (only Andrew for now) | bug 1503461 |
| one_two_word_summary.py | Bugs with only one or two words in the summary | usually a sign of an useless bug | No | bug 1512823 |
| query_creator.py | Send reminders to developer with assigned tracked bugs | Make sure that bugs for the next release are addressed | No | |
| regression.py | Bug without the regression keyword | Regression keyword is important to differentiate actual defect. Uses machine learning | No | bug 1517197 |
| reporter_with_ni.py | Identify bugs with needinfo on the reporter without activity | Usually a sign of a reporter not answering to more requests | No | |
| topcrash_bad_severity.py | Topcrash bugs with normal severity | Consistency and help getting traction on bugs | No | bug 1471692 |
| tracked_bad_severity.py | Bug tracked by release managers but small severity | Inconsistency in metadata | No | |
| tracked_needinfo.py | Tracked or Nominated for Tracking with Need-Info? | Make sure that bugs for the next release are addressed | ||
| tracking.py | Get the tracked bugs in a release and untouched this week | Identify inactive bugs | ||
| unaffected_affected_no_reg.py | List bugs marked as non affecting a release but affecting the next one | Sign of a regression | ||
| unlanded.py | Patches which didn’t land on beta and esr | Make sure that we ship with the bugs that we need | bug 1509394 | |
| untriage_important_sev.py | Firfox/untriaged with an important severity | Identify potential important issues in untriage | ||
| version_affected.py | Bug with version set but not status_firefox | Version is set automatically by bugzilla but status_firefox isn’t |