fix(daemon): regrab a failed grab once unblacklisted #284

Merged
naps62-yolo merged 1 commits from fix/regrab-unblacklisted into main 2026-11-15 16:56:05 +00:00
Owner

Requested by naps · project thread

A grab now reclaims a failed grab row for the same infohash, as it already did for vanished ones.

After #283 un-blacklisted the Silo S03 pack, re-grabbing it did nothing. Its old grab row was failed, and the infohash conflict only reclaims vanished rows, so the grab logged grab already recorded for this torrent and stopped. A failed grab's torrent is always blacklisted, and the blacklist check runs before this insert. So reaching the insert means the operator lifted the blacklist.

Verification
  • Prod log at 15:28: grab already recorded for this torrent target_kind="season" target_id=39 infohash="72be1ef0…".
  • just ci passes: 837 tests, including a new one for re-grabbing a failed row.

🤖 Generated with Claude Code

<!-- claude-projects-attribution: {"github_login":"naps62"} --> _Requested by **naps** · [project thread](https://claude.ai/code/project/chan_01UYLqY2bRGpRgeywoBE6jwE?thread=cmsg_01UYLqY2bRGpRgeywoBE6jwE7yDArkDjRqgeWPQBN76BJo)_ A grab now reclaims a `failed` grab row for the same infohash, as it already did for `vanished` ones. After #283 un-blacklisted the Silo S03 pack, re-grabbing it did nothing. Its old grab row was `failed`, and the infohash conflict only reclaims `vanished` rows, so the grab logged `grab already recorded for this torrent` and stopped. A failed grab's torrent is always blacklisted, and the blacklist check runs before this insert. So reaching the insert means the operator lifted the blacklist. <details><summary>Verification</summary> - Prod log at 15:28: `grab already recorded for this torrent target_kind="season" target_id=39 infohash="72be1ef0…"`. - `just ci` passes: 837 tests, including a new one for re-grabbing a failed row. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
naps62-yolo added 1 commit 2026-11-15 15:43:13 +00:00
fix(daemon): regrab a failed grab once unblacklisted
ci / web (pull_request) Successful in 29s
e2e / e2e (pull_request) Successful in 2m12s
ci / rust (pull_request) Successful in 2m35s
ci / image (pull_request) Skipped
d55c983620
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
naps62-yolo merged commit 189f66af0d into main 2026-11-15 16:56:05 +00:00
naps62-yolo deleted branch fix/regrab-unblacklisted 2026-11-15 16:56:05 +00:00
Sign in to join this conversation.