Index: libcxx/utils/ci/buildkite-pipeline.yml =================================================================== --- libcxx/utils/ci/buildkite-pipeline.yml +++ libcxx/utils/ci/buildkite-pipeline.yml @@ -27,7 +27,7 @@ artifact_paths: - "**/clang-format.patch" agents: - queue: "libcxx-builders" + queue: "service" retry: automatic: - exit_status: -1 # Agent was lost Index: libcxx/utils/ci/run-buildbot =================================================================== --- libcxx/utils/ci/run-buildbot +++ libcxx/utils/ci/run-buildbot @@ -130,6 +130,7 @@ libcxxabi/{fuzz,include,src,test} \ | tee ${BUILD_DIR}/clang-format.patch # Check if the diff is empty, fail otherwise. + grep --version ! grep -q '^--- a' ${BUILD_DIR}/clang-format.patch ;; check-generated-output) @@ -144,6 +145,7 @@ python3 libcxx/utils/generate_header_tests.py git diff | tee ${BUILD_DIR}/generated_output.patch # Check if the diffs are empty, fail otherwise. + grep --version ! grep -q '^--- a' ${BUILD_DIR}/generated_output.patch || false # Reject patches that introduce non-ASCII characters or hard tabs. ! grep -rn '[^ -~]' libcxx/include/ || false