testsAndMisc/python_pkg/phone_lease/tests
Krzysztof kuhy Rudnicki c0c51036fc phone_lease: per-app leases, a self-cleaning whole-phone lease, one serial
Several sessions can now share one phone: a lease covers one package (the
real screen stays the default scope, so existing callers keep their
meaning), and only phone-wide actions take `--whole-phone`, which is capped
at 300 s and runs its `--cleanup` commands exactly once on release or, via a
detached reaper, on expiry. The serial is always resolved, never the
"default" placeholder that let android_ui and phone_deploy lease different
keys for the same phone (2026-09-25). Adds status --json, holds and whoami
for phone_vd.sh and the raw-adb hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Ajzz98xksbfak8CaunZWC
2026-09-25 15:05:57 +02:00
..
__init__.py phone_lease: one session drives the phone at a time; android_ui takes the lease on every call 2026-09-20 18:50:26 +02:00
test_cleanup_serial.py phone_lease: per-app leases, a self-cleaning whole-phone lease, one serial 2026-09-25 15:05:57 +02:00
test_lease.py phone_lease: per-app leases, a self-cleaning whole-phone lease, one serial 2026-09-25 15:05:57 +02:00
test_main.py phone_lease: per-app leases, a self-cleaning whole-phone lease, one serial 2026-09-25 15:05:57 +02:00
test_scopes.py phone_lease: per-app leases, a self-cleaning whole-phone lease, one serial 2026-09-25 15:05:57 +02:00