← Back to Pull requests

ci: select runners from therock-ci-config #16690

Open
unknown opened this pull request with 418 lines diff across 5 files
View on GitHub
unknown unknown commented on Nov 25, 2026 00:26 UTC
Author

JIRA ID : AIHPBLAS-5081

Motivation

Runner labels in rocm-libraries workflows are hard-coded, so when DevOps retires or rebalances a pool (as with aws-linux-scale-rocm-prod, fixed in #16642 and #16729), every workflow needs a PR. TheRock already reads its runners from ROCm/therock-ci-config; this does the same here.

Stacked on #16729.

Technical Details

  • Add a ci-runners composite action that checks out therock-ci-config and returns its build_runners and gpu_runner_labels as build-runners and gpu-runners JSON outputs. Each runner list resolves to one label, weighted by count when present and by weight otherwise, as TheRock's select_weighted_label does. Workflows read entries with fromJSON, for example .linux.default or .gfx950.linux.test-runs-on-labels.

  • Audit all workflows and replace every hard-coded runner label with the closest matching therock-ci-config entry, and drop the runner outputs from ci-env. GPU tests use the family's weighted test-runs-on-labels pool, as TheRock does.

  • - Exception: gfx1250_hipblaslt_tensilelite_test.yml keeps blas-rocm-mi455-sandbox, which has no therock-ci-config entry.
  • hipblaslt-local-kernels-ci.yml already uses TheRock's selector but read the labels built into its pinned TheRock; point it at the config with CI_CONFIG_PATH.

  • hipblaslt-drop-build.yml and miopen-wrapper-flag-on.yml now have a small setup job on ubuntu-24.04 that selects their runners.

  • Add manual-run inputs that override the selected runners to every workflow that uses ci-runners, for testing and debugging on specific pools.
  • This is a no-op for all workflows except the following jobs, which gain a possible runner:

    | Workflow | Job | Old possible runners | New additional runners |
    |---|---|---|---|
    | hipblaslt-asan-ci.yml | test (gfx942 entries) | linux-gfx942-1gpu-ccs-csp-ossci-rocm | linux-gfx942-1gpu-ccs-ossci-rocm |
    | hipblaslt-drop-build.yml | test-rpms (gfx942 entries) | linux-gfx942-1gpu-ccs-csp-ossci-rocm | linux-gfx942-1gpu-ccs-ossci-rocm |

    Test Plan

    For each job with a new possible runner, trigger a manual run of its workflow on that runner. hipblaslt-asan-ci.yml runs at the standard test level that nightly runs use.

    CI labels: ci:skip: therock-multi-arch-ci.yml only loses an unused ci-env output here. The workflows above ignore CI labels.

    Test Result

    | Workflow | Trigger | Run | Status |
    |---|---|---|---|
    | hipblaslt-asan-ci.yml | Manual, test_type=standard, gfx942_runner=linux-gfx942-1gpu-ccs-ossci-rocm | 45664717910 | Pass |
    | hipblaslt-drop-build.yml | Manual, gfx942_runner=linux-gfx942-1gpu-ccs-ossci-rocm | 45664622648 | Fails the same way as on develop (Prepare EL9 build environment) |

    Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
  • Risk level

    Low. Only gfx942 test runners for hipblaslt-asan-ci.yml and hipblaslt-drop-build.yml change, to a pool tested here; later config changes apply to these workflows without a PR here.

    Diff: 418 lines (+313 / -105) across 5 files Reviewer: ScottTodd Review duration: 9659m
    All Vouch review confidence checks passed
    Residual risk 0.39 = Change Risk (0.68) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.68 · 418 lines diff across 5 files
    0.68
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    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.361
    Shallow Review Depth shallow_review_depth
    0.344
    Sensitive Paths sensitive_paths
    0.068
    Real PR Conversation Timeline
    1 comments
    "Review active on #16690"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 43.0% reviewed sensitive_module
    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: 68.2% (HIGH) · Higher = larger blast radius
    68.2%
    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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 38.9% · Moderate risk
    38.9%