Add per-variant PR label and test inputs to setup_multi_arch #9887
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 307 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.343
Real PR Conversation Timeline
1 comments
"Review active on #9887"
general
weight: 0.35
endurthiabhilash
Motivation
Based on the decisions made in #9366, each repository should choose which sanitizer variant runs on which trigger in its own workflow file. This PR adds the TheRock side: inputs on
setup_multi_arch.ymlfor the pull request label and test policy, andhost-asansupport for gfx90a.GitHub issue: https://github.com/ROCm/TheRock/issues/9366
Technical Details
setup_multi_arch.ymlgets three optional inputs:pull_request_opt_in_label,pull_request_opt_out_label(strings) andpull_request_tests(boolean). They apply topull_requestevents only, and the defaults keep current behavior.configure_multi_arch_ci.pyapplies the label inputs inget_skip_reason()and shows the skip reason in the job summary.pull_request_testsruns tests for sanitizer variants on pull requests. Forhost-asanit uses the family's regular runner when there is no sandbox runner.gfx90alistshost-asaninbuild_variants.docs/development/ci_behavior_manipulation.mddocuments the inputs and skip precedence.Behavior change: because gfx90a now supports
host-asan, the existingasanworkflow'spushruns, andscheduleruns with theci:host-asanlabel, also build gfx90a. Its tests stay off there. This lasts until theasantohost-asanrewrite is removed.Test Plan
python -m pytest build_tools/github_actions/tests/andpre-commit run --all-files.pull_request_testsand a gfx90ahost-asanpull request with the real matrix.build_variant: "host-asan",linux_amdgpu_familiesofgfx90aandpull_request_tests: true, checking the setup summary, the test runner, and that an opt-out label skips the run with the reason shown.Test Result
- Default PR run: https://github.com/ROCm/rocm-systems/actions/runs/43327444484
- Opt in label (without providing label): https://github.com/ROCm/rocm-systems/actions/runs/43337169722
- Opt in label (with label): https://github.com/ROCm/rocm-systems/actions/runs/43337543460
Submission Checklist