fix(ci): classify files outside external-repository source roots #9808
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.42) × (1 − Review Confidence (0.39)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 337 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 47% · 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.348
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9808"
general
weight: 0.35
ScottTodd
Motivation
A hipBLASLt PR that also changes
.github/workflows/hipblaslt-asan-ci.ymlcurrently selects all eligible components' quick tests, including rocFFT. The workflow file sits outside the source roots inrepos-config.json, so the external-repository selector treats its impact as unknown even though it belongs to hipBLASLt.Technical Details
Add repository-specific file ownership in
external_repo_ci_paths.toml. Component workflows and test drivers contribute their owners to the changed-project set, preserving normal downstream-consumer selection. Shared build and CI files explicitly retain broad coverage. Unknown files and missing owners still trigger the conservative fallback and appear in the configure log, including when a shared file also changed. Shared workflow changes retain any changed monorepo-native projects alongside the configured repository projects.Audited all 59,056 tracked files in rocm-libraries at
c0bd02c23775f7eae7a9d85abbdc5418e90ad8a5. The 181 non-documentation files outside source roots resolve to 38 component-owned files, 139 files retaining broad coverage, and four repository-scoped workflows; none remain unclassified. HostNumerics and the hipDNN install infrastructure retain broad coverage because their tests are not yet represented by the relevant consumer-graph nodes. New files still need classification as they are introduced.This changes CI selection; incorrect ownership could omit relevant tests. Regression tests cover mixed changes, missing owners, shared infrastructure and unknown files, and invoke the real consumer selector. Deployment requires rocm-libraries to adopt a TheRock revision containing this change; its current pin does not include the fix.
Test Plan
Test Result
Focused tests and all pre-commit hooks pass. The component-ownership regression fails against the original selector and passes with this change. Replaying the affected hipBLASLt PR selects hipBLASLt/TensileLite and their consumers without FFT; a PR that also changes shared CI remains broad. All 22 component-owned test drivers select their intended jobs. Validation is local Python selection and configuration testing; no GPU workloads or manual CI runs were used for validation.
Submission Checklist
Related to the external-repository workflow scoping work in #8514.
ISSUE ID: #8514