We should ensure that every builder in config.json has short name. loadConfig should fail to load the config if a builder doesn't have shortname defined. Unit-tests should also fail in such case. This would make it almost impossible for someone to "forget" adding shortname while adding a new builder.
Created attachment 361548 [details] Proposed patch
Comment on attachment 361548 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=361548&action=review > Tools/BuildSlaveSupport/ews-build/loadConfig.py:105 > + raise Exception('Builder "{}" does not have short name defined. This name is needed for EWS status-bubbles.'.format(builder.get('name'))) I don't think status bubbles should be hyphenated. > Tools/BuildSlaveSupport/ews-build/loadConfig_unittest.py:113 > + self.assertEqual(context.exception.args, ('Builder "mac-wk2(test)" does not have short name defined. This name is needed for EWS status-bubbles.',)) ditto
Committed r241221: <https://trac.webkit.org/changeset/241221>
<rdar://problem/47934404>