Skip to content

Fix Android boot completion and emulator launch modes#138

Merged
thymikee merged 5 commits into
mainfrom
fix/android-boot-exit
Feb 26, 2026
Merged

Fix Android boot completion and emulator launch modes#138
thymikee merged 5 commits into
mainfrom
fix/android-boot-exit

Conversation

@thymikee
Copy link
Copy Markdown
Member

Summary

  • add Android boot support for explicit emulator startup by AVD name, including optional --headless
  • make boot --platform android --device "Pixel 9 Pro XL" resolve running emulators faster and return immediately when already booted
  • avoid flaky emulator-name lookup hangs by preferring AVD getprop-based resolution before console fallback
  • add unit coverage for headless/non-headless Android boot flows and selector resolution, plus docs/skill updates for new CLI behavior
  • touched files: 10 (scope stayed in boot/session + Android device resolution + docs/tests)

Validation

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke
  • pnpm build
  • /usr/bin/time -p node bin/agent-device.mjs boot --platform android --device "Pixel 9 Pro XL" --json --debug (already-booted emulator path; exits quickly)
  • /usr/bin/time -p node bin/agent-device.mjs boot --platform android --device "Pixel 9 Pro XL" --headless --json

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 25, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-138/

Built to branch gh-pages at 2026-02-26 09:05 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 74eee5a into main Feb 26, 2026
6 checks passed
@thymikee thymikee deleted the fix/android-boot-exit branch February 26, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant