Bug 188134

Summary: [ews-build] loadConfig should ensure that the triggers are valid
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, dean_johnson, ews-watchlist, lforschler, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch
none
Archive of layout-test-results from ews205 for win-future none

Description Aakash Jain 2018-07-27 18:23:56 PDT
loadConfig should ensure that the triggers are valid, so as to prevent any errors in triggers. Two common cases of error in triggers are:
1) unused trigger in 'triggers' section of config.json
2) builder referencing non-existing trigger

Unit-tests should fail when above error exist in config.json

Also see: <rdar://problem/35892616> for related issue.
Comment 1 Aakash Jain 2018-07-27 18:28:11 PDT
Created attachment 345984 [details]
Proposed patch
Comment 2 EWS Watchlist 2018-07-28 00:36:31 PDT Comment hidden (obsolete)
Comment 3 EWS Watchlist 2018-07-28 00:36:43 PDT Comment hidden (obsolete)
Comment 4 WebKit Commit Bot 2018-07-30 16:22:29 PDT
Comment on attachment 345984 [details]
Proposed patch

Clearing flags on attachment: 345984

Committed r234395: <https://trac.webkit.org/changeset/234395>
Comment 5 WebKit Commit Bot 2018-07-30 16:22:30 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-07-30 16:24:10 PDT
<rdar://problem/42751331>