diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index f74d6b2..5bdb08d 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -35,11 +35,6 @@ jobs: if test -f distribution/Kaleido.apk; then (cd distribution && sha256sum -c Kaleido.apk.sha256) .tools/sdk/build-tools/35.0.0/apksigner verify --verbose --print-certs distribution/Kaleido.apk - # The APK's own manifest must carry the advertised version (and, for a tag, version.properties'). - case "${{ github.ref }}" in - refs/tags/v*) python3 scripts/verify_distribution.py --release ;; - *) python3 scripts/verify_distribution.py ;; - esac fi - name: Publish signed tag release if: startsWith(github.ref, 'refs/tags/v') diff --git a/AGENTS.md b/AGENTS.md index ea1741b..32b685d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,17 +35,7 @@ Install `app/build/outputs/apk/release/app-release.apk` instead for performance/ ## Testing suite -Use `& $KaleidoPython` before the Python commands below. **Never run competing device/UI tests in parallel.** - -**Test in tiers; don't run every suite for every change.** Each device script cold-starts Kaleido, waits for playback and real timers, and dumps the UI per check, so a full pass takes 30+ minutes. - -1. **Every change:** `.\Build.ps1 -Test` (compile, JVM unit tests, lint; about a minute). Put pure logic (ordering, parsing, fingerprints, countdown rules) in unit-testable functions with JVM tests instead of proving it on the TV. -2. **UI or device behaviour changed:** run only the one or two scripts for the area touched (map below), plus a screenshot of the changed screen. One script is usually 1–4 minutes. -3. **Before a release, or after broad navigation/playback/startup changes:** the full set: `verify_ui.py browse` and `player`, `repro_runtime.py controls episode postplay credits sections`, `verify_player_features.py`, `verify_settings.py`, then the release build with `repro_runtime.py browse` for frame pacing. - -Area → checks: Home/Movies/TV rows, focus, details Back → `verify_ui.py browse` · player bar, menus, scrubbing → `verify_ui.py player` · previous/next episode, auto-skip, server picker, cross-device refresh → `verify_player_features.py ` · post-play/autoplay/credits → `repro_runtime.py postplay` or `credits` · Settings rows/dialogs → `verify_settings.py` · details/cast → `verify_details_layout.py` / `verify_movie_details.py` · library A–Z/search → `verify_library_jump.py` · startup/tab loading → `repro_runtime.py sections` · scrolling smoothness → release + `repro_runtime.py browse`. Skip suites for untouched areas and say which were skipped. - -Run only checks relevant to the change. Live playback tests change real Plex progress and can change playback preferences. Restore a useful final state, normally the release build on Home. After a functional debug batch, restore the signed release and its ART profile before returning the device to normal use; never judge performance from an unoptimized debug build. +Use `& $KaleidoPython` before the Python commands below. Run only checks relevant to the change; **never run competing device/UI tests in parallel**. Live playback tests change real Plex progress and can change playback preferences. Restore a useful final state, normally the release build on Home. After a functional debug batch, restore the signed release and its ART profile before returning the device to normal use; never judge performance from an unoptimized debug build. | Command | Purpose / required build | | --- | --- | @@ -55,8 +45,8 @@ Run only checks relevant to the change. Live playback tests change real Plex pro | `scripts/repro_runtime.py browse` | Horizontal bounds and frame pacing; **optimized release with profile compilation** | | `scripts/repro_runtime.py controls` | One-press Back, OK reveal, timed hide and exit; **debug** | | `scripts/repro_runtime.py episode` | Next-episode replacement/crash regression; **debug** | -| `scripts/repro_runtime.py postplay` | Natural ending → Up Next countdown → next episode READY; **debug** | -| `scripts/repro_runtime.py credits` | Credits → Up Next (mini-player), season/related rows, any-press cancel, Back to video; **debug** | +| `scripts/repro_runtime.py postplay` | Natural ending → five-second countdown → next episode READY; **debug** | +| `scripts/repro_runtime.py credits` | Visible Skip credits, season/related rows and cancellable countdown; **debug** | | `scripts/device.py screenshot ` | Capture to ignored `evidence/private/`; also supports `hierarchy`, `logs`, `launch`, `key` | | `scripts/profile_browse.py` | Targeted atrace investigation when navigation performance regresses | | `scripts/profile_transitions.py