We should run the CheckPatchRelevance step before applying the patch. CheckPatchRelevance is very quick, usually less than a second, While applying the patch seems to take about half a minute (since it involve cleaning up any previous change, updating to ToT and then applying the patch). For queues like WebKitPy-Tests where very little percentage of patches are actually relevant, it is a waste of time to apply the patch and then discover that the patch doesn't needs to be processed in the first place. Therefore checking the patch relevance should be one of the very first step.
Created attachment 358248 [details] Proposed patch
Attachment 358248 [details] did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/factories.py:37: [Factory.__init__] Undefined variable 'CheckPatchRelevance' [pylint/E0602] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 358248 [details] Proposed patch Clearing flags on attachment: 358248 Committed r239616: <https://trac.webkit.org/changeset/239616>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47050389>