Skip to content

chore: improve android emulator stability in CI - #1086

Merged
Dor-bl merged 2 commits into
appium:mainfrom
Dor-bl:fix/ci-emulator-stability
Jul 14, 2026
Merged

chore: improve android emulator stability in CI#1086
Dor-bl merged 2 commits into
appium:mainfrom
Dor-bl:fix/ci-emulator-stability

Conversation

@Dor-bl

@Dor-bl Dor-bl commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

List of changes

  • Added explicit RAM (4096M) and Heap (1024M) allocation and a profile (Nexus 6) to the android-emulator-runner steps to reduce "device offline" crashes for google_apis.
  • Busted the AVD cache key by appending -v1-ram4g to ensure the new hardware configuration is actually applied instead of hitting stale caches with default hardware.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change that adds functionality or value)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)
  • Test fix (non-breaking change that improves test stability or correctness)
  • Chore/Maintenance (updates to build scripts, dependencies, or GitHub Actions)

Documentation

  • Have you proposed a file change/ PR with Appium to update documentation?

This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example

Integration tests

  • Have you provided integration tests for your changes? (required for Bugfix, New feature, or Test fix)

Details

This aims to improve the stability of the Android functional tests CI job by explicitly configuring more resources for the Android emulator. The cache key has been updated to force recreation of the emulator snapshot with the new hardware profile.

Copilot AI review requested due to automatic review settings July 13, 2026 20:38
@github-actions github-actions Bot added the Chore label Jul 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Improves Android functional test CI stability by switching the emulator system image to the headless Automotive Test Device (ATD) target and explicitly allocating more emulator resources to reduce “device offline” failures.

Changes:

  • Switched Android emulator target in the test matrix from google_apis to google_atd.
  • Added explicit emulator hardware configuration (profile, ram-size, heap-size) to both the AVD snapshot-generation step and the functional test step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/functional-test.yml
Copilot AI review requested due to automatic review settings July 14, 2026 04:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/functional-test.yml
@Dor-bl
Dor-bl requested a review from KazuCocoa July 14, 2026 05:09
@Dor-bl
Dor-bl merged commit 37edd4f into appium:main Jul 14, 2026
7 checks passed
@Dor-bl
Dor-bl deleted the fix/ci-emulator-stability branch July 14, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants