Skip to content

fix(mobile): boot one simulator when nothing is booted and no device is named - #1433

Closed
KrzysztofMoch wants to merge 2 commits into
mainfrom
krzysztof/fix/ios-no-booted-simulator
Closed

KrzysztofMoch wants to merge 2 commits into
mainfrom
krzysztof/fix/ios-no-booted-simulator

Conversation

@KrzysztofMoch

@KrzysztofMoch KrzysztofMoch commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

An iOS target with no device, on a machine where no simulator is booted, fails e2e run in prepare:

ENGINE_FAILURE (launch) boot failed: 43 devices match this request equally; select one explicitly

The e2e init iOS preset writes mobile({ platform: 'ios' }), so the first run of a fresh project hits this on most Macs. Android hits it too once two AVDs exist and none is running.

Issue

Fixes ENG-1037

Cause

With nothing booted, the pool bound one empty slot ({}), so warm and the worker's init called devices.boot({ platform: 'ios' }). agent-device 0.21.33 ranks every shut-down iPhone simulator the same and throws AMBIGUOUS_MATCH.

Fix

  • BootedDevices in packages/mobile/src/pool.ts now reads the whole inventory. When nothing is booted, coldPick chooses one shut-down simulator or emulator no other agent-device session holds, ranked by:
    • phone before tablet (formFactor: 'phone' | 'tablet')
    • newest OS
    • name in numeric order
    • id
  • Only agent-device's own fields (kind, target, appleOs, osVersion) decide: TV and visionOS simulators, AVDs it reports as tv, and physical devices are never picked. It lists a shut-down AVD with no form factor or OS version, so on Android the pick is the first AVD by name.
  • On a stock Xcode 26 set the pick is iPhone 16e: numeric name order puts it before iPhone 17.
  • A simulator binds by UDID and an AVD by name, since an AVD has no serial until it runs. If nothing bootable is listed, the old daemon-picks path remains.
  • deviceLabel reads name (id) when a binding has both, and booted devices now carry their name. Progress lines, error text, and the report's device show iPhone 17 (948FF738-…) instead of a bare UDID.
const coldPreference: readonly DeviceOrder[] = [
  (a, b) => formFactorRank[a.formFactor] - formFactorRank[b.formFactor],
  // Newest OS first; an empty string sorts lowest, so an unknown OS comes last.
  (a, b) => numeric.compare(b.osVersion ?? '', a.osVersion ?? ''),
  (a, b) => numeric.compare(a.name, b.name),
  (a, b) => a.id.localeCompare(b.id),
];

A device name alone is still not unique across iOS runtimes: agent-device takes the first match. A UDID remains the way to pin one.

Verified

Ran it locally: yes

  • MacBook, Xcode 26.6. agent-device was scoped to a private simulator set (AGENT_DEVICE_IOS_SIMULATOR_DEVICE_SET) holding iPhone 17 Pro, iPhone 17, and iPad Pro 13-inch (M5) on iOS 26.5, all shut down. Nothing else on the machine was touched.
  • apps/mobile-benchmark, E2E_MOBILE_BENCHMARK_IOS_DEVICE unset (no device), Release build from .github/actions/expo-app, e2e run tests/smoke.e2e.ts --target ios-simulator.
  • main is this branch with main's pool.ts rebuilt in.
main this branch
no booted ios device; agent-device boots one no booted ios device; picked iPhone 17 (26.5). Name another in the target's device option, or boot one first
ENGINE_FAILURE (launch) boot failed: 2 devices match this request equally; select one explicitly. booting iPhone 17 (1F5AAED4-5302-4A25-AFEF-C49DA590E829) (1 of 1)
no test ran, exit 3, nothing booted engine prepared 29.4s, home lists the scenarios and opens one passed, exit 0; only iPhone 17 booted

On main the error says 2, not 3: agent-device already ranks the iPad below the two tied iPhones.

Not run on a real Android emulator; the Android pick (bind by AVD name, skip an AVD reported as a TV) is covered by tests/unit/engine.test.ts. Skipping a shut-down simulator another session holds is covered there too, not on a device.


Made with Claude Opus 5.5 (claude-opus-5-5) in Claude Code, running inside T3 Code.

…is named

With no device and nothing booted, the pool bound an empty slot and
agent-device's unscoped boot failed with AMBIGUOUS_MATCH on any machine
with more than one simulator. The pool now picks one shut-down simulator
or emulator itself (phone before tablet, newest OS, name, id), binds a
simulator by UDID and an AVD by name, and logs the pick. Device labels
read `name (id)` when a binding has both.

Fixes ENG-1037
@github-actions github-actions Bot added the size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Oct 28, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 9 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/reference/mobile.mdx Resolved
Comment thread packages/mobile/src/pool.ts Resolved
Comment thread packages/mobile/src/pool.ts Resolved
@okwasniewski

Copy link
Copy Markdown
Member

Thanks, the AMBIGUOUS_MATCH cause is right and the iOS half is solid. On iOS the pick uses the structured fields agent-device gives (appleOs, osVersion, target, kind), and the mutation checks hold: removing each ranking rule, the visionOS exclusion or the AVD filter fails the new test.

Reproduced on main with agent-device 0.21.33 using a private simulator set and its own state dir (iPhone 17 Pro, iPhone 17, iPhone 16e, iPad Pro, all shut down): agent-device boot --platform ios gives 3 devices match this request equally. No live boot, other sims on the box were in use.

Must fix

  1. packages/mobile/src/pool.ts NOT_A_PHONE_AVD and the bootable Android branch: matching on names is the heuristic we avoid. It breaks for any user who renames an AVD: an automotive image named Polestar_2 gets picked, and a phone AVD named tv_app_test gets skipped. The real data exists: every AVD's ~/.android/avd/<name>.avd/config.ini has tag.id (android-wear, android-automotive, android-tv/google-tv, android-desktop, android-xr) and target=android-NN. Reading it is agent-device's job, since its inventory owns target, and it already applies its own \btv\b name check to shut-down AVDs, so this regex also repeats the TV case. Drop the regex here and open an agent-device issue/PR so shut-down AVDs report target from tag.id and osVersion from target. Until then e2e reads whatever target agent-device reports.
  2. The Android ranking doesn't do what the docs say. agent-device lists a shut-down AVD with only id/name/target (checked live: Pixel_Tablet_API_37 comes back as target: "mobile" with no osVersion). So on Android formFactor is always phone, the OS rule never applies, and the pick is name order: Galaxy_Tab_S9 beats Pixel_9. docs/mobile.mdx:337, docs/reference/mobile.mdx, options.ts and both setup.md copies say "the first phone AVD by name", and the changeset says "never a car, watch, desktop, or TV image". Make the wording match the code ("the first AVD by name").

Nits

  1. pool.ts inventory(): bootable and formFactor are policy but computed inside the inventory mapper with an inline platform branch. Keep ListedDevice as listed (kind/target/appleOs/osVersion) and put one bootable(device) predicate next to coldPreference, so all cold-pick policy lives in one place.
  2. On a stock Xcode 26 set (iPhone 17 Pro, 17 Pro Max, Air, 17, 16e on one runtime), numeric name order picks iPhone 16e. Deterministic and fine, but the fixture has no 16e, so the "iPhone 17" example isn't what most users will see. Add it to the fixture so the expected pick is written down.
  3. deviceLabel now gives name (id), so environment.device in reports changes from a bare UDID to iPhone 17 (UDID) for every booted pool. Fine, but no test covers the new label branches (device === deviceId, only one of the two set).

For the maintainer

agent-device already ranks unscoped selection (iPhone < iPad < TV < desktop, emulators before physical) and then deliberately throws on ties. This PR copies that ranking into e2e and adds tie-breaks. Alternative: an upstream agent-device option to break ties itself (newest OS, then name, then id) on an unscoped local boot, which fixes every agent-device user and leaves e2e passing { platform }. Should the pick live in e2e or agent-device?

This was an automated review.

Drop the AVD name filter: a shut-down AVD is skipped only when
agent-device reports it as a TV. Keep cold-pick policy beside the
ranking, skip a shut-down device another session holds, and say the
Android pick is name order.
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios: 1 flaky, 54 passed, 1 skipped

