Bug 208811

Summary: Generate commit-queue status bubble from new EWS
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, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=209215
Bug Depends on:    
Bug Blocks: 201934    
Attachments:
Description Flags
Patch none

Description Aakash Jain 2020-03-09 07:48:14 PDT
Display commit-queue status bubble from new EWS.
Comment 1 Aakash Jain 2020-03-09 07:49:56 PDT
Created attachment 393033 [details]
Patch
Comment 3 Jonathan Bedard 2020-03-09 09:33:49 PDT
Comment on attachment 393033 [details]
Patch

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

> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
> +            for queue in StatusBubble.ALL_QUEUES:

This part confuses me a bit because it seems to be the inverse of what we had before.

Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.
Comment 4 Aakash Jain 2020-03-09 09:41:58 PDT
Comment on attachment 393033 [details]
Patch

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

>> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
>> +            for queue in StatusBubble.ALL_QUEUES:
> 
> This part confuses me a bit because it seems to be the inverse of what we had before.
> 
> Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.

Before, if a patch was not sent to buildbot, we would exit early and display submit-to-ews button. If the patch was sent to buildbot, we would generate all it's bubbles. Should be same now as well.
Comment 5 Jonathan Bedard 2020-03-09 11:48:21 PDT
Comment on attachment 393033 [details]
Patch

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

>>> Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py:302
>>> +            for queue in StatusBubble.ALL_QUEUES:
>> 
>> This part confuses me a bit because it seems to be the inverse of what we had before.
>> 
>> Before, we would iterate through all bubbles if there was a patch and is had NOT been sent to Buildbot, now, we iterate through all the bubble is there is a patch and it HAS been sent to Buildbot.
> 
> Before, if a patch was not sent to buildbot, we would exit early and display submit-to-ews button. If the patch was sent to buildbot, we would generate all it's bubbles. Should be same now as well.

I'm sorry, you're right, was mis-reading the code.
Comment 6 EWS 2020-03-10 05:27:25 PDT
Committed r258198: <https://trac.webkit.org/changeset/258198>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 393033 [details].
Comment 7 Radar WebKit Bug Importer 2020-03-10 05:28:12 PDT
<rdar://problem/60269688>