Add scheduled Python dependency mirror refresh (dev stream). #136
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 239 lines diff across 2 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.328
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #136"
general
weight: 0.35
cgoea
Motivation
Fixes ROCm/TheRock#9684. Mirrored third-party Python dependencies in
rocm/core/whl-next/are uploaded once and never refreshed, so the stream lifecycle rules expire them androcm[...]installs fail. This adds the central mirror workflow in rockrel. Related ROCm/TheRock#7680Related
Docs: update docs for python dependency updates ROCm/TheRock#9737. Merge this PR first; the docs link to the workflow file added here.
Depends on ROCm/TheRock#9789, which adds the
aws_profileinput toconfigure_aws_product_publication_credentials. Merge it first; this workflow uses TheRockmain.Technical Details
Runs weekly (Mondays 06:00 UTC) and on manual dispatch. One job resolves the dependency snapshot once and publishes it with
--refresh-existingtotherock-repo-amd-<stream>-core.Credentials come from TheRock's
configure_aws_product_publication_credentialsaction, so role and region selection stay in TheRock. Each stream logs in to its ownmirror-<stream>profile, and the publish loop selects it throughAWS_PROFILE.Only
devis enabled.all(also used by the scheduled run) is defined byALL_STREAMS, which is currentlydev. Thenightly,bkcandrclogin steps exist, but their dispatch options are commented out.Enabling a stream: uncomment its dispatch option. To include it in
all, add it toALL_STREAMSand add"all"to its login step condition.Tests
Earlier dry runs of the resolve and publish logic:
dev - https://github.com/ROCm/rockrel/actions/runs/42064832548/job/127375984959
nightly - https://github.com/ROCm/rockrel/actions/runs/42065442527/job/127378139194
all (dev+nightly) - https://github.com/ROCm/rockrel/actions/runs/42073275437/job/127406645142
Submission Checklist