Add task ordering to the main build for faster feedback

+review REVIEW-5235