Closed Bug 686679 Opened 13 years ago Closed 13 years ago

Display graphics info/failures in endurance dashboard report

Categories

(Mozilla QA Graveyard :: Mozmill Result Dashboard, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Assigned: davehunt)

References

Details

Attachments

(1 file, 2 obsolete files)

Display the graphics info/failures gathered in the endurance shared module.
Depends on: 684848
Initial version of patch for feedback. Graphics section is hidden by default. Would appreciate feedback/suggestions.
Assignee: nobody → dave.hunt
Attachment #560256 - Flags: review?(hskupin)
Comment on attachment 560256 [details] [diff] [review]
Display graphics info/failures in endurance dashboard report. v1.0

>+        if (resp.graphics !== undefined) {
>+          context.graphics = resp.graphics;
>+        }
>         context.system = resp.system_info.system,
>         context.system_version = resp.system_info.version,
>         context.service_pack = resp.system_info.service_pack,


I would like to see the graphic information being added below system_info. That's also part of the patch on the other bug but I want to call it out here, because you were asking for feedback. Otherwise looks fine. We should probably bump the report version for all report types and check that one instead of graphics undefined.
Attachment #560256 - Flags: review?(hskupin) → feedback+
(In reply to Henrik Skupin (:whimboo) from comment #2)
> Comment on attachment 560256 [details] [diff] [review]
> Display graphics info/failures in endurance dashboard report. v1.0
> 
> >+        if (resp.graphics !== undefined) {
> >+          context.graphics = resp.graphics;
> >+        }
> >         context.system = resp.system_info.system,
> >         context.system_version = resp.system_info.version,
> >         context.service_pack = resp.system_info.service_pack,
> 
> 
> I would like to see the graphic information being added below system_info.
> That's also part of the patch on the other bug but I want to call it out
> here, because you were asking for feedback. Otherwise looks fine. We should
> probably bump the report version for all report types and check that one
> instead of graphics undefined.

Thanks for the feedback. Patches updated.
Attachment #560256 - Attachment is obsolete: true
Attachment #560352 - Flags: review?(hskupin)
Comment on attachment 560352 [details] [diff] [review]
Display graphics info/failures in endurance dashboard report. v1.1

>+        context.cpu = resp.system_info.processor;
>+        if (resp.report_version >= 1.2) {
>+          context.graphics = resp.graphics;
>+        }

resp.system_info.graphic please.
Attachment #560352 - Flags: review?(hskupin) → review-
(In reply to Henrik Skupin (:whimboo) from comment #4)
> Comment on attachment 560352 [details] [diff] [review]
> Display graphics info/failures in endurance dashboard report. v1.1
> 
> >+        context.cpu = resp.system_info.processor;
> >+        if (resp.report_version >= 1.2) {
> >+          context.graphics = resp.graphics;
> >+        }
> 
> resp.system_info.graphic please.

Perhaps I shouldn't have asked for review just yet, as this comment refers to a change that's been made in the patch on bug 686677.
Comment on attachment 563390 [details] [diff] [review]
Display graphics info/failures in endurance dashboard report. v1.2

All earlier review comments have been satisfied, code looks good to me as does sample output at:

http://mozmill.blargon7.com/#/endurance/report/64cceae8f12ef60cd4077db5e8008e1d

r+'ing. If whimboo finds changes after the fact we can always re-update.
Attachment #563390 - Flags: review?(hskupin) → review+
Thanks Geo!

Landed as: https://github.com/whimboo/mozmill-dashboard/commit/884dad5a97a34e8ac6e1b22a24640ccb7dbb0930
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment on attachment 563390 [details] [diff] [review]
Display graphics info/failures in endurance dashboard report. v1.2

Thanks Geo for the review. I have only a nit to add:

>+          context.graphics.info.forEach(function(info) {
[..]
>+          $("#toggle_graphics").toggle(function() {

Please remember to add a space between function and the brackets. We don't have a function called 'function', which we call here. It's a definition instead. No need to reopen the bug.
Good catch, sorry for missing that!
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: