fix(ci): preserve manual Android suite timing

Merged
TH
2mo ago
+133-19

Summary

The pinned emulator action starts a separate shell for each script line, losing Android setup/full-suite timestamps and reporting negative setup and zero suite durations.

Run the existing pipeline through one shell using the action's emulator serial. Record both timings even if full E2E fails, then preserve its exit code and stop before ordinary replay. Four files changed; prerequisite for #3555 and #3077 validation.

Validation

Tested head: f660374efbf42d270e9edcabaa8e3bd8f866510e, rebased onto main 15cfe9fa2 including merged test repairs #3590. Both layer commits are unchanged by range-diff.

RegressionBeforeAfter
Lost timestamp state8255c735: FAIL (-90s/0s)PASS (10s/25s)
Failed full suite loses timingf9260b1ee: 1 FAIL / 2 PASS3 PASS; exit 13, no replay

Three focused cases cover two independent serials; hardcoding the first serial fails both other-serial cases. Mutation restored. Frozen install/build and exact-head pnpm check:affected --base 15cfe9fa2 --run pass all runnable gates, including 1,760 Vitest files / 14,891 passed tests / one skip. Fresh combined-stack review has no findings. Integration passed. iOS smoke failed during runner startup after preflight passed; one failed-job rerun was requested based on retained Xcode worker/listener evidence. Startup-stall cause remains unknown; no budgets or assertions changed. Coverage and remaining checks are pending.

Earlier hosted Android, runtime a3aba45a, reports setup 92s/full 398s. Pure workflow repair; no new device behavior.