ci(rpp): enable RPP build and test in TheRock CI #10510
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.46) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 460 lines diff across 5 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.367
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10510"
general
weight: 0.35
ammallya
ISSUE ID : #10187
Summary
Enables RPP build and test in TheRock CI. RPP landed in TheRock as a
cv-libscomponent (ROCm/TheRock#5708), but nothing on the rocm-libraries side selected it:projects/rppchanges ran no CI at all, and the existingtest:rpplabel was parsed as an unknown project and silently ignored.Changes
.github/actions/ci-env/action.yml— bump the TheRock ref from54d1439to36efe519(2026-08-05), the commit that adds therpptest-matrix entry andtest_rpp.py. This is a clean fast-forward (21 commits ahead, 0 behind). Without it there is no RPP test job forfetch_test_configurations.pyto select, so the wiring below would be inert..github/scripts/therock_matrix.py— mapprojects/rppto a newrppproject built with-DTHEROCK_ENABLE_RPP=ONand tested asrpp. RPP's artifact only depends on core (core-runtime,core-hip,base,sysdeps), so it needs no math umbrella.This also adds an optional
platformskey to a project entry. RPP is the first Linux-only project in the matrix: Windows support is experimental and off by default in TheRock, and TheRock'srpptest job is Linux-only, so without a guard the Windows setup step would emit a build-only RPP row. Entries without the key are unaffected, and the key is stripped before the row reaches the workflow..github/scripts/therock_configure_ci.py— union the changed-path prefixes withsubtree_to_project_map.repos-config.jsonis the subtree-sync registry and only lists subtrees that mirror a standalone upstream repo, so in-tree projects never appear there and their file changes matched nothing.Behavior
| Scenario | Jobs selected |
test_type||---|---|---|
|
projects/rppchange, Linux |rpp|standard||
projects/rppchange, Windows | none | — ||
projects/rppchange +test_type:full|rpp|full||
test:rppon a PR that doesn't touch rpp |rpp|standard||
projects/rpp/docsonly | none | — |As with every other library,
test:labels choose which library runs andtest_type:chooses depth. For RPP,standardrunsctest -E test_type_1(excluding the performance suites, roughly 58% of runtime) whilefullandcomprehensiverun the whole suite.Side effect worth flagging
The prefix fix also makes
projects/rocalutionandprojects/hipthreadschanges trigger CI. Both are already in the build matrix but absent fromrepos-config.json, so today their file changes select no jobs and they are reachable only through theirtest:labels. That is a latent gap rather than a deliberate design, so this fixes it. A new test iterates every subtree in the matrix and asserts it is detectable from a file change, so a future project cannot silently fall into the same hole.Test plan
pytest .github/scripts/tests/— 58 passed, 35 subtests passedpre-commit run --files <changed files>— all hooks pass (black, check-yaml, trailing-whitespace, end-of-file-fixer)therock_configure_ci.run()with only the git diff stubbed to produce the behavior table aboveNote on this PR's own CI
Because this PR touches
.github/scripts/therock*and.github/actions/ci-env/action.yml,check_for_workflow_file_related_to_ciintentionally expands the matrix to every project and forcestest_type: quick. The "only RPP runs" behavior is therefore covered by the unit tests here and will be directly observable on the next PR that touches onlyprojects/rpp.