Skip to content

Add emulator and Android browsers to autowebcompat tools - #7495

Open
ksy36 wants to merge 2 commits into
masterfrom
ksy36/autowebcompat-android-emulator
Open

ksy36 wants to merge 2 commits into
masterfrom
ksy36/autowebcompat-android-emulator

Conversation

@ksy36

@ksy36 ksy36 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Added an android-agent Docker build target with the Android SDK and a google_apis x86_64 emulator.
Also added a helper android_emulator.py, which boots the emulator, waits for it, wraps adb, and optionally captures logcat.

@ksy36
ksy36 changed the base branch from master to ksy36/autowebcompat-shared-mcp November 13, 2026 21:50
@ksy36
ksy36 added this pull request to stack #7493 November 13, 2026 21:50
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch 3 times, most recently from 3df2265 to 450c0f4 Compare November 16, 2026 03:57
@ksy36
ksy36 marked this pull request as ready for review November 16, 2026 04:47
@ksy36
ksy36 requested a review from a team as a code owner November 16, 2026 04:47
devices:
- /dev/kvm:/dev/kvm
group_add:
- "${KVM_GID:?Set KVM_GID to the group ID owning /dev/kvm}"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this in a gcp vm with nested virtualization enabled:

KVM_GID=$(stat -c %g /dev/kvm) BUG_ID=2085742 RUN_ID=2085742-android-1 docker compose -f agents/autowebcompat-repro/compose.yml -f agents/autowebcompat-repro/compose.android.yml up --build --force-recreate --abort-on-container-exit

We discussed that on production we'll need to use Cloud Batch instead of Cloud Run, so this depends on #6638.

@ksy36
ksy36 requested a review from suhaibmujahid November 16, 2026 05:28
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch from 450c0f4 to 6d30443 Compare November 16, 2026 05:33
@ksy36
ksy36 requested a review from jgraham November 16, 2026 05:44
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch 2 times, most recently from c4670ba to 3f46c40 Compare November 16, 2026 15:01
Base automatically changed from ksy36/autowebcompat-shared-mcp to master November 16, 2026 16:39
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch from 3f46c40 to f26fc5a Compare November 16, 2026 16:39
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch from f26fc5a to 9748c93 Compare November 16, 2026 21:03
@ksy36
ksy36 force-pushed the ksy36/autowebcompat-android-emulator branch from 9748c93 to 90aa649 Compare November 16, 2026 21:35

This branch has not been deployed

No deployments
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