⚠️ 1 flaky test passed on a retry

⚠️ sticky chrome: accept below the fold, then continue
tests/flows-lists.e2e.ts:57

ASSERTION_FAILED at step 8 of 8: expect.toBeVisible getByText("Terms accepted ✓"), after 5.1s

  • Expected: visible
  • Observed: no node (0 matches)
  • Screen: dev.e2e.benchmark / Sticky Chrome Target

Evidence: screenshot, log

All 56 tests in 7 files
Test Time
⚠️ tests/flows-lists.e2e.ts · 1 flaky, 6 passed 3m 8s
🟢 infinite scroll reaches the target item 23.6s
🟢 product catalog adds exactly two of the right variant 10.1s
🟢 gestures: long-press, then swipe left 8.9s
⚠️ sticky chrome: accept below the fold, then continue (1 failed attempt first) 9.9s
🟢 async states: load, pull to refresh, claim through the toast 13.7s
🟢 huge virtualized list reaches row 512 1m 50s
🟢 web view coupon form applies the code shown on the page 11.8s
⏭️ tests/controls.e2e.ts · 23 passed, 1 skipped 2m 57s
🟢 control inventory › a label query resolves a labeled text field 13.6s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 16.4s
🟢 control inventory › a placeholder query and attribute reads find the field 4.5s
🟢 control inventory › a secure field takes a fill and denies value reads 8.0s
🟢 control inventory › press sends a character and Enter through the soft keyboard 9.9s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 10.1s
🟢 control inventory › toBeFocused follows the focus 8.6s
🟢 control inventory › a switch checks, unchecks, and reports its state 9.5s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 8.2s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 12.4s
🟢 control inventory › a radio group reports the checked option 8.5s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 7.8s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 7.2s
🟢 control inventory › a header answers its accessible name 4.2s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 6.2s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 6.7s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 8.1s
🟢 control inventory › pointer verbs land at the point asked for 9.7s
🟢 control inventory › an ambiguous locator fails at once 5.5s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 10.3s
🟢 refusals › verbs a device never declares are refused before the engine 2ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 621ms
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 11 passed 1m 33s
🟢 device fixture › setAppearance flips the color scheme the app reads 14.2s
🟢 device fixture › setOrientation rotates the window the app measures 12.1s
🟢 device fixture › the clipboard reads back what was written 6.1s
🟢 device fixture › home leaves the app, openApp brings it back where it was 6.3s
🟢 device fixture › closeApp then openApp relaunches on the home list 7.8s
🟢 device fixture › closeApp leaves the next commands on the same device 10.8s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 5.4s
🟢 device fixture › device.back pops the scenario 5.9s
🟢 device fixture › unstable_raw reaches the test session through agent-device 4.4s
🟢 device fixture › setLocation and clearLocation change what the app reads 10.2s
🟢 device fixture › enrollBiometrics and setBiometrics answer a biometric prompt 9.9s
🟢 tests/device.e2e.ts · 3 passed 1m 5s
🟢 sequential onboarding echoes the exact values 40.5s
🟢 onboarding rejects a malformed email before advancing 13.5s
🟢 dismissing the keyboard over choice controls leaves them as they were 11.1s
🟢 tests/flows.e2e.ts · 7 passed 1m 8s
🟢 text inputs unlock the submit button 13.0s
🟢 filled text inputs report their values 10.0s
🟢 modal flow confirms through the native alert 9.6s
🟢 bottom tabs act inside the last tab 7.3s
🟢 error recovery retries, then confirms the delete 9.4s
🟢 choice controls place the exact order 7.6s
🟢 debounced search selects the target once results arrive 11.2s
🟢 tests/login-form.e2e.ts · 3 passed 49.4s
🟢 login form › rejects a malformed email 13.6s
🟢 login form › rejects an unknown account 13.7s
🟢 login form › signs in and logs out 22.1s
🟢 tests/smoke.e2e.ts · 1 passed 7.3s
🟢 home lists the scenarios and opens one 7.3s

e2e 0.21.3 · 6m 2s · ios-simulator · run artifacts

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e ios agent: 1 flaky, 20 passed, 1 skipped

