[ci] Reuse 'compiler-runtime' and 'emulation' stage artifacts #17094
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.33) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 149 lines diff across 1 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.300
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #17094"
general
weight: 0.35
nunnikri
Motivation
This should save about 15 minutes of CPU build runner time on both Linux and Windows per workflow run.
Fixes https://github.com/ROCm/TheRock/issues/7781
Fixes https://github.com/ROCm/TheRock/issues/9923
Technical Details
These build stages do not use sources from this rocm-libraries repository so they should be considered for artifact cache hits. The compiler-runtime stage was not possible to reuse across repositories (technically across build directories) due to https://github.com/ROCm/TheRock/issues/7781 which should (hopefully) be resolved now.
Note that we plan to replace this 'prebuilt_stages' system with a generalized artifact cache that does not need this explicit control as part of https://github.com/ROCm/TheRock/issues/8651.
Test Plan
Check that "TheRock CI" on this PR uses prebuilt artifacts for the compiler-runtime stage then passes builds and tests.
Test Result
https://github.com/ROCm/rocm-libraries/actions/runs/46779621242?pr=17094 passed all builds and tests.
Submission Checklist