← Back to Pull requests

Group clib, Java, Lucene, Rust, and Go CI jobs as matrix sub-jobs and split Java/Lucene build and test #2761

Closed
unknown closed this pull request without merging on Oct 07, 2026 22:20 UTC
View on GitHub
unknown unknown commented on Oct 06, 2026 23:24 UTC
Author

Restructures the clib, Java, Lucene, Rust, and Go CI jobs in pr.yaml, build.yaml, and test.yaml so each is a single job whose matrix entries appear as sub-jobs, following NVIDIA/cudf#24327. Previously each of these was a separate -matrix job plus a caller job that defined the matrix, so every matrix entry showed up as its own top-level check.

Reusable workflows

  • .github/workflows/clib-build.yaml: the standalone C tarball build, previously written out inline in both pr.yaml and build.yaml. It runs on the host runner, so it keeps its own steps.

  • .github/workflows/matrix-job.yaml: computes the conda-cpp-build matrix and calls rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main once per entry, so the job steps stay in shared-workflows instead of being copied here. Inside the wrapper, custom-job inputs use ${{ matrix. }} directly:

  • - Runner: GPU jobs default to rtxpro6000 on amd64 and l4 otherwise, with the latest driver. CPU jobs pass node_type, e.g. the Java/Lucene builds use cpu8.
    - Image: <container-image-repository>:26.12-cuda<CUDA_VER>-<LINUX_VER>-py<PY_VER>, with the repository defaulting to rapidsai/ci-conda. ci/release/update-version.sh still bumps the tag.
    - Artifact: <artifact-name-prefix>-cuda<CUDA_VER> when a prefix is given.

    custom-job reads secrets only through optional inputs we don't set, so callers no longer use secrets: inherit.

    Java and Lucene: separate build and test

    Previously ci/test_java.sh/ci/test_lucene.sh rebuilt and tested on amd64, and -other-arch jobs tested the amd64-built artifacts on arm64 (ci/test__prebuilt.sh). Now (closes the TODOs referencing #868):

  • conda-java-build/conda-lucene-build (PR) and java-build/lucene-build (build.yaml) build once on amd64 CPU runners, which build.yaml already used.

  • conda-java-tests/conda-lucene-tests test those artifacts without recompiling, on every architecture, amd64 included. The published jar is the amd64 build, so this checks that its jextract-generated Panama bindings work everywhere.

  • In test.yaml, the nightly test jobs no longer build. rapids-download-from-github fetches the artifacts from the build.yaml run for the same commit, as the old other-arch jobs already did.

  • ci/test_java_prebuilt.sh and ci/test_lucene_prebuilt.sh are renamed to ci/test_java.sh and ci/test_lucene.sh, replacing the old build-and-test scripts. This also makes the existing !ci/test_java.sh/!ci/test_lucene.sh changed-files exclusions apply to the scripts that run.

  • ci/build_java.sh/ci/build_lucene.sh drop --run-java-tests handling. The build.sh --run-java-tests flag for local development is unchanged.

  • The -other-arch jobs' release/26.10 pins and 26.10 container images are gone. All jobs use @main and 26.12 images.
  • Scripts no longer take matrix arguments

    ci/test_java.sh, ci/test_lucene.sh, ci/build_lucene.sh, and ci/test_standalone_c.sh derive artifact names from RAPIDS_CUDA_VERSION (and $(arch) for the clib tarball's amd64/arm64 suffix). Artifact names are unchanged.

    Other cleanups

  • rocky8-clib-tests no longer passes date: ${{ inputs.date }}_c and sha: ${{ inputs.sha }}. pr.yaml has no such inputs.

  • build.yaml's Rust matrix was computed with build_type: pull-request. It now uses the run's build type. The matrices are identical today.

  • nv-gha-runners/ actions (get-pr-info in pr.yaml) are used at @main, as in shared-workflows. .github/zizmor.yml now allows refs for nv-gha-runners/, as it already did for rapidsai/shared-workflows and rapidsai/shared-actions.
  • PR check names

    | Before | After |
    |---|---|
    | rocky8-clib-standalone-build (amd64, 3.11, 12.9.2, rockylinux8) | rocky8-clib-standalone-build / 12.9.2, 3.11, amd64, rockylinux8 |
    | rocky8-clib-tests (amd64, 3.11, 12.9.2, rockylinux8) | rocky8-clib-tests / 12.9.2, 3.11, amd64, rockylinux8, rtxpro6000, latest-driver / build |
    | conda-java-build-and-tests (amd64, 3.11, 12.9.2, rockylinux8) | conda-java-build / 12.9.2, 3.11, amd64, rockylinux8 / build |
    | | conda-java-tests / 12.9.2, 3.11, amd64, rockylinux8, rtxpro6000, latest-driver / build |
    | conda-java-tests-other-arch (arm64, 3.11, 12.9.2, rockylinux8) | conda-java-tests / 12.9.2, 3.11, arm64, rockylinux8, l4, latest-driver / build |
    | conda-lucene-build-and-tests (amd64, 3.11, 12.9.2, rockylinux8) | conda-lucene-build / 12.9.2, 3.11, amd64, rockylinux8 / build |
    | | conda-lucene-tests / 12.9.2, 3.11, amd64, rockylinux8, rtxpro6000, latest-driver / build |
    | conda-lucene-tests-other-arch (arm64, 3.11, 12.9.2, rockylinux8) | conda-lucene-tests / 12.9.2, 3.11, arm64, rockylinux8, l4, latest-driver / build |
    | rust-build (amd64, 3.11, 12.9.2, rockylinux8) | rust-build / 12.9.2, 3.11, amd64, rockylinux8, rtxpro6000, latest-driver / build |
    | go-build (amd64, 3.11, 12.9.2, rockylinux8) | go-build / 12.9.2, 3.11, amd64, rockylinux8, rtxpro6000, latest-driver / build |

    Rows show CUDA 12.9.2; each job also has a CUDA 13.3.0 entry. The clib jobs also have arm64 entries, as before. The -matrix jobs are gone from pr-builder.

    Runners

    The Java and Lucene PR builds move from RTX PRO 6000 to cpu8 runners, matching build.yaml. All other jobs keep their previous runners: clib build cpu16; clib, Java, and Lucene tests on RTX PRO 6000 (amd64) or L4 (arm64); Rust and Go on RTX PRO 6000. Rust and Go stay single GPU jobs: each takes ~4–7 minutes, mostly conda environment setup, so splitting build and test would repeat that setup without saving GPU time.

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: imotov Review duration: 1375m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2761"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%
    Repository