25 agent steps · 6 replayed from cache · 69 model calls · 463.8k tokens (81% cached) · $0.0338

⚠️ 1 flaky test passed on a retry

⚠️ act completes Gestures
tests-agent/scenarios.e2e.ts:266

ACTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: long-press the first target, swipe the card left, then double-tap the last target", after 1m 7s and 11 model calls

agent.act failed: The swipe advanced the scenario to Step 3 of 3. I double-tapped the “Double-tap me” target, but the screen remained on Step 3 and did not show completion.

  • Turn 8: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n5072 other "Double-tap me" testid="double-tap-target").
  • Turn 9: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n5117 other "Double-tap me" testid="double-tap-target").
  • Turn 10: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n5153 other "Double-tap me" testid="double-tap-target").
  • Screen: dev.e2e.benchmark / Gestures

Evidence: screenshot, log

All 22 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 20 passed, 1 skipped 25 steps · 69 calls 11m 45s
🟢 act completes Login Form 1 step 37.9s
🟢 act completes Infinite Scroll List 1 step · 1 call 42.2s
🟢 act completes Modal Flow 1 step · 1 call 26.3s
🟢 act completes Bottom Tabs 1 step · 1 call 23.9s
🟢 act completes Text Input Variations 1 step · 3 calls 34.9s
🟢 act completes Broken Accessibility 2 steps · 7 calls 54.7s
🟢 act completes Vision Only 2 steps · 6 calls 32.7s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 9 calls 45.9s
🟢 act completes Async States 1 step · 9 calls 38.5s
🟢 act completes Debounced Search 1 step · 1 call 28.7s
🟢 act completes Flattened Registration Form 2 steps · 1 call 28.8s
🟢 act completes Flattened Login 2 steps · 10 calls 1m 11s
🟢 act completes Sticky Chrome Target 1 step · 2 calls 56.1s
🟢 act completes WebView Accessibility 1 step 12.1s
🟢 act completes Permission Prompt 1 step 10.9s
🟢 act completes Photo Picker 1 step · 2 calls 31.1s
🟢 act completes Product Catalog 1 step 10.0s
🟢 act completes Error Recovery 1 step 9.4s
🟢 act completes Choice Controls 1 step · 5 calls 38.7s
🟢 act completes Stripe PaymentSheet 1 step · 10 calls 38.4s
🟢 act completes Apple Pay 1 step · 1 call 33.0s
⏭️ act completes Apple Pay Billing Address (skipped: the CI simulator's Apple Pay sheet skips the billing-address step, so the scenario cannot be completed there)

e2e 0.21.3 · 12m 57s · ios-simulator · run artifacts

@KrzysztofMoch

Copy link
Copy Markdown
Member Author

[claude-opus-5-5] responding on behalf of krzysztof

Thanks. All in b0a163f:

  1. Dropped NOT_A_PHONE_AVD. A shut-down AVD is now skipped only when agent-device reports it as something other than mobile (its own \btv\b check), so a renamed AVD gets no special treatment from e2e. The agent-device issue for target from tag.id and osVersion from target=android-NN is not filed yet; that is Krzysztof's call to open upstream.
  2. Docs, options.ts, both setup.md copies, and the changeset now say "the first AVD by name". The FormFactor and coldPreference comments say every AVD ranks as a phone and the name decides on Android.
  3. ListedDevice now holds only what the inventory lists (kind, target, appleOs, osVersion, typed from AgentDeviceDevice). bootable(), formFactor(), coldPreference, and coldPick sit together. coldPick also takes the booted path's heldElsewhere predicate (cubic's claim finding).
  4. The fixture now has iPhone 16e, and the test expects it as the pick.
  5. deviceLabel has its own test in client-binding.test.ts: both set, equal, one of each, and neither.

On e2e vs agent-device: an upstream tie-break would fix every agent-device user, and e2e could then go back to passing { platform }. This PR keeps the pick in e2e because it works on the pinned 0.21.33 today. Leaving the call to the maintainer.

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android: 57 passed, 1 skipped

