feat(packaging): build amd-repo-setup for every distro in the ROCm repos #10004
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 356 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: 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.352
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10004"
general
weight: 0.35
nunnikri
Motivation
This builds
amd-repo-setupfor every distro the ROCm repos have packages for. It addsubuntu2204,ubuntu2604,debian12,debian13,rhel9,sles15andazl3, alongside the existingubuntu2404,rhel8,rhel10andsles16.Part of #6986.
Depends on #10003.
Technical Details
Distros
.el9,.sles15,.azl3).Build tools script
setup_repo_build_deps.shaccepts the Azure Linux profiles, still rejects unknown ones before any package manager runs, and usestdnfwherednfis missing.Docs
rocm_repo_setup.mdlists the new distros, and notes that minimal Azure Linux containers needca-certificates.Notes
Test Plan
cibuilt as dev.Test Result
| Check | Result |
|---|---|
| Unit tests | 665 passed, 4 skipped (real-ELF fixtures need a compiler) |
| Negative controls | 5 of 5 caught |
| Full suite | 39 tests added, all passing. One renamed. No other changes. |
| Build tools script | Right package manager on every image. An unknown profile is rejected before any package manager runs. |
| Lint and scans | pre-commit and shellcheck pass. bandit adds only low-severity notes for the new test. |
| End to end | 33 of 33 builds. Publish copies each package, and re-publishing skips them. |
| Live installs | 33 of 33: right folder, refresh works,
amdrocmresolves, clean removal || CI run | Setup-package jobs pass for all 11 distros. Red only from 2 unrelated GPU tests. |
| Dev release | Passes. All 11 distro jobs build, the packages publish, and each installs on its distro against the live dev repo and resolves this build's
amdrocm. |Submission Checklist