Open Bug 1768738 Opened 3 years ago Updated 1 year ago

topcrashers report for fenix shouldn't show crash count breakdown by platform

Categories

(Socorro :: Webapp, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: willkg, Unassigned)

References

(Blocks 1 open bug)

Details

Fenix only has one platform: android. The top crasher report shouldn't show a crash count breakdown by platform (e.g. Win, Mac, Lin).

It might be interesting to have the top crasher report show the breakdown by platform differently depending on the product. Maybe some products have other platforms they're interested in. Or maybe we should have a standard set of columns and then configure the rest of the columns per product?

It turns out it's more complicated than I thought. The topcrashers report template references hardcoded win_count, mac_count, and lin_count for all products. The win, mac, and lin come from crashstats_platform table rows. The SignatureStats class looks at that table for which platforms to count. Cool.

The crashstats_platform table also affects the OS filter in the topcrashers report, the platform filter in Super Search, and possibly some other places.

I tried adding an Android row to the crashstats_platform table on stage. That adds an Android filter option to the OS filter in the topcrashers report. Clicking on that doesn't work right. It seems to show Android counts, but there's a column missing somewhere and the table is all wonky.

It's weird to have platform values be in a table and hard-coded in a plethora of places. We'll have to figure out how best to clean this up so that it's correct for Fenix or future products which have different sets of supported platforms. We might be able to move platforms to product details.

You need to log in before you can comment on or make changes to this bug.