Skip to content

Measure foreground transfer polling with deep historical lists #121

Description

@altaywtf

Investigation hypothesis from audit commit a6cc673: TransfersRepository.kt scans pages of 1,000 rows to locate requested active IDs; TransfersController polls while visible/idle. Relevant files are app/src/main/kotlin/io/putdotio/android/transfers/{TransfersRepository,TransfersController}.kt. Recheck current source first.

Measure deterministic histories with a recent active ID, an old active ID and a disappearing ID. Record request count/bytes, decode/map time and representative-device CPU. Polling already pauses while hidden; this is not a background-runaway claim.

Only propose a different refresh strategy if material. Verify SDK endpoint/rate-limit tradeoffs before substituting per-ID requests; preserve missing-row semantics. Existing focused checks: ./gradlew :app:testMobileProductionDebugUnitTest --tests 'io.putdotio.android.transfers.SdkTransfersRepositoryTest' --tests 'io.putdotio.android.transfers.TransfersControllerTest'. Full implementation gate: ./gradlew verify :buildSrc:test. No measured speed claim exists yet.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions