Skip to content

chore(mobile): bump agent-device to 0.21.37 - #1735

Merged
okwasniewski merged 3 commits into
e2e-inc:mainfrom
gronxb:chore/bump-agent-device-0.21.37
Nov 13, 2026
Merged

okwasniewski merged 3 commits into
e2e-inc:mainfrom
gronxb:chore/bump-agent-device-0.21.37

Conversation

@gronxb

@gronxb gronxb commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Updates agent-device from 0.21.36 to 0.21.37 in @e2e-dev/mobile, @e2e-dev/e2b, @e2e-dev/limrun, and @e2e-dev/testmu (@agent-device/testmu). 0.21.37 ships the upstream fix for #1528 (callstack/agent-device#4210).

  • Pool: a paired iPhone whose CoreDevice tunnel is unavailable is now listed booted: false. The existing booted === true filter in packages/mobile/src/pool.ts:169 therefore leaves it out of the auto-selected pool, with no engine code change.
  • Named device: a device that names such a phone now fails at boot in prepare ("iOS device is not ready for automation"), before any test runs.
  • Swipe and scroll: 0.21.37 accepts postGestureStabilization: false, so the opt-out from the pending mobile-skip-post-gesture-stabilization changeset now takes effect. I removed that changeset's sentence saying 0.21.36 ignores it.
  • Test: engine.test.ts adds the unreachable phone to the pool inventory as 0.21.37 lists it. It pins the engine's side of the contract; the fix itself is upstream.
  • MCP breaking changes in 0.21.37: they don't reach us. Every package uses the typed client, not agent-device mcp, its AI SDK tools, or batch steps.

Issue

Fixes #1528

Verified

Ran it locally: yes, on an iOS 26 simulator. A physical iPhone was paired but reachable over Wi-Fi.

  • SwiftUI example, deterministic suite: built packages, simulator UDID in device, e2e run. 3/3 pass on 0.21.37:

     ✓ mobile engine for target "ios" prepared 391ms
       ✓ |ios| tests/deterministic.e2e.ts > shows the greeting form 2.88s
       ✓ |ios| tests/deterministic.e2e.ts > asks for a name when the field is empty 2.33s
       ✓ |ios| tests/deterministic.e2e.ts > greets the name you type 4.17s
    
  • iOS back (a left-edge swipe in 0.21.37, fix(ios): make back the verified left-edge swipe callstack/agent-device#4460): each version on Settings (agent-device back --json). Same outcome on both, so no docs change:

    main (0.21.36) this branch (0.21.37)
    on General (pushed) ok, back at Settings root ok, back at Settings root
    at Settings root COMMAND_FAILED, no reason, hint "Retry with --debug" COMMAND_FAILED, reason: back_swipe_no_change, hint "Press the visible back or close control by its ref from a fresh snapshot."

Not verified live:

  • The unavailable-tunnel case. The paired phone's tunnel was connected during the run, so both versions listed it booted. The upstream repro is in mobile: the auto-selected iOS pool includes a paired iPhone that is not connected #1528's comments.
  • Limrun. 0.21.37 moves Limrun iOS onto the shared XCTest runner (#4224, #4275 upstream). Unit tests pass; I did not run it against a live instance.
  • Golden device trees (packages/mobile/tests/fixtures/snapshots/). I did not re-capture them: the mobile benchmark app is not built on this machine. 0.21.37 changes Android alert text and iOS 27 toolbars in snapshots (#4493, #4494 upstream). The mobile benchmark's committed recordings and the goldens may need a refresh if CI shows a tree diff.

@gronxb
gronxb requested a review from okwasniewski as a code owner November 13, 2026 06:09
@github-actions github-actions Bot added the size:S Up to 29 changed lines, not counting tests, fixtures, or the lockfile label Nov 13, 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.

No issues found across 10 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

@gronxb gronxb changed the title fix(mobile): leave a disconnected paired iPhone out of the iOS pool with agent-device 0.21.37 chore(mobile): bump agent-device to 0.21.37 Nov 13, 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.

0 issues found across 3 files (changes from recent commits).

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

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

Labels

size:S Up to 29 changed lines, not counting tests, fixtures, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mobile: the auto-selected iOS pool includes a paired iPhone that is not connected

2 participants