[ROCm] Skip the TheRock pre-release CI legs on release runs #40784

Merged
mminutoli opened 8:52pm on September 17, 2026 wanted to merge 1 commit into google/jax main from
user/mminutoli/disable-rocm-latest-on-release

Pull Request Overview

  • Opened on September 18, 2026
  • Status Merged
  • Commit count 1 with first commit September 18, 2026

Total Delta

0 Total Diff Delta

Open Days

Open 1 weekdays

Test Delta

0 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Fraction of total time Business days Phase
 
0.0 days Authoring 1 commit before pull request opened for review
 
0.0 days Awaiting first review
Set up deploy tracking to begin tracking full PR start-to-deploy times

Total time for pull request 0.0 business days from first commit authored to merge
Deploy tracking has not been set up

Author avatar

[ROCm] Skip the TheRock pre-release CI legs on release runs

The ROCm jobs in wheel_tests_nightly_release.yml run against two ROCm variants: the pinned TheRock 10.0.0 and the moving TheRock Next (pre-release) (therock-latest). Tracking the moving one is the point on nightlies. On a release run it is noise: those legs must test the ROCm that actually ships, and a therock-latest failure there muddies a release it has no bearing on.

Technical details


  • Adds a conditional exclude entry to each of the three ROCm matrices (build-rocm-artifacts, run-pytest-rocm, run-bazel-test-rocm) dropping the therock-latest leg on release runs. The rocm: lists themselves are unchanged.

  • A run counts as a release run when github.ref_name starts with release/ (upstream release branches) or rocm-jaxlib-v (downstream ROCm release branches), or when the artifact-type input is release.

  • The prefixes are anchored deliberately to avoid matching other branches.

  • Follows the existing idiom in this file β€” the &&-only expression that renders the matched value on a release branch and short-circuits to false (a no-op exclude) otherwise, as in the TPU libtpu-version-type excludes, combined with partial-object exclude against a dict-valued dimension as in run-pytest-cuda.

Test plan

Release-mode workflow_dispatch on ROCm/jax.

Test result

| artifact-type | build legs |
| --- | --- |
| release | 10 β€” all TheRock 10.0.0, zero pre-release |
| default | 20 β€” 10 pinned + 10 pre-release |

PR was closed without comments.