Closed
Bug 759723
Opened 13 years ago
Closed 13 years ago
Rewrite product name to "Webapp Runtime" in processor when product ID is webapprt@mozilla.org
Categories
(Socorro :: Database, task)
Socorro
Database
Tracking
(blocking-kilimanjaro:+)
People
(Reporter: kairo, Assigned: jberkus)
References
Details
(Whiteboard: [Desktop WebRT], [qa+])
This is coming out of the discussion in bug 745980, see there for more info.
In the processor, we need to rewrite the product name of crashes to "Webapp Runtime" when the report has a product ID of webapprt@mozilla.org because on Windows, they dynamically rewrite the product name to the origin of the web app.
The example report at bp-98a96d90-0654-4e9e-8c34-f26832120524 shows how the wrong product name we get looks like.
We can safely overwrite that origin with the correct product name again as we'll get the info of the origin/URL when they fix bug 759502 anyhow.
The question of bug 745980 comment #22 is still pending, but I hope to resolve that today and the question is just if we rewrite to "Webapp Runtime" or to "Firefox".
Reporter | ||
Comment 1•13 years ago
|
||
I sat down with myk and jsmith today and talked about thism and the decision is to go forward with rewriting to "Webapp Runtime" and adding that as a new product to Socorro. (In case the space in the name might be a problem for Socorro, we'll go with "WebappRuntime".)
Laura, Lars, are we able to do that in a way that this is going to production within the next few weeks?
Comment 2•13 years ago
|
||
This rewrite of the 'ProductName' to "Webapp Runtime" if 'ProductId' is "webapprt@mozilla.org" can be done just by inserting a row into the Postgres 'product_productid_map' table. No change to processor code is necessary. As such, this change can happen at anytime and the effect will be immediate.
Reporter | ||
Comment 3•13 years ago
|
||
Lars, cool, can we do that? Any time would be OK, we already should have the odd report trickling in.
Updated•13 years ago
|
Whiteboard: [Desktop WebRT]
Comment 4•13 years ago
|
||
Josh, this should do the trick:
insert into product_productid_map (product_name, productid, rewrite, version_began, version_ended) values ('Webapp Runtime', 'webapprt@mozilla.org', True, 0.0, '');
Component: Backend → Database
QA Contact: backend → database
Updated•13 years ago
|
Assignee: nobody → josh
Updated•13 years ago
|
blocking-kilimanjaro: --- → ?
Comment 5•13 years ago
|
||
Josh, hold off for a minute...
looking at the existing data in the 'product_productid_map' table, I see that the values in the 'productid' column all have braces around them. Will this new value 'webapprt@mozilla.org' also be equipped with braces?
Comment 6•13 years ago
|
||
Going by:
http://mxr.mozilla.org/mozilla-central/source/webapprt/application.ini.in#10
I'd say that no, it will not have braces. (Compare vs. Firefox's ID here: http://mxr.mozilla.org/mozilla-central/source/browser/confvars.sh#33 )
That seems to date back to pre-Mercurial times, so I can say "it's always been that way", so maybe webapprt should have the braces there?
Reporter | ||
Comment 7•13 years ago
|
||
That report in comment #0 has this in the raw JSON:
"ProductID": "webapprt@mozilla.org"
So, no braces there.
Assignee | ||
Comment 8•13 years ago
|
||
OK, this requires adding WebappRuntime to Socorro first, which is a whole 'nother ball of wax. We need a spec on the new product first. Waiting for Kairo.
Assignee | ||
Updated•13 years ago
|
Reporter | ||
Comment 9•13 years ago
|
||
Just FTR and for testing, here's a Mac crash report from Webapp Runtime as well: bp-d3c2839c-681a-43a6-b089-e2e3c2120615 - A Windows report is in comment #0, and bp-543e0469-1555-4fae-bfb3-7dad12120615 is another one.
Updated•13 years ago
|
blocking-kilimanjaro: ? → +
Updated•13 years ago
|
Target Milestone: --- → 14
Assignee | ||
Comment 10•13 years ago
|
||
OK, this is broken on stage. Fixing.
Assignee | ||
Comment 11•13 years ago
|
||
Kairo, All:
So the assumption that product would be "Firefox" and productid would be "webapprt@mozilla.org" was incorrect. The actual case for WebRT crashes is:
product = 'Webapp Runtime'
productid = NULL
This brings up another couple issues:
1. We can't have spaces in product names beecause it breaks the current UI.
2. productid is not supposed to be NULL
So, we'll file a bug with the WebRT team for (2). (1) can be handled with a processor rewrite.
Comment 12•13 years ago
|
||
Is there a bug for the product name rewrite in the processor?
Can we work with the NULL productid to begin with?
Comment 13•13 years ago
|
||
So the NULL productid is actually bug 768700. Does it block, or can we work with this for now?
Comment 14•13 years ago
|
||
(In reply to Laura Thomson :laura from comment #12)
> Is there a bug for the product name rewrite in the processor?
I take it back.
So this bug is now "Rewrite the product name from 'Webapp Runtime' to 'WebappRuntime'"
Should this be assigned to Lars?
Assignee | ||
Comment 15•13 years ago
|
||
Laura,
No, we already have a way within the existing processor configuration structure to handle the name rewrite, since we already do this for another product. So that's already been taken care of and is checked in.
Assignee | ||
Comment 16•13 years ago
|
||
This is resolved in 14.0, which is now live.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•13 years ago
|
||
Umm, what rule are we using here now? Most (i.e. the Windows ones) of our Webapp Runtime crashes do NOT have 'Webapp Runtime' as the product, but something seemingly random, only the Mac and Linux crashes have 'Webapp Runtime' in the product field - right now. We *need* to rewrite based on the product ID being sent to us, that's the only reliable identifier.
Comment 18•13 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #17)
> Umm, what rule are we using here now? Most (i.e. the Windows ones) of our
> Webapp Runtime crashes do NOT have 'Webapp Runtime' as the product, but
> something seemingly random, only the Mac and Linux crashes have 'Webapp
> Runtime' in the product field - right now. We *need* to rewrite based on the
> product ID being sent to us, that's the only reliable identifier.
I wonder if that explains why the top crashers is only showing crashes from OS X. I don't see any crashes listed for windows, which seems strange?
https://crash-stats.mozilla.com/topcrasher/byos/WebappRuntime/16.0a1/Mac%20OS%20X/7/browser
Updated•13 years ago
|
Whiteboard: [Desktop WebRT] → [Desktop WebRT], [qa+]
You need to log in
before you can comment on or make changes to this bug.
Description
•