Skip to content

fix(requests): match override rules to destination - #247

Merged
snapetech merged 1 commit into
mainfrom
codex/override-rule-request-scope-20261013
Oct 13, 2026
Merged

snapetech merged 1 commit into
mainfrom
codex/override-rule-request-scope-20261013

Conversation

@snapetech

Copy link
Copy Markdown
Collaborator

Description

Related upstream work: Seerr PR #3538 scopes rules to the requested service; Seerr PR #3539 preserves advanced choices and applies defaults for managers. Issue #3548 reported a related symptom and was closed as a duplicate.

SeerrNG now evaluates Radarr and Sonarr rules against the validated destination. Advanced requesters and managers keep fields they explicitly submit, including profile ID 0 and empty tag lists, while rules fill omitted fields. Requests without advanced options keep their current behavior.

AI assistance: Codex assisted with upstream and repository analysis, implementation, tests, and the release note.

How Has This Been Tested?

  • pnpm test:node -- server/routes/request.test.ts — 206 passed, 0 failed.
  • pnpm typecheck:server — passed.
  • Targeted ESLint and Oxlint — passed.
  • Prettier, attribution check, and git diff --check — passed.
  • pnpm release-notes:preview --base origin/main --head HEAD — passed.
  • GitHub-hosted Mode 2 validation — pending.
  • Visual inspection — not applicable; this changes request handling only.

Release Notes

  • I added a release-note fragment under release-notes/.
  • This change is internal-only and does not need a user-facing release note.
  • The fragment includes audience, area, action, and breaking-change status.
  • I previewed the release text with pnpm release-notes:preview.

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed AI assistance: Codex assisted with upstream/repository analysis, implementation, tests, and the release note.
  • I have updated the documentation accordingly (release-note fragment).
  • All new and existing tests passed.
  • Successful build pnpm build.
  • Translation keys (not applicable; no translations changed).
  • Database migration (not required).

@snapetech
snapetech marked this pull request as ready for review October 13, 2026 19:01
@snapetech
snapetech merged commit c26972e into main Oct 13, 2026
31 checks passed
@snapetech
snapetech deleted the codex/override-rule-request-scope-20261013 branch October 13, 2026 19:01
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