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]
Attachment 358248 [details] did not pass style-queue:
ERROR: Tools/BuildSlaveSupport/ews-build/factories.py:37: [Factory.__init__] Undefined variable 'CheckPatchRelevance' [pylint/E0602] 
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]
Clearing flags on attachment: 358248
Committed r239616: <https://trac.webkit.org/changeset/239616>
All reviewed patches have been landed. Closing bug.