Per-tracker seeding rules and torrent reaper #25

Closed
opened 2026-08-22 18:22:39 +01:00 by naps62-yolo · 1 comment
Owner

DESIGN.md §7.3. Seeding obligations are per tracker and configured locally,
because Prowlarr does not expose tracker rules.

Transmission enforces them — set seedRatioLimit and seedIdleLimit at add
time. The reaper only removes torrents Transmission already reports as done
seeding.

The invariant worth a test: a hard-failed, blacklisted, never-imported release
still seeds to completion before removal. Nothing is deleted early to satisfy
the library.

Acceptance: integration test against a real Transmission with a short ratio
limit, asserting the reaper waits.


Depends on: #22

Labels: phase/4-movies, area/daemon, difficulty/moderate, type/feature

`DESIGN.md` §7.3. Seeding obligations are per tracker and configured locally, because Prowlarr does not expose tracker rules. Transmission enforces them — set `seedRatioLimit` and `seedIdleLimit` at add time. The reaper only removes torrents Transmission already reports as done seeding. The invariant worth a test: a hard-failed, blacklisted, never-imported release still seeds to completion before removal. Nothing is deleted early to satisfy the library. Acceptance: integration test against a real Transmission with a short ratio limit, asserting the reaper waits. --- **Depends on:** #22 Labels: `phase/4-movies`, `area/daemon`, `difficulty/moderate`, `type/feature`
naps62-yolo added the area/daemondifficulty/moderatephase/4-moviestype/feature labels 2026-08-22 18:22:39 +01:00
naps62-yolo self-assigned this 2026-08-22 23:44:02 +01:00
Author
Owner

Implementing the scoped §7.3 lifecycle: resolve seeding limits by Prowlarr indexer at grab time, expose Transmission’s authoritative done-seeding flag, and register a reaper that removes only finished arr-labelled torrents without deleting data. Tests will cover tracker selection, hard-failed/import-independent removal, and the real Transmission wait boundary.

Implementing the scoped §7.3 lifecycle: resolve seeding limits by Prowlarr indexer at grab time, expose Transmission’s authoritative done-seeding flag, and register a reaper that removes only finished arr-labelled torrents without deleting data. Tests will cover tracker selection, hard-failed/import-independent removal, and the real Transmission wait boundary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#25