Closed
Bug 940499
Opened 11 years ago
Closed 11 years ago
add 'support' classifier system to the processor
Categories
(Socorro :: Backend, task)
Tracking
(Not tracked)
RESOLVED
FIXED
66
People
(Reporter: lars, Assigned: lars)
Details
Attachments
(1 file)
add a rule system to the processor to implement support classifiers. Allow there to be mutliple classifications. Implement the first support classifier as the BitguardClassfier rule.
BitguardClassfier: if 'bitguard.dll' is present in the modules list, add the classification "bitguard" to the list of support classifications.
Comment 1•11 years ago
|
||
I don't think we need a *list* of support classifications. I'd prefer there to just be a single support classification backed by a list of rules that we check.
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8334657 -
Flags: review?(adrian)
Assignee | ||
Comment 3•11 years ago
|
||
:bsemedberg - I find the preference for a single classifier to be curious. Having only one classification implies a hierarchy of rules with earlier rules taking precedent over latter rules.
For example, let's say in a few months that "bitguard" is no longer much of a problem, but the existence of the 'lars_addon' is a much bigger issue. If a crash has both, we'd be automatically be tagging the crash as "bitguard", ignoring the more serious issue. Yeah, we could retire the "bitguard" rule, or manage the hierarchy, but would we actually get around to doing it? I want to maximize our effectiveness in light of our historical passivity in managing lists.
would a keyed mapping be more palatable? rather than storing a list, we have a dict keyed by classification:
assertTrue('bitguard' in classifications.support)
assertEqual(classifications.support.bitguard.classification, 'bitguard')
assertTruel(classifications.support.bitguard.classification_data is None)
assertEqual(classifications.support.bitguard.classification_version, 1.0)
assertTrue('lars_addon' in classifications.support)
assertEqual(classifications.support.keys(), ['bitguard', 'lars_addon'])
I will implement however you wish...
Comment 4•11 years ago
|
||
The purpose of the support classifier is to present a solution to the user. I don't think that we'd ever want to present multiple solutions, so I'd prefer to just come up with a single answer for 'what went wrong and what can you do about it'. It will be easier for the email system and the support system if we do that here, rather than forcing later tiers to do it.
If there are two possible causes for a crash, we should order the rules so that the most specific or most likely reason is the one that "wins".
![]() |
||
Comment 5•11 years ago
|
||
I guess that bug 915667 probably should depend on this, right?
Updated•11 years ago
|
Attachment #8334657 -
Flags: review?(adrian) → review+
Assignee | ||
Comment 6•11 years ago
|
||
re-implemented with one support classification supported rather than a list of them.
Comment 7•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/a97b14beb70ec5f1c7b103574839da9ace92c25e
Merge pull request #1684 from twobraids/bitguard-classifier
FIxes Bug 940499 - add support classifier system
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → lars
You need to log in
before you can comment on or make changes to this bug.
Description
•