← Back to Pull requests

Run the Android emulator tests in their own jobs #347

Closed
unknown closed this pull request without merging on Nov 04, 2026 14:44 UTC
View on GitHub
unknown unknown commented on Nov 03, 2026 16:55 UTC
Author

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_tests and the choice of emulator triple with two lists: android_sdk_build_triples for triples that are only built, and android_emulator_test_triples for triples that are built and run on an emulator. The defaults build aarch64 only and run x86_64 on 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_build still turns off all of the Android jobs. To drop only the emulator, empty android_emulator_test_triples, or move its triples to android_sdk_build_triples to 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

Android SDK Swift current NDK r30

becomes
Android SDK Swift current NDK r30 x86_64-android28
Android SDK Swift current NDK r30 aarch64-android28

Entry names are required status checks in adopting repositories, so they will need updating, and a caller that set android_sdk_triples or enable_android_emulator_tests must switch to the new inputs.

Diff: 238 lines (+178 / -60) across 2 files Reviewer: FranzBusch Review duration: 1309m
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
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 37.2% (MEDIUM) · Higher = larger blast radius
37.2%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 14.7% · Safe to merge
14.7%