Repository navigation
Fix duplicate grabs, request tracking, and Prowlarr magnets - #106
Conversation
FindingsActionable comments posted: 2 Caution Review failedThe pull request is closed.
|
| Layer / File(s) | Summary |
|---|---|
Guard automatic requests and grabs romarr/app.py, tests/test_scheduling_integration.py |
Automatic missing searches and RSS sync skip game/platform pairs that are queued, grabbed, or reserved. Their results report in-flight skips. |
Preserve request identity on replacement romarr/app.py, tests/test_failed_download_handling.py |
Failed-download replacement requests use the guarded path and retain the external request ID. The regression test checks the replacement and Seerr request status. |
Prowlarr magnet handling
| Layer / File(s) | Summary |
|---|---|
Validate and submit magnet redirects romarr/indexers.py, romarr/app.py, tests/test_qbittorrent_prowlarr_upload.py |
Prowlarr validates magnet redirects and removes API-key query fields. ROMarr submits valid magnets to qBittorrent; tests cover redirect handling and the grab result. |
SABnzbd failed-history pagination
| Layer / File(s) | Summary |
|---|---|
Page through failed history romarr/downloaders.py, tests/test_sabnzbd_failed_jobs.py |
Failed-job lookup pages through history in batches of 100 and filters duplicate IDs and non-failed rows. Tests cover pagination across 101 results. |
Estimated code review effort: 3 (Moderate) | ~25 minutes
Change: Bug fix · Severity of issue fixed: Medium
Possibly related issues
#101— The change pages through SABnzbd failed history beyond the first 100 entries, addressing the reported history lookup limitation.#105— The change accepts valid Prowlarr magnet redirects and removesapikeywhile retaining same-origin checks for HTTP redirects.#104— The change passes the external request ID to failed-download replacement requests.
Possibly related PRs
- BlizzHacker/romarr#102: This PR extends the SABnzbd failed-history path and replacement-grab handling introduced there.
- BlizzHacker/romarr#76: This PR sends Prowlarr magnet URIs to qBittorrent and records the tag-based download ID used for URL grabs.
- BlizzHacker/romarr#82: This PR uses qBittorrent tag-based download IDs when submitting Prowlarr magnet URIs.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Changes
apikeyis removed, and the existing same-origin restriction remains in place for HTTP redirects.Closes #103, #104, and #105. The SABnzbd history paging also addresses a follow-up review note on the merged #101 fix.
Verification
Summary by CodeRabbit