Bug 1594247 - Do not automatically set the severity of crashes to `critical` (#5607)

This commit is contained in:
Sebastian Hengst 2019-11-08 19:50:49 +01:00 коммит произвёл Cameron Dawson
Родитель 4e108855b6
Коммит b25eee2090
2 изменённых файлов: 1 добавлений и 5 удалений

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

@ -117,7 +117,6 @@ def test_create_crash_bug(client, eleven_jobs_stored, activate_responses, test_u
assert requestdata['version'] == "4.0.17"
assert requestdata['keywords'] == ["intermittent-failure", "crash"]
assert requestdata['cf_crash_signature'] == "[@crashsig]"
assert requestdata['severity'] == 'critical'
assert requestdata['priority'] == '--'
resp_body = {"id": 323}
return(200, headers, json.dumps(resp_body))
@ -141,7 +140,6 @@ def test_create_crash_bug(client, eleven_jobs_stored, activate_responses, test_u
"comment": u"Intermittent Description",
"comment_tags": "treeherder",
"crash_signature": "[@crashsig]",
"severity": "critical",
"priority": "--",
"keywords": ["intermittent-failure", "crash"],
}

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

@ -416,13 +416,11 @@ export class BugFilerClass extends React.Component {
const descriptionStrings = `${logLinks}\n\n---\n\n${comment}`;
const keywords = isIntermittent ? ['intermittent-failure'] : [];
let severity = 'normal';
let priority = 'P5';
const crashSignature = crashSignatures.join('\n');
if (crashSignature.length > 0) {
keywords.push('crash');
severity = 'critical';
// Set no priority for crashes to get them included in triage meetings.
priority = '--';
}
@ -464,7 +462,7 @@ export class BugFilerClass extends React.Component {
depends_on: dependsOn,
see_also: seeAlso,
crash_signature: crashSignature,
severity,
severity: 'normal',
priority,
comment: descriptionStrings,
comment_tags: 'treeherder',