feat: Add 'sys' artifact component for OS-managed system config files #9604
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 258 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.332
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #9604"
general
weight: 0.35
nunnikri
Introduce a 'sys' artifact component for files that belong in OS-managed
directories outside the ROCm prefix (ldconfig drop-ins, OpenCL ICD
registrations, systemd units), as proposed in #4753.
- artifact_builder: add 'sys' with default includes /etc/ and /usr/ (excluding /share/doc/, which stays with 'doc'). The extends chain becomes lib → run → dbg → dev → sys → doc → test.
- core-ocl: route etc/OpenCL/vendors/amdocl64.icd and etc/ld.so.conf.d/10-rocm-opencl.conf from 'lib' to 'sys'. The lib descriptor excludes etc/, since the "ld.so.conf.d" directory name otherwise matches lib's /.so. pattern.
- artifact_manager: recognize 'sys' for fetch and stage reuse. analyze_build_times: parse _sys_ archive names.
- Keep consumer output unchanged: amdrocm-opencl (package.json), the rocm-sdk-core wheel and install_rocm_from_artifacts now pick up core-ocl 'sys'. The Windows MSI fetch skips 'sys'.
ISSUE ID: https://github.com/ROCm/TheRock/pull/4753
Test Result
CI run: https://github.com/ROCm/TheRock/actions/runs/40839351380 (Linux, gfx94X-dcgpu)
Compared against nightly main: https://github.com/ROCm/rockrel/actions/runs/40791236520
Artifacts
- New
core-ocl_sys_genericcontainsetc/ld.so.conf.d/10-rocm-opencl.confandetc/OpenCL/vendors/amdocl64.icd, byte-identical to nightly.- All 340 artifacts compared with nightly: only
core-oclchanged (these 2 files movedlib→sys). rdc and all other artifacts are unaffected.Packages and wheel (unchanged vs nightly)
-
amdrocm-opencl10.3deb and rpm: identical file lists; ICD and ldconfig conf still installed under/opt/rocm/core-10.3/etc/.-
amdrocm-opencl-dev10.3/-test10.3debs: identical.-
rocm_sdk_corewheel: bothetcfiles present, identical contents.CI jobs
- Build stages, Validate Artifact Structure, DEB/RPM builds, RPM install tests and Python wheel tests passed.
Submission Checklist