All 58 tests in 7 files
Test Time
⏭️ tests/controls.e2e.ts · 24 passed, 1 skipped 2m 49s
🟢 control inventory › a label query resolves a labeled text field 23.0s
🟢 control inventory › a labeled field answers name, display value, value reads, fill, and clear 11.2s
🟢 control inventory › a placeholder query and attribute reads find the field 6.5s
🟢 control inventory › a secure field takes a fill and denies value reads 6.8s
🟢 control inventory › press sends a character and Enter through the soft keyboard 8.1s
🟢 control inventory › a field autofocuses on mount and focus() moves the focus 8.0s
🟢 control inventory › toBeFocused follows the focus 8.3s
🟢 control inventory › a switch checks, unchecks, and reports its state 8.7s
🟢 control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap 7.4s
🟢 control inventory › checkbox and radio roles check, uncheck, and report their state 10.7s
🟢 control inventory › a tab role answers getByRole 3.9s
🟢 control inventory › a radio group reports the checked option 7.5s
🟢 control inventory › buttons report disabled, enabled, and a state that arrives later 6.5s
🟢 control inventory › a display: none element is absent rather than hidden, its visible twin attached 6.8s
🟢 control inventory › a header answers its accessible name 4.3s
🟢 control inventory › a tab row answers count, all, texts, filters, positions, and switching 5.9s
🟢 control inventory › a list answers counts, list-form text, reads, and boxes in order 5.6s
⏭️ control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢 control inventory › a long press lands as one 7.5s
🟢 control inventory › a double tap lands inside the 300 ms window 6.9s
🟢 control inventory › an ambiguous locator fails at once 5.4s
🟢 control inventory › screenshot, restart, and clearState reopen the app on its home list 7.6s
🟢 refusals › verbs a device never declares are refused before the engine 4ms
🟢 refusals › keys the soft keyboard cannot send are refused by the engine 1.6s
🟢 refusals › a missing locator fails as not found once its timeout passes 1.1s
🟢 tests/device-fixture.e2e.ts · 10 passed 1m 18s
🟢 device fixture › setOrientation rotates the window the app measures 4.7s
🟢 device fixture › home leaves the app, openApp brings it back where it was 4.9s
🟢 device fixture › foregroundApp sees the home screen after home() 4.4s
🟢 device fixture › closeApp then openApp relaunches on the home list 8.2s
🟢 device fixture › closeApp leaves the next commands on the same device 7.1s
🟢 device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN 4.3s
🟢 device fixture › device.back pops the scenario 5.2s
🟢 device fixture › unstable_raw reaches the test session through agent-device 4.4s
🟢 device fixture › setNetwork and setAirplaneMode change what the app sees 13.3s
🟢 device fixture › setLocation and clearLocation change what the app reads 21.8s
🟢 tests/device.e2e.ts · 5 passed 39.9s
🟢 permission prompt › allowing the system dialog enables the microphone 5.9s
🟢 permission prompt › a denied prompt recovers once the permission is granted outside 12.1s
🟢 sequential onboarding echoes the exact values 9.9s
🟢 onboarding rejects a malformed email before advancing 5.6s
🟢 dismissing the keyboard over choice controls leaves them as they were 6.4s
🟢 tests/flows-lists.e2e.ts · 7 passed 2m 1s
🟢 infinite scroll reaches the target item 17.9s
🟢 product catalog adds exactly two of the right variant 8.4s
🟢 gestures: long-press, then swipe left 8.3s
🟢 gestures: double-tap completes the flow 9.5s
🟢 sticky chrome: accept below the fold, then continue 8.9s
🟢 async states: load, pull to refresh, claim through the toast 11.9s
🟢 huge virtualized list reaches row 512 56.5s
🟢 tests/flows.e2e.ts · 7 passed 53.9s
🟢 text inputs unlock the submit button 6.4s
🟢 filled text inputs report their values 6.0s
🟢 modal flow confirms through the native alert 9.4s
🟢 bottom tabs act inside the last tab 7.0s
🟢 error recovery retries, then confirms the delete 9.3s
🟢 choice controls place the exact order 6.6s
🟢 debounced search selects the target once results arrive 9.3s
🟢 tests/login-form.e2e.ts · 3 passed 27.7s
🟢 login form › rejects a malformed email 7.3s
🟢 login form › rejects an unknown account 7.5s
🟢 login form › signs in and logs out 12.9s
🟢 tests/smoke.e2e.ts · 1 passed 7.1s
🟢 home lists the scenarios and opens one 7.1s

