Skip to content

fix: use x86_64 arch for Android API 33 emulator#18

Merged
saikrishna321 merged 16 commits intoe2e-cifrom
copilot/fix-ci-run
Apr 16, 2026
Merged

fix: use x86_64 arch for Android API 33 emulator#18
saikrishna321 merged 16 commits intoe2e-cifrom
copilot/fix-ci-run

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

  • Investigate CI failure (mjpeg-consumer missing when Appium starts via appium-mcp)
  • Add mjpeg-consumer to the global install step in github-action/action.yml

…um dependency

Agent-Logs-Url: https://github.com/AppiumTestDistribution/AppClaw/sessions/b3f7f947-3947-4b72-8573-daca4a6f1812

Co-authored-by: saikrishna321 <4045041+saikrishna321@users.noreply.github.com>
saikrishna321 and others added 14 commits April 16, 2026 16:05
Add APP_PATH env var and per-flow `app:` YAML meta field so Appium
automatically downloads and installs an APK/IPA at session creation.
Wire wdio.yaml with the WebdriverIO native demo app URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Previously, running with PLATFORM=ios in a non-TTY environment without
DEVICE_TYPE set would exit with an error. Now it silently defaults to
simulator, matching expected CI behaviour.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
FlowMeta.app now accepts either a plain string or an {android, ios}
object so flows can specify different APK/IPA URLs per platform.
Updates wdio.yaml with the iOS simulator app zip alongside the Android APK.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
…m runs

Without platform: android, the flow can be run on either platform via
--platform android or --platform ios and resolveFlowApp picks the right URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
wdio.yaml now carries both android and ios app URLs so the same flow
file works for both platforms. platform: ios is already passed to the
action which sets --platform ios at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
gemini-2.0-flash is no longer available to new users, causing CI failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
gemini-2.0-flash is deprecated. Use gemini-3.1-flash-lite-preview to match
the model set in .env, so CI and local runs use the same model by default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Add use-local-build input to github-action so PRs can install the
checked-out code instead of the published npm package. Set it to true
in layer3-branch-test.yml so every PR validates local changes end-to-end
before publishing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
package-lock.json had df-vision pointing to a local file reference
(file:../device-farm/packages/stark-vision) which breaks CI. Regenerate
lock file so df-vision@1.1.77 resolves from npm.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Avoids lock file resolution issues (e.g. local file: references) when
building AppClaw from source in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
ios-flow was only triggered on manual dispatch with platform=ios.
Also trigger it on every PR so iOS is validated alongside Android.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
@saikrishna321 saikrishna321 merged commit bb1caff into e2e-ci Apr 16, 2026
6 of 8 checks passed
saikrishna321 added a commit that referenced this pull request Apr 16, 2026
* remove comments

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* try ci

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: use x86_64 arch for Android API 33 emulator (#18)

* fix: add android-arch input defaulting to x86_64 for API 33 compatibility

Agent-Logs-Url: https://github.com/AppiumTestDistribution/AppClaw/sessions/82dbe47d-c3f0-44cb-9593-7f2b7a42c5b8

Co-authored-by: saikrishna321 <4045041+saikrishna321@users.noreply.github.com>

* fix: install mjpeg-consumer globally in GitHub Action to satisfy Appium dependency

Agent-Logs-Url: https://github.com/AppiumTestDistribution/AppClaw/sessions/b3f7f947-3947-4b72-8573-daca4a6f1812

Co-authored-by: saikrishna321 <4045041+saikrishna321@users.noreply.github.com>

* feat: support app installation via appium:app capability

Add APP_PATH env var and per-flow `app:` YAML meta field so Appium
automatically downloads and installs an APK/IPA at session creation.
Wire wdio.yaml with the WebdriverIO native demo app URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* style: fix prettier formatting in parallel-runner.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: default iOS device type to simulator in non-interactive (CI) mode

Previously, running with PLATFORM=ios in a non-TTY environment without
DEVICE_TYPE set would exit with an error. Now it silently defaults to
simulator, matching expected CI behaviour.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* feat: support platform-specific app URLs in flow meta

FlowMeta.app now accepts either a plain string or an {android, ios}
object so flows can specify different APK/IPA URLs per platform.
Updates wdio.yaml with the iOS simulator app zip alongside the Android APK.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: remove hardcoded platform from wdio.yaml to enable cross-platform runs

Without platform: android, the flow can be run on either platform via
--platform android or --platform ios and resolveFlowApp picks the right URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* ci: use wdio.yaml for iOS flow job (cross-platform app URLs)

wdio.yaml now carries both android and ios app URLs so the same flow
file works for both platforms. platform: ios is already passed to the
action which sets --platform ios at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: update default Gemini model to gemini-2.5-flash-preview-05-20

gemini-2.0-flash is no longer available to new users, causing CI failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: update default Gemini model to gemini-3.1-flash-lite-preview

gemini-2.0-flash is deprecated. Use gemini-3.1-flash-lite-preview to match
the model set in .env, so CI and local runs use the same model by default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* ci: build AppClaw from local source in PR branch tests

Add use-local-build input to github-action so PRs can install the
checked-out code instead of the published npm package. Set it to true
in layer3-branch-test.yml so every PR validates local changes end-to-end
before publishing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: resolve df-vision from npm instead of local file path

package-lock.json had df-vision pointing to a local file reference
(file:../device-farm/packages/stark-vision) which breaks CI. Regenerate
lock file so df-vision@1.1.77 resolves from npm.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* ci: use npm install --no-package-lock instead of npm ci for local build

Avoids lock file resolution issues (e.g. local file: references) when
building AppClaw from source in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix vision assert

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* fix: agentm ode to vision

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

* ci: trigger ios-flow on pull_request events

ios-flow was only triggered on manual dispatch with platform=ios.
Also trigger it on every PR so iOS is validated alongside Android.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: saikrishna321 <4045041+saikrishna321@users.noreply.github.com>
Co-authored-by: saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>

---------

Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: saikrishna321 <4045041+saikrishna321@users.noreply.github.com>
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.

2 participants