Skip to content

feat: configure per-service Servarr queue limits - #446

Merged
snapetech merged 2 commits into
mainfrom
codex/servarr-queue-completeness-20261031
Nov 6, 2026
Merged

snapetech merged 2 commits into
mainfrom
codex/servarr-queue-completeness-20261031

Conversation

@snapetech

@snapetech snapetech commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Read official Servarr queues with validated, bounded pagination and wait for the exact RefreshMonitoredDownloads command to finish before consuming its result.
  • Add a per-service Download Queue Size setting to Radarr, Sonarr, Lidarr, Whisparr, and Bookshelf/Readarr. The supported range is 10–10,000 items; SeerrNG defaults to 1,000 to preserve its previous tracker window, with a 10,000-record global ceiling.
  • For duplicate service aliases, fetch one queue window large enough for the highest configured alias limit, then apply each alias's own limit.
  • Keep progress tracking read-only. If the queue exceeds its configured display limit, only that returned window is tracked; service download behavior is unchanged.
  • Keep recovery and queue intervention strict: those paths request uncapped snapshots within their own safety bounds and reject incomplete or oversized responses. Failed refreshes or invalid page sequences preserve the last verified progress state and skip recovery for that service.
  • Document the behavior in the live-download guide and API schema. README and fork-retirement matrix context is in SeerrNG PR #438.

Upstream context

This is an independent SeerrNG adaptation of the queue-sync work discussed in closed, unmerged Seerr PR #3473 and open Seerr PR #3535. The adaptation preserves SeerrNG's existing 1,000-item tracker window by default, extends the ceiling to SeerrNG's 10,000-record safety bound, and applies the control consistently across all five supported official Servarr queue services.

Validation

  • pnpm typecheck completed for server and client.
  • pnpm lint passed; Oxlint reported warnings only in untouched files.
  • pnpm i18n:extract and pnpm i18n:check passed.
  • Prettier check and git diff --check passed.
  • Tests were not run.
  • Manual visual acceptance is unverified: the isolated browser pool rejected a lease, so matching headed baseline and candidate screenshots could not be captured.

AI assistance was used during implementation and review; the resulting changes were manually reviewed.

@snapetech snapetech changed the title fix(downloads): wait for complete Servarr queue snapshots feat: configure per-service Servarr queue limits Oct 31, 2026
@snapetech snapetech closed this Nov 5, 2026
@snapetech
snapetech deleted the codex/servarr-queue-completeness-20261031 branch November 5, 2026 02:43
@snapetech
snapetech restored the codex/servarr-queue-completeness-20261031 branch November 5, 2026 20:28
@snapetech snapetech reopened this Nov 5, 2026
@snapetech
snapetech merged commit 8664112 into main Nov 6, 2026
@snapetech
snapetech deleted the codex/servarr-queue-completeness-20261031 branch November 6, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant