feat(rocdecode): ship samples and utils in the dev package #9772
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 · 242 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.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9772"
general
weight: 0.35
nunnikri
Summary
share/rocdecode/samples/) and utility sources (share/rocdecode/utils/) from thetestartifact component to thedevcomponent, so they ship in the development package (amdrocm-decode-devel/ the devel pip wheel) instead of the test package.testcomponent now carries only the CTest project, test scripts, and media.package.jsondescriptions so the test package no longer advertises samples and the devel package mentions them.Why
roc_video_dec.cppand the sample sources currently live in thetestcomponent, which the multi-archdevelwheel does not pull. This breaks the rocm-examples build withCannot find source file: .../share/rocdecode/utils/rocvideodecode/roc_video_dec.cpp. Moving samples/utils intodevmakes them present wherever the headers and CMake config already ship.The component extends-chain keeps the split disjoint automatically:
devis processed beforetest, so oncedevclaimssamples/andutils/, thetestglob skips them -- noexcludeneeded. Samples build standalone fromdev: their Find modules (share/rocdecode/cmake), public headers (include/rocdecode) and package config (lib/cmake/rocdecode) already ship indevvia default patterns, andamdrocm-decode-develdepends onamdrocm-decodeforlibrocdecode.Closes #5402
Test plan
therock-artifact-rocdecodeand confirmsamples/+utils/appear in thedevartifact component and are absent fromtest.share/rocdecode/utils/rocvideodecode/roc_video_dec.cppandshare/rocdecode/samples/**.test_rocdecode.py) still builds and runs (test package depends on devel viaamdrocm-decode-devel).🤖 Generated with Claude Code