perf(ci): give the Android smoke lane eight runner cores

Merged
TH
10d ago
+3-1

Summary

The Android Smoke Tests job ran on blacksmith-4vcpu-ubuntu-2404. The emulator holds two pinned cores (cores: 2) and the harness issues one CLI process per step — 137 steps in the sampled run — so those processes queue for the two cores the emulator does not hold. Every phase inside Run Android smoke checks stretches by the same factor with runner load: at 4 vCPU, emulator boot 27–63 s, smoke:fixture-bootstrap 3.4–18.2 s, whole harness E2E 100–244 s. Eight cores give the emulator and the step processes separate cores.

One runs-on line plus a comment. No scenario, gate, or emulator-flag changes.

Validation

Measured per phase from the run logs (Boot completed in, harness smoke:* report) and the android-artifacts step history, across 13 green 4 vCPU runs and 3 green runs of head 87923a67f4 at 8 vCPU (runs 44280191285 attempts 1–2, 44281678414):

Measure4 vCPU (n=13)8 vCPU (n=3)
Job205–456 s, p50 329204–223 s, p50 216
Run Android smoke checks147–360 s, p50 244143–163 s, p50 152
Emulator boot27.0–63.2 s23.5–27.8 s
E2E harness100–244 s101.8–117.1 s

At $0.008/min (4 vCPU) and $0.016/min (8 vCPU): job p50 cost $0.044 → $0.058 (+32%) for −34% job wall time. The 8 vCPU spread is 19 s wide against 251 s at 4 vCPU, and every 8 vCPU sample beats the 4 vCPU p50; the lane's worst case halves. Risks: three head samples; the fixture restore (24–35 s, cache hit, source=artifact in all samples) and the replay stay as they were.

🤖 Generated with Claude Code