SKYHOUSE.dev Journal

Maintaining the Cloud Fortress

Killing the "Adventure Time: Fionna & Cake" respawn loop

Why: A set of Fionna & Cake episodes kept re-appearing in rdt-client/TorBox no matter how many times they were deleted at every level — Damien had been fighting them for hours — and the churn was rate-limiting the whole TorBox account (HTTP 429 storms).

This was a freshly-built (last 2 days) Sonarr → rdt-client (TorBox backend) → library pipeline, and it had three intertwined faults. The acute symptom was the Fionna loop; underneath it were a self-defeating cleanup cron and a missing cached-only gate.

1. What was actually happening

The loop lived in layers below Sonarr. Sequence:

2. Acute fix — purge Fionna at the owning layers

3. Root-cause fix — the cleanup cron was holding the door open

/home/plex/bin/sonarr-queue-cleanup.sh (cron, every 5 min) was removing stuck completed/warning queue items with removeFromClient=false&blocklist=false — so dead releases were never blocklisted and were instantly re-grabbable, and the rdt-client torrents were left orphaned. In a debrid setup a cached grab imports within seconds, so anything still stuck after the cutoff is a dead/uncached/un-importable release.

4. rdt-client tuning

5. The real architectural gap: nothing enforces cached-only

The docs describe the TV rdt-client as "cache-only", but nothing actually gates it. Sonarr grabs uncached releases from the public trackers; TorBox then has to download them server-side (slow, consumes the 3 active slots) and they loop. OnlyDownloadAvailableFiles is file-level, not an add-time gate. A real fix needs a cache-checking layer between Prowlarr and the arrs; the fixed cron is only a soft mitigation. Flagged for follow-up.

Net effect: the Fionna loop is dead, the 429 storm is gone, and the cleanup cron now blocklists dead grabs instead of recycling them. The broader uncached-grab churn (Breaking Bad S04 etc.) will grind down via the fixed cron but still wants a proper cached-only gate.

← Back to Admin Hub