Skip to content

Downloads / offline — Android #329

Open
Open

Description

@zZebrahz

Validate Android for Downloads / offline. Parent: [v1] Downloads / offline #1167.

Use the parent's Downloads / offline acceptance v1 criteria, fixtures, scope decisions and reference documents. Pinned product baseline.

Cases

  • C1: Download a title, manage/delete downloads, disconnect completely, and play the completed copy (AC1).
  • C2: Interrupt network/app operation mid-transfer, then resume or fail cleanly; incomplete/corrupt content must not be marked playable (AC2).
  • C3: Exercise constrained storage/bandwidth and profile switching; offline access and configured expiry follow the agreed policy (AC1, AC3).

Coverage results

Case Android phone Android tablet
C1 Not run Not run
C2 Not run Not run
C3 Not run Not run

Both form factors require separate results.

References and related work

Use the parent's links to the published milestone, readiness plan and validation ledger. Its existing-issue list contains candidates, not confirmed blockers. Link relevant failures to these cases without copying unrelated enhancement requirements.


AI-assisted tracking setup using OpenAI Codex and GitHub CLI, at the maintainer's direction. No runtime validation or human acceptance is claimed.

Activity

  1. added this to the v1.0 milestone on Sep 19, 2026
  2. added theissue type on Sep 19, 2026
  3. added
    v1.0
    on Sep 19, 2026
  4. added
    triaged
    and removed
    triaged
    on Sep 20, 2026
  5. Rhainland commented on Oct 23, 2026

    @Rhainland
    Contributor

    Android results on 2026-10-23

    On silo-android main at 5e19a58, C1 passes on phone and tablet. C2 and C3 fail. Three pull requests fix the failures, and every case passes on a build with all three:

    The server was silo-server main at 31fabc7 with a synthetic library; details are in the parent report on Silo-Server/silo-server#1167.

    Case Android phone Android tablet Notes
    C1 Pass Pass
    C2 Fail on main → Pass with #675 + #674 Pass (network cut); force-stop Pass with fixes
    C3 Fail on main → Pass with #673 + #674 Fail on main → Pass with #673

    C1. Downloaded a 181.5 MB original (quality sheet → Original); the file in shared storage matched the source SHA-256. With the server unreachable the app opened in "Offline mode" on Downloads, and the title played. Remove download while offline deleted the file. The server entry was removed later, on the next fresh open of the Downloads tab; reconnecting while already on that tab did not send it.

    C2.

    • Network cut (pass on main): with the connection to the server dropped for 30–40 s mid-transfer, the worker scheduled retries and then resumed from the partial with a Range request (from 30.5 MB on phone and 30.2 MB on tablet). The finished files matched the source.
    • App force-stop (fails on main, twice): after a force-stop mid-transfer and reopening the app, the worker resumed and then failed with BackgroundServiceStartNotAllowedException. Android refused its foreground notification because the app was not yet in the foreground. The worker deleted the partial, and the row stayed on "Downloading 37.3 MB" with no progress for more than 5 minutes. With fix(downloads): keep a download going after the app is force-stopped #675 the refusal is logged and the transfer continues: it resumed from 40.3 MB and 50.6 MB (phone) and 10.1 MB (tablet) and completed with matching files.
    • Leftover partials (fails on main): every unfinished download, whether failed or removed, left a hidden .pending-* file in Movies/Silo/… (three files, 236 MB in total). Nothing was shown as playable, but the space was not freed. With fix(downloads): delete unfinished download files with their download #674, removing the download cleared all three, and a later failure left the folder empty.

    C3.

    • Download limit: with the period limit reached, the app showed the server's reason, "download period limit reached".
    • Profile switching: the restricted profile's Downloads showed none of the other profile's copies.
    • Low storage, set up by filling the emulator to 100 MB free and starting a 181 MB download: there was no warning before starting. The transfer hit "No space left on device" and the row showed "Failed" with Remove download. On main a 125 MB hidden partial stayed behind; with fix(downloads): delete unfinished download files with their download #674 the folder was empty and the space was free again.
    • Revocation: on main, after a revoke, the Downloads tab read the registry (entry revoked) and kept the file and a playable "Ready" row (twice on the phone, once on the tablet). With fix(downloads): delete downloads an administrator revoked #673, opening Downloads deleted the file and sent the DELETE (twice on the phone, once on the tablet).

    Integration run. All three fixes were merged on 5e19a58, and C1–C3 were walked again on phone and tablet; every case passed. One ANR ("No response to onStartJob") appeared once on the phone during that run, while the device host was under very heavy load (load average ≈ 250). It did not recur in the other force-stop runs on that build, two before it and one after it with the load near 28, so it is recorded as a load effect, not a failure.

    Devices: Pixel 7 and Pixel Tablet emulators, Android 16. Builds: silo-android 5e19a58baac31e7cde2c16e6571f9b0a193bbf9f, fix branches 848e60e, e79f501 and ab19fcd (stacked); silo-server 31fabc72398616bf2e5dfbbf7f3361566cd91474.

    AI disclosure: runtime validation and fixes by Claude Code (claude-opus-5-5) at the maintainer's direction. Results are from the builds above; human acceptance pending.

  6. Quick104 commented on Nov 26, 2026

    @Quick104
    Contributor

    Proposed results from agent runtime testing: server 2970 · a16a24720 (local sandbox), silo-android bbbfdeeb5 debug build, Pixel 7 and Pixel Tablet emulators, Android 16

    The maintainer asked for this run. One agent tested the cases and a second agent checked the evidence against the case text and the code. Nothing in the task body, checkboxes or board status was changed.

    The fixture was one short TV episode at Original quality; movies and audiobooks weren't downloaded, and converted presets weren't available (download transcoding was off).

    Case Android phone Android tablet
    C1 Passed: the finished file matched the source hash, played with the network fully off, and was deleted offline; the server entry cleared once Downloads was opened online Passed: same
    C2 Passed: after a network cut and after a force-stop the transfer resumed (200, then 206 range requests) and the file matched the source; the incomplete row wasn't playable and no partial file was left Passed: same
    C3 Passed: a revoked copy was removed when Downloads opened online, the period limit refused a second download, a Restricted profile saw none of the other profile's downloads, a bandwidth cap held, and with about 100 MB free the download ended as Failed with no leftover file. No warning before the start (#1076) Passed in part: revoke, the period limit (counted across the account's devices) and low storage are shown, but nothing shows the other profile held a copy before the profile switch

    Posted with Claude Code (claude-sonnet-5-5 testing, claude-opus-5-5 verification) and GitHub CLI at the maintainer's direction. These are proposed results only; no human acceptance is claimed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Validationv1.0

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions