Run the Android emulator tests in their own jobs #347
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 · 238 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 #347"
general
weight: 0.35
FranzBusch
Motivation
An Android SDK job with the emulator enabled built every triple one after another before it started the emulator, so the emulator waited on builds of triples it never runs.
<img width="1994" height="1240" alt="image" src="https://github.com/user-attachments/assets/1db834cb-3dec-451d-bf99-865fabd5f02c" />
The script also chose the triple to run by taking the last one in the list, an ordering convention which felt like a footgun.
Changes
Split out build and testing work into different jobs on separate executors, parallelizing the work.
Replaced
android_sdk_triples,enable_android_emulator_testsand the choice of emulator triple with two lists:android_sdk_build_triplesfor triples that are only built, andandroid_emulator_test_triplesfor triples that are built and run on an emulator. The defaults buildaarch64only and runx86_64on the emulator. Each emulator triple builds in its own job, and the build-only triples share one job beside them. Only an emulator job builds the test binaries.enable_android_sdk_buildstill turns off all of the Android jobs. To drop only the emulator, emptyandroid_emulator_test_triples, or move its triples toandroid_sdk_build_triplesto keep building them.The generator fails when a triple appears more than once across the two lists, when one is blank, or, with the SDK build enabled, when both lists are empty.
NOTE: When executing, entry names will change because an entry is named for the triples it builds when they are split, for example
becomes
Entry names are required status checks in adopting repositories, so they will need updating, and a caller that set
android_sdk_triplesorenable_android_emulator_testsmust switch to the new inputs.