Repository navigation
perf(ci): give the Android smoke lane eight runner cores - #4678
Conversation
Every phase inside "Run Android smoke checks" stretches by the same factor with runner load: emulator boot 27-63 s, fixture install 3.4-18.2 s, and each smoke scenario, across green runs at 4 vCPU. The emulator holds two pinned cores and the harness issues one CLI process per step, so the step processes queue for the two remaining cores. Eight cores give the emulator and the step processes separate cores. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This PR is ready at 87923a6. I found no problems in the change, and the Android Smoke Tests job passed on the new 8 vCPU runner (3m43s), so the diff overlaps a check that is green. All 30 checks pass or are skipped, there are no open review threads, and there are no conflicts. Not blocking, and you can take or leave these: the speedup rests on 3 samples at 8 vCPU against 13 at 4 vCPU from one time window, so it is worth re-checking the job duration after a few merged main runs, and the comment's "two cores" is the emulator action's default rather than a repo setting, so saying so in the comment or body would keep it from going stale. Nothing else is needed before merge; the cost against saving trade-off is the only call left for the maintainer. |
Summary
The Android
Smoke Testsjob ran onblacksmith-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 insideRun Android smoke checksstretches by the same factor with runner load: at 4 vCPU, emulator boot 27–63 s,smoke:fixture-bootstrap3.4–18.2 s, whole harness E2E 100–244 s. Eight cores give the emulator and the step processes separate cores.One
runs-online plus a comment. No scenario, gate, or emulator-flag changes.Validation
Measured per phase from the run logs (
Boot completed in, harnesssmoke:*report) and theandroid-artifactsstep history, across 13 green 4 vCPU runs and 3 green runs of head87923a67f4at 8 vCPU (runs 44280191285 attempts 1–2, 44281678414):Run Android smoke checksAt $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=artifactin all samples) and the replay stay as they were.🤖 Generated with Claude Code