From 7fa3de88849e5504d73ab87679bb96c86ffdaf2e Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Thu, 3 Dec 2026 09:09:08 +0100 Subject: [PATCH] CI: skip the GPUArrays tests under validation on pull requests Validation runs the tests with the Level Zero validation layer and debug builds of NEO and IGC. Every failure it reported since June was an IGC assertion caused by a toolchain change, showing up on main and every branch at once, never a bug in a pull request. The GPUArrays test suite takes about 80% of its run time, and with several agents now sharing the oneAPI runner the full run no longer fits in two hours. Pull requests now skip the GPUArrays tests, which keeps oneAPI.jl's own tests (where the device/intrinsics and execution tests caught the last assertion), and branch builds run the full suite with a 3-hour limit. --- .buildkite/pipeline.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 31d791d6..07b31d65 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -79,12 +79,18 @@ steps: - group: ":eyes: Special" depends_on: "julia" steps: - - label: "Validation" + # run the tests with Level Zero's validation layer and debug builds of the driver and + # compiler. their assertions have caught toolchain bugs, which show up on every branch + # at once, so pull requests skip the GPUArrays test suite (most of the run time), and + # branch builds run everything. + - &validation + label: "Validation" plugins: - JuliaCI/julia#v1: version: "1.13" - JuliaCI/julia-test#v1: julia_args: "-g2" + test_args: "!gpuarrays" - JuliaCI/julia-coverage#v1: codecov: true dirs: @@ -106,9 +112,28 @@ steps: if: | build.message !~ /\[skip [^\]]*(tests|special)/ && (build.message =~ /\[only [^\]]*(tests|special)/ || - build.message !~ /\[only / && !build.pull_request.draft) + build.message !~ /\[only / && !build.pull_request.draft) && + (build.pull_request.id != null || build.branch =~ /^ci\/pr-/) timeout_in_minutes: 120 + - <<: *validation + plugins: + - JuliaCI/julia#v1: + version: "1.13" + - JuliaCI/julia-test#v1: + julia_args: "-g2" + - JuliaCI/julia-coverage#v1: + codecov: true + dirs: + - src + - lib + - examples + if: | + build.message !~ /\[skip [^\]]*(tests|special)/ && + (build.message =~ /\[only [^\]]*(tests|special)/ || build.message !~ /\[only /) && + build.pull_request.id == null && build.branch !~ /^ci\/pr-/ + timeout_in_minutes: 180 + # drivers without `zeCommandListImmediateAppendCommandListsExp` don't batch, so check # that the core functionality behaves the same. not tested on pull requests. - label: "Without batching"