Bug 193968 - [ews-build] Configure buildbot to send events to ews-app
Summary: [ews-build] Configure buildbot to send events to ews-app
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-29 10:49 PST by Aakash Jain
Modified: 2019-01-29 12:42 PST (History)
6 users (show)

See Also:


Attachments
Proposed patch (8.85 KB, patch)
2019-01-29 11:00 PST, Aakash Jain
lforschler: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2019-01-29 10:49:31 PST
ews-build Buildbot should send build and step start/stop events to ews-app, so that ews-app can process them appropriately and generate status-bubbles.
Comment 1 Aakash Jain 2019-01-29 11:00:32 PST
Created attachment 360477 [details]
Proposed patch
Comment 2 EWS Watchlist 2019-01-29 11:03:26 PST Comment hidden (obsolete)
Comment 3 Lucas Forschler 2019-01-29 12:25:47 PST
Comment on attachment 360477 [details]
Proposed patch

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

lgtm with a couple comments.

> Tools/BuildSlaveSupport/ews-build/events.py:37
> +

I forget our sorting policy when using 'from', but TextMate sorts these:
from buildbot.util import service
from twisted.internet import defer
from twisted.internet import reactor
from twisted.internet.defer import succeed
from twisted.python import log
from twisted.web.client import Agent
from twisted.web.http_headers import Headers
from twisted.web.iweb import IBodyProducer
from zope.interface import implements

> Tools/BuildSlaveSupport/ews-build/events.py:77
> +    def __init__(self, type_prefix="", name='Events'):

mixing "" and '' here.

> Tools/BuildSlaveSupport/ews-build/events.py:102
> +    def getPatchid(self, build):

maybe consider getPatch_id ?
disregard if we are trying to stay consistent with other uses.
Comment 4 Aakash Jain 2019-01-29 12:37:59 PST
> I forget our sorting policy when using 'from', but TextMate sorts these:
Done

> mixing "" and '' here.
Fixed

> maybe consider getPatch_id ?
renamed to getPatchID
Comment 5 Aakash Jain 2019-01-29 12:41:38 PST
Committed r240671: <https://trac.webkit.org/changeset/240671>
Comment 6 Radar WebKit Bug Importer 2019-01-29 12:42:33 PST
<rdar://problem/47642094>