← Back to Pull requests

CI: treat StinkyTofu changes as build-only in multi-arch CI #11892

Closed
unknown closed this pull request without merging on Sep 14, 2026 19:37 UTC
View on GitHub
unknown unknown commented on Sep 09, 2026 21:22 UTC
Author

https://github.com/ROCm/rocm-libraries/issues/11885

Summary

Treat shared/stinkytofu changes as build-only in multi-arch CI.

StinkyTofu currently affects gfx1250, while the available multi-arch test runners cover older GPU architectures. Running BLAS tests on those runners for a StinkyTofu-only change adds queue time without providing relevant runtime coverage.

Changes

  • Forward shared/stinkytofu unchanged to TheRock test selection.

  • Prevent StinkyTofu from being expanded into:

  • - hipblas
    - hipblaslt
    - rocblas
    - tensilelite
  • Preserve the existing BLAS build mapping in therock_matrix.py, so applicable build validation continues to run.

  • Preserve tests selected by other projects when StinkyTofu is part of a mixed change.

  • Add unit coverage for StinkyTofu-only and mixed-project selection.
  • With the corresponding TheRock change, the routing becomes:

    shared/stinkytofu
            ↓
    rocm-libraries forwards the subtree unchanged
            ↓
    TheRock maps shared/stinkytofu to no runtime tests
            ↓
    Applicable builds run, but multi-arch runtime tests do not
    

    Dependency

    This PR depends on <TheRock PR link>, which maps shared/stinkytofu to an empty test dependency list while preserving the distinction between “no projects supplied” and “an explicitly supplied project with no applicable tests.”

    After that PR lands, this PR must update .github/workflows/therock-multi-arch-ci.yml to pin the TheRock commit containing the change.

    Test plan

    python -m pytest \
      .github/scripts/tests/multi_arch_test_projects_test.py
    
    9 passed
    

    Remaining work

  • Land the dependent TheRock PR.

  • Update the pinned TheRock SHA in therock-multi-arch-ci.yml.

  • Validate with a StinkyTofu-only CI change that the applicable build runs and multi-arch runtime tests are not scheduled.
  • Diff: 238 lines (+178 / -60) across 2 files Reviewer: ammallya Review duration: 7095m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 238 lines diff across 2 files
    0.37
    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%
    60%
    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.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #11892"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 37.2% (MEDIUM) · Higher = larger blast radius
    37.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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.7% · Safe to merge
    14.7%