ci: route emulation stage to medium runners for sanitizer builds #10256
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 274 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.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #10256"
general
weight: 0.35
geomin12
Summary
Routes the emulation stage to medium runners for ASAN/TSAN sanitizer builds, following the same pattern introduced for native package jobs in #10095.
Also refactors \
select_build_runner\into a \SIZE_POOL_MAP\ruleset as requested in this review comment on #10095.ISSUE ID: #10156
Problem
The emulation stage currently runs on \
build_runs_on_small\for all build variants. For sanitizer builds (ASAN/TSAN), the large artifact set produced can cause cpu pressure on small runners, resulting to jobs being OOM'd and killed — the same issue that motivated the \native_package\routing change in #10095.Changes
\
amdgpu_family_matrix.py\select_build_runner\if-chain with \SIZE_POOL_MAP\: a dict mapping each size key to a lambda that resolves the runner pool from the build variant. Adding a new job type is now a one-liner in the map — no changes to the function needed.emulation\entry: resolves to \medium\for sanitizer builds, \small\otherwise\
configure_multi_arch_ci.py\build_runs_on_emulation: str = ""\field to \BuildConfig\build_runs_on_emulation\alongside \build_runs_on_native_package\\
multi_arch_build_portable_linux.yml\build_runs_on_emulation\input (default: \aws-linux-scale-rocm-small\)build_runs_on_emulation\instead of \build_runs_on_small\\
multi_arch_ci_linux.yml\build_runs_on_emulation\from \build_config\through to \multi_arch_build_portable_linux\\
multi_arch_release_linux.yml\build_runs_on_emulation\from \build_config\through to \multi_arch_build_portable_linux\Tests
amdgpu_family_matrix_test.py\: adds \native_package\and \emulation\size test casesconfigure_multi_arch_ci_test.py\: adds \build_runs_on_emulation\to Windows \unused_fields\(emulation is Linux-only)Infrastructure dependencies
None — uses existing medium runner pools.
🤖 Generated with Claude Code