Closed Bug 732067 Opened 13 years ago Closed 13 years ago

Add a visual indicator for startup crashes in topcrasher list

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kairo, Assigned: espressive)

References

Details

Attachments

(3 files)

As we now are gathering the info of what uptime slices a signature has at what percentage (for Signature Summary), we can identify crashes that are mostly startup with a rule like "<1min slice is over 50%" (which is what we'd propose to use for this right now). It would be awesome to mark those signatures with a special icon in the topcrash list.
Attachment #605754 - Flags: review?(kairo)
Assignee: nobody → sneethling
[:kairo] If I use the getSummary function of signature summary and pass a signature, start date, end date and a report type of uptime, excluding the version I get a response like the following: [{"category": "> 1 hour", "percentage": "0.53536", "report_count": 19540}, {"category": "15-60 min", "percentage": "0.26782", "report_count": 9775}, {"category": "5-15 min", "percentage": "0.12310", "report_count": 4493}, {"category": "1-5 min", "percentage": "0.07069", "report_count": 2580}, {"category": "< 1 min", "percentage": "0.00304", "report_count": 111}] Do you want me to look whether: 1) there is a category of < 1min present 2) if there is, check whether the percentage for this category is greater then 50% 3) then mark this signature as a start-up crash if both the above conditions are met Or is the above not going to work for the requirement here?
(In reply to Schalk Neethling from comment #2) > 1) there is a category of < 1min present > 2) if there is, check whether the percentage for this category is greater > then 50% > 3) then mark this signature as a start-up crash if both the above conditions > are met Exactly that's what I have in mind.
Sent pull request :: https://github.com/mozilla/socorro/pull/440 TEST CASE ---------- Head over to topcrasher, either by version or OS When the percentage of crashes for a specific signature in the category < 1 min exceeds 50% an icon, in the forms of a key, is added to the signature along side the other icons such as browser crash, hanged crash etc.
Target Milestone: --- → 2.5.3
Comment on attachment 605754 [details] possible icon for startup Umm, we use that for stuff with security keys in desktop software, I think. Also, not sure how a key relates to startup. Is there some rocket (pack) icon or so that we could use? I think that would present a better metaphor to startup.
Attachment #605754 - Flags: review?(kairo) → review-
[:kairo] I will look for something better and add it.
Target Milestone: 3 → 2.5.2
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/26b486fad74c008c97f2a71bcb2160675696298b Merge pull request #440 from ossreleasefeed/visual-indicator-startup-crashes-732067 adding startup crash icon fixes bug 732067
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: 2.5.2 → 3
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 738305
thx :espressive - per an irc conversation :espressive & :jberkus are working on getting a fix in the works.
Target Milestone: 3 → 4
This has been backed out of 3 and will come again in 4. Staging has been updated.
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/ae5aa56b5a33e9527b74404b4bad4cbc4050264e multiply value returned by service to get percentage fixes bug 732067 https://github.com/mozilla/socorro/commit/e53d55f7d8f8b67a28dabcc3b267e95431bd5f01 Merge pull request #472 from ossreleasefeed/multiply-returned-value-fixes-bug732067 multiply value returned by service to get percentage fixes bug 732067
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Commit pushed to stage at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/2d5b9858776939e9d9f2a473680a7f2019c8e27d multiply value returned by service to get percentage fixes bug 732067
Attached image qa - verified
QA verified on stage - the new startup crash icon is present as expected - spec in comment 0 - Verified several Firefox signatures, FennecAndroid, and Fennec. example: https://crash-stats.allizom.org/topcrasher/byversion/FennecAndroid/13.0a1/7 https://crash-stats.allizom.org/report/list?range_value=7&range_unit=days&date=2012-04-01&signature=sqlite3_malloc&version=FennecAndroid%3A13.0a1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: