fix(android): use typed evidence in the readiness boot poller
Merged
TH
7d ago+259+259+012345678901234567890123456789-7-7-0123456789
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 --runpassed 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.tsand 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) throughboot --headless, withbooted: trueandbootOccurred: true. That run was at33d6fa8(pre-rebase, same production diff). It was shut down afterwards. No stopped dedicated AVD was free at the final head, so a rerun atc277c86is open.
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.