monitoring: use inference fix branch by default; harden GUI chain ANR wait

Default BUILD branch fix-bank-withdraw-auto-exchange; dismiss System UI
ANR before confirm taps so low-RAM emulators fail less uselessly.
This commit is contained in:
Hernâni Marques 2026-07-17 21:22:45 +02:00
parent 2dfd40558a
commit 92695c0ee3
No known key found for this signature in database
6 changed files with 55 additions and 12 deletions

View file

@ -130,15 +130,30 @@ Open issues mirrored from upstream `ISSUES.md` (gui-workflows):
- **I-and-gui-004** — emulator RAM cost (this host ~3.7GiB)
- **I-and-gui-007** — for reliable withdraw GUI, build/install app from **fix/bank-withdraw-auto-exchange** or **fix/withdraw-spinner-fallback**, not plain master alone
Recommended demo stack:
### Ground rule (ops)
1. **Bring it to run** first (scripts + live stack).
2. **App code changes only if needed**, and **minimal**.
3. Prefer **existing** `dev/hernani-inference/*` branches over new ones; extend them rather than forking random trees.
### Recommended demo stack (2026-07)
```text
1) Checkout taler-android: fix/withdraw-spinner-fallback (or merge fixes)
2) ./gradlew :wallet:installFdroidDebug
3) Boot emulator / phone
1) taler-android checkout:
dev/hernani-inference/fix-bank-withdraw-auto-exchange
(or fix/withdraw-spinner-fallback for spinner + OIM)
2) ./gradlew :wallet:assembleFdroidDebug # package net.taler.wallet.fdroid.debug
3) Boot emulator / phone (prefer ≥68GiB host RAM; 4GiB → System UI ANR)
4) android-test/run-goa-gui-chain.sh # STACK=goa|stage
```
`run-android-build-and-smoke.sh` defaults `BRANCH=dev/hernani-inference/fix-bank-withdraw-auto-exchange`
so source smokes pick up the GOA exchange auto-add fix without manual checkout.
### Runtime note (clementine)
On ~3.7GiB hosts the emulator often shows **System UI isnt responding** before Confirm is tappable. Chain script now prioritizes **Wait** over hunting Confirm. For a green end-to-end GUI path use a physical device or more RAM — the **mint + deep-link + fix-branch APK** path is otherwise ready.
```bash
# GOA chain (explorer mint + GUI taps)
EXP_PW_FILE=$HOME/src/koopa/koopa-admin-secrets/koopa/host-root/taler-bank/bank-explorer-password.txt \