fix(ci): map external repo paths for test selection #7921
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 251 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7921"
general
weight: 0.35
endurthiabhilash
Motivation
The rocm-libraries multi-arch CI integration uses TheRock's test dependency selector to decide which tests should run for changed external repo paths.
Some rocm-libraries paths were not mapped into TheRock's selector space, so changes under those paths could fail to select the intended runnable tests. This is a follow-up to the multi-arch CI enablement work tracked in https://github.com/ROCm/TheRock/issues/3343.
GitHub issue: https://github.com/ROCm/TheRock/issues/3343
Technical Details
This PR updates
test_tools/determine_rocm_test_dependencies.pyto handle the rocm-libraries path gaps in TheRock rather than relying on rocm-libraries-specific workflow workarounds.The change:
-
shared/stinkytofu-
shared/tensile-
shared/origami-
shared/mxdatageneratorprojects/composablekernelto the TheRock graph keycomposable_kernel.dnn-providers/integration-teststo the relevant hipDNN/MIOpen provider test selectors.hipdnn_integration_testsandhipdnn_samplesto the hyphenated CI test selector names consumed by the test matrix.get_subprojects_to_test()in graph-key space while translating selector names at the CLI/GitHub Actions output boundary.--explainoutput so it reports CI selector aliases when output translation changes the emitted selector names.Test Plan
Run the focused unit tests for the dependency selector and pre-commit on the changed files.
Test Result
Passed:
python -m pytest test_tools/tests/determine_rocm_test_dependencies_test.py -qpre-commit run --files test_tools/determine_rocm_test_dependencies.py test_tools/tests/determine_rocm_test_dependencies_test.pyResult:
56 passed, 17 subtests passedSubmission Checklist