Schedule Android UI review through the android-devices pool

The Android UI reviewer declares the android-devices pool instead of one
hard-coded Pixel, so a second UI run can use the idle foldable emulator instead
of waiting behind the single phone. Updates the Android map's device rules to
match the pool (replacing the old single-phone / no-emulator rule) and records
the pool, its members and the delivery-only personal Fold in a note. Safety
rules are unchanged; configuration and the pipeline version are separate steps.
This commit is contained in:
2026-10-19 00:40:10 +01:00
parent 7259513d92
commit 4ab65692d6
2 changed files with 58 additions and 13 deletions
+21 -13
View File
@@ -18,30 +18,38 @@ GRADLE=/Users/alan/.gradle/wrapper/dists/gradle-8.11.1-bin/bpt9gzteqjrbo1mjrsomd
Always `--no-daemon`: a leftover daemon is what makes these look slow. Add **one** test class at a
time while iterating — the full suite is for the end.
## The dev device
## Devices and the resource pool
The ADB executable is `/Users/alan/Library/Android/sdk/platform-tools/adb`.
Use that absolute path (or explicitly add its directory to PATH); `adb: command
not found` alone is not evidence that the leased phone is disconnected.
not found` alone is not evidence that the leased device is disconnected.
For populated attention review, `TestExportReadyAttentionReviewFixture` exports a
create-only scratch database when `PIPELINES_ATTENTION_REVIEW_DIR` names a new
directory. Its fixture.json identifies one failed, one finished and one waiting
run and the workspace. Build a scratch server, read back those states, and keep
the owned server alive through all UI interactions. The export itself does not
leave a server running or configure a phone. Never use a dead scratch endpoint.
leave a server running or configure a device. Never use a dead scratch endpoint.
Only the **UI reviewer**, while its stage holds a declared runner-exclusive resource
for the selected phone, may use the device. Implementers and code reviewers do code,
builds, unit tests and source review only: **no adb, installs, captures, device-setting
changes or main-build restoration**. Never acquire a phone using sleep/check loops.
Do not use the phone until compatible resource scheduling is deployed and every device
user has opted in or has been reconciled by the operator. Existing pinned runs are not
retroactively protected. The resource for the device below is `phone-47241FDAS00DLK`.
Only the **UI reviewer**, while its stage holds the runner-granted resource for its
visit, may use a device. Implementers and code reviewers do code, builds, unit
tests and source review only: **no adb, installs, captures, device-setting changes
or main-build restoration**. Never acquire a device using sleep/check loops. The
runner grants exactly one concrete member of the `android-devices` resource pool
and passes it to the stage as `resource_target`; take the `adb -s` target from
`resource_target.metadata.adb_serial` and do not choose a device yourself.
The only device is the operator's **Pixel 9 Pro XL, serial `47241FDAS00DLK`**. The operator's
Pixel 10 Pro Fold (`58281FDCG000JF`) is theirs: use it only where an item's brief explicitly allows
it, and never make it a default. **Never start or use an emulator.**
The pool's two members are:
- `phone-47241FDAS00DLK` — the operator's **Pixel 9 Pro XL**, adb serial
`47241FDAS00DLK` (metadata `kind=phone`).
- `emulator-Pipelines_Fold_A` — one managed **foldable emulator**, adb serial
`emulator-5554` (metadata `kind=emulator`, `avd=Pipelines_Fold_A`). Its unfolded
built-in display is 2076x2152; its cover display is 1080x2424.
The operator's **Pixel 10 Pro Fold** (`58281FDCG000JF`) is delivery-only: never a
test target. Do not start an ad-hoc emulator — the one managed foldable AVD above
is the only emulator in scope.
The UI reviewer records original app connection/workspace, display size and power/settings
before changing them. Before any capture: `svc power stayon usb`, `settings put global stay_on_while_plugged_in 7`,