e2e 0.21.3 · 8m 19s · android-emulator · run artifacts

@github-actions

Copy link
Copy Markdown
Contributor

🟢 e2e android agent: 1 flaky, 19 passed

24 agent steps · 15 replayed from cache · 40 model calls · 266.8k tokens (84% cached) · $0.0176

⚠️ 1 flaky test passed on a retry

⚠️ act completes Gestures
tests-agent/scenarios.e2e.ts:266

ACTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: long-press the first target, swipe the card left, then double-tap the last target", after 33.4s and 10 model calls

agent.act failed: The required first long-press was already completed. I attempted multiple leftward swipes across the visible “Swipe me left” card, but the screen remains on Step 2 of 3 and does not advance to the final target.

  • Turn 7: screenshot({}) → [screenshot] The screen changed substantially since revision b10. Current screen (revision b12, path dev.e2e.benchmark, 18 nodes):
  • Turn 8: swipe({"from":{"x":250,"y":455},"to":{"x":80,"y":455}}) → [swipe] Swiped from (250, 455) to (80, 455).
  • Turn 9: screenshot({}) → [screenshot] The screen changed substantially since revision b12. Current screen (revision b14, path dev.e2e.benchmark, 18 nodes):
  • Screen: dev.e2e.benchmark

Evidence: screenshot, log

All 20 tests in 1 file
Test Agent Time
⚠️ tests-agent/scenarios.e2e.ts · 1 flaky, 19 passed 24 steps · 40 calls 7m 51s
🟢 act completes Login Form 1 step 42.9s
🟢 act completes Infinite Scroll List 1 step 40.0s
🟢 act completes Modal Flow 1 step 16.6s
🟢 act completes Bottom Tabs 1 step 11.0s
🟢 act completes Text Input Variations 1 step 12.0s
🟢 act completes Broken Accessibility 2 steps · 5 calls 26.2s
🟢 act completes Vision Only 2 steps · 1 call 12.6s
⚠️ act completes Gestures (1 failed attempt first) 1 step · 11 calls 43.8s
🟢 act completes Async States 1 step · 11 calls 47.0s
🟢 act completes Debounced Search 1 step 8.6s
🟢 act completes Huge Virtualized List 1 step 1m 21s
🟢 act completes Flattened Registration Form 2 steps · 1 call 11.3s
🟢 act completes Flattened Login 2 steps · 6 calls 27.3s
🟢 act completes Sticky Chrome Target 1 step 10.3s
🟢 act completes WebView Accessibility 1 step · 5 calls 21.7s
🟢 act completes Permission Prompt 1 step 9.3s
🟢 act completes Product Catalog 1 step 13.1s
🟢 act completes Error Recovery 1 step 11.3s
🟢 act completes Choice Controls 1 step 11.9s
🟢 act completes Sequential Onboarding 1 step 13.3s

e2e 0.21.3 · 8m 32s · android-emulator · run artifacts

@KrzysztofMoch KrzysztofMoch added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Oct 28, 2026
@KrzysztofMoch

Copy link
Copy Markdown
Member Author

[claude-opus-5-5] responding on behalf of krzysztof

Ready for review. Two decisions left for a human:

  • Whether to open an agent-device issue so a shut-down AVD reports target from tag.id and osVersion from target=android-NN in its config.ini. Until then the Android cold pick is name order.
  • Whether the tie-break belongs in e2e (this PR, works on the pinned 0.21.33) or upstream in agent-device, after which e2e could go back to passing { platform }.

Not verified on a real Android emulator; the iOS path was run on a Mac (see Verified).

@KrzysztofMoch

Copy link
Copy Markdown
Member Author

[claude-opus-5-5] responding on behalf of krzysztof

Closing: the fix goes upstream to agent-device instead, so its unscoped boot picks one device rather than failing with "N devices match this request equally".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants