Skip to content

Conversation

twometresteve
Copy link
Contributor

@twometresteve twometresteve commented Sep 19, 2025

Goal

Stop using the deviceGroupId capability as it no longer consistently provides an available device.

Design

I've simply removed the if device_group_ids.size > 1 guard and what was its else branch, meaning that we will always query the API for an available device within that group. Although we might lose a race with another Maze Runner istance, we have retry logic for that and overall it will be more reliable and within our control.

Tests

A Buildkite job that needed ANDROID_8 failed to get an available device with.the previous version of MR (using the capability). Seconds later I ran this branch locally and it obtained a device on the first attempt.

@twometresteve twometresteve changed the title Tms/no device group Stop using BitBar deviceGroupId capabilitiy Sep 19, 2025
@twometresteve twometresteve changed the title Stop using BitBar deviceGroupId capabilitiy Stop using BitBar deviceGroupId capability Sep 19, 2025
Base automatically changed from tms/unfold-undefined to main September 19, 2025 14:05
@twometresteve twometresteve merged commit 4600a97 into main Sep 19, 2025
26 checks passed
@twometresteve twometresteve deleted the tms/no-deviceGroupId branch September 19, 2025 14:05
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