Bug 195680

Summary: [ews-app] Generate status-bubble hover-over messages
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, dewei_zhu, jbedard, lforschler, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch
none
Proposed patch none

Description Aakash Jain 2019-03-13 08:49:50 PDT
Hovering over status bubbles should display appropriate build details.
Comment 1 Aakash Jain 2019-03-13 09:18:50 PDT
Created attachment 364540 [details]
Proposed patch

Tested on a local instance.

Also replaced double-quotes(") with single-quotes(').

This patch would apply to ToT after https://bugs.webkit.org/show_bug.cgi?id=195668
Comment 2 Jonathan Bedard 2019-03-13 09:29:20 PDT
Comment on attachment 364540 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=364540&action=review

> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:67
> +            bubble['state'] = 'pass'

Is this correct? When we have warnings, we mark it as pass? If so, why not combine with the SUCCESS state?
Comment 3 Jonathan Bedard 2019-03-13 09:39:02 PDT
Comment on attachment 364540 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=364540&action=review

> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:68
> +            bubble['details_message'] = 'Pass\n\n' + self._iso_time(build.complete_at)

Maybe this should say 'Warning\n\n' instead of 'Pass\n\n', that way we're at least surfacing the error in some way.
Comment 4 Aakash Jain 2019-03-13 09:47:47 PDT
Comment on attachment 364540 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=364540&action=review

>> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:67
>> +            bubble['state'] = 'pass'
> 
> Is this correct? When we have warnings, we mark it as pass? If so, why not combine with the SUCCESS state?

Yeah, because mostly build should finish with warning state in case of a minor issue. Any major issue with patch will fail the build.

>> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:68
>> +            bubble['details_message'] = 'Pass\n\n' + self._iso_time(build.complete_at)
> 
> Maybe this should say 'Warning\n\n' instead of 'Pass\n\n', that way we're at least surfacing the error in some way.

Agree. will update it.
Comment 5 Aakash Jain 2019-03-13 11:51:08 PDT
Created attachment 364556 [details]
Proposed patch

> Maybe this should say 'Warning\n\n' instead of 'Pass\n\n', that way we're at least surfacing the error in some way.
Done.
Comment 6 WebKit Commit Bot 2019-03-14 15:06:22 PDT
Comment on attachment 364556 [details]
Proposed patch

Clearing flags on attachment: 364556

Committed r242967: <https://trac.webkit.org/changeset/242967>
Comment 7 WebKit Commit Bot 2019-03-14 15:06:24 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2019-03-14 15:07:21 PDT
<rdar://problem/48903534>