fix(android): use typed evidence in the readiness boot poller

Merged
TH
7d ago
+259-7

Summary

Use the existing Android boot verdicts in the second readiness poller. Transient offline and not-ready observations retry within the existing budget. Terminal failures return typed evidence promptly, and cancellation preserves the caller's reason.

Three files change. Refs #4426. App-lifecycle cancellation and deadline forwarding remain tracked there.

Validation

Base de36d03b707ad199c3f50b12f5ed8f90f8c1ea8c. Tested head c277c86c40fd75e7250dcf55fb3b03345c698cbb.

  • pnpm check:affected --run passed at the exact head (exactCommit=true, vitest-related and unit).
  • New regression: identical probe failure text, different typed evidence. Transient evidence retries to booted. Terminal evidence fails on the first poll. It fails on the base runtime.ts and on both verdict mutants (always retry, never retry).
  • Live: the branch CLI cold-booted the stopped AVD Pixel_9_Pro_XL_API_37 (Android 17) through boot --headless, with booted: true and bootOccurred: true. That run was at 33d6fa8 (pre-rebase, same production diff). It was shut down afterwards. No stopped dedicated AVD was free at the final head, so a rerun at c277c86 is open.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.