Skip to content

fix(sonarr): preserve cross-ID in-progress series - #209

Merged
snapetech merged 1 commit into
mainfrom
codex/sonarr-orphan-identity-20261012
Oct 13, 2026
Merged

snapetech merged 1 commit into
mainfrom
codex/sonarr-orphan-identity-20261012

Conversation

@snapetech

Copy link
Copy Markdown
Collaborator

Description

Sonarr orphan cleanup now recognizes scanned shows by both their Sonarr TVDB ID and the TMDB ID resolved during the scan. This prevents an active request from being reset and declined when Sonarr carries the same series under a different TVDB ID, for both standard and 4K profiles.

Upstream context: Seerr PR #3605. This change applies the reported behavior within SeerrNG's scanner and preserves its per-profile cleanup checks.

AI assistance was used to prepare and implement this change.

How Has This Been Tested?

  • pnpm test:node -- server/lib/scanners/sonarr/sonarr.test.ts — 20 passed, including standard and 4K regressions.
  • ESLint on the changed Sonarr files — passed.
  • pnpm typecheck:server — passed.
  • Prettier and git diff --check — passed.
  • pnpm release-notes:preview --base origin/main --head HEAD — reviewed.
  • The complete GitHub-hosted validation mode will run on this PR; no full local build was run.

Screenshots / Logs

Not applicable.

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 any use of AI (see our policy)
  • I have updated the documentation accordingly. (Release note added; no other docs apply.)
  • All new and existing tests passed. (Focused suite passed; complete mode is pending.)
  • Successful build pnpm build.
  • Translation keys pnpm i18n:extract. (Not applicable; no translations changed.)
  • Database migration (if required).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T00:31:57.119325Z 8ca46e7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@snapetech
snapetech merged commit 5a9deca into main Oct 13, 2026
31 checks passed
@snapetech
snapetech deleted the codex/sonarr-orphan-identity-20261012 branch October 13, 2026 13: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