Repository navigation
fix(scanners): decline request when media resets to UNKNOWN - #3578
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughBaseScanner can defer status resets and decline matching approved requests during resolution. Radarr and Sonarr track processing media across servers before allowing resets. Scanner tests cover default and opted-in behavior, unmonitored entries, and multi-server scan results. ChangesStatus-reset request handling
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix · Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant ArrScanner
participant BaseScanner
participant MediaRequest
ArrScanner->>BaseScanner: Provide media scan state
BaseScanner->>BaseScanner: Record and resolve reset candidate
BaseScanner->>MediaRequest: Decline matching approved request
Suggested reviewers: Merge Risk: ⚪ Minimal · up to No new merge-blocking issue was established. The existing TV status-flapping behavior remains a follow-up. Security Architecture ReviewSecurity architecture risk: 🟡 Moderate · up to The cross-server checks reduce false abandonment decisions, but incomplete show processing and approvals arriving during a scan can still cause valid requests to be declined. The supported impact is confined to media and request state within configured integrations. Retained concerns
Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
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. A rabbit checks the scanner trail Comment |
A movie that is still present in Radarr but unmonitored with no file resets the media row from PROCESSING to UNKNOWN, and processShow does the same for a show whose seasons all go empty. Neither path resolved the attached request, and MediaSubscriber only acts on PARTIALLY_AVAILABLE, AVAILABLE and DELETED, so an APPROVED request survived indefinitely. The duplicate guard then blocked the title from ever being requested again, with no way to clear it from the UI. Both paths now decline the attached request after the media save, reusing declineOrphanedRequests. declineOrphanedRequests takes a reason string so the log line no longer claims the title is missing from Radarr when it is sitting there unmonitored. Gated behind declineRequestsOnStatusReset, set only on the Radarr and Sonarr scanners. Plex and Jellyfin reach the same season reset branch with no monitored way of them knowing it, so letting them resolve requests would cancel downloads that are still in flight. fix #3577
An unmonitored copy on one server could reset the shared media row and decline a request another server was still downloading, in either scan order. Resets are now recorded during the loop and settled after every server has been scanned. A title is only treated as abandoned when the scan completed for that quality and no server reported it as processing. For movies, the UNKNOWN reset moves to the same pass, and an unmonitored fileless entry no longer overwrites the service columns on a processing row, so neither flaps with scan order. Scanners that have not opted in keep the immediate in-loop reset.
70f27ea to
ce358fa
Compare
|
Important Additional Notes for reviewers
|
Those 1k lines scared me at first 😅 |
The downstream PR is also same case 😄 |
* fix(backend-rs): keep user settings and private media data out of responses
A user embedded in another entity's response (a request's requestedBy and
modifiedBy, an issue's users, an issue comment's user, watchlist and push
subscription users, the bulk permission update) carried its eager settings
relation, exposing Pushover, Pushbullet, Telegram, Discord and PGP values.
Nested users now serialize like Node's User.toJSON, without settings; only
a top-level User.filter(true) (own profile, user manager) still includes
them, and /auth/me already sends its own allowlist.
GET /movie/{id} and GET /tv/{id} returned mediaInfo with every requester's
email and Plex id and the full issues, comments included, to any signed-in
user. Requests' users now go through User.filter(), and issues are only
included for viewers with an issue permission, without comments or the
problem season and episode.
Ported from seerr-team/seerr 53e77bf (GHSA-8j73-j6rc-q8xh) and
9fda1c6 (GHSA-xc6j-6p6h-p799).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): enforce the advanced request permission on request routing
POST /request took serverId, profileId, rootFolder, languageProfileId,
metadataLanguageId and tags from any requester, and PUT /request let a
series owner change them, although only MANAGE_REQUESTS or
REQUEST_ADVANCED may pick where a request goes. Those fields are now
ignored for everyone else. A requested server must be a configured
server of the request's quality; otherwise the request goes to the
default server without the requested options, and sending a request
whose stored serverId is no server of its quality falls back to the
default server and its settings.
Override rules now match the server the request is sent to rather than
always the default one, and apply to advanced requesters too, filling in
only what they left unset.
A series edit without seasons answers 400 instead of 500.
Ported from seerr-team#3674, seerr-team#3538 and
seerr-team#3539.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): enforce the quota and covered seasons when editing a request
PUT /request credited the request's own quota units back even when they
were never counted: when the request moves to another owner, or was
created before the owner's quota window. It now credits them only when the
owner's quota counted them, and moving a movie request onto another user
answers 403 when their movie quota is spent.
A series edit could add seasons the library already has; those are now
left out unless the request already holds them, and the quota is charged
for the seasons the request ends up with.
Edits now take the same lock as request creation, so an edit and a new
request can't claim the same season or quota at once.
Ported from seerr-team#3378, seerr-team#3379 and
seerr-team#3380.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): report the Plex watchlist sync schedule in minutes
The job runs every few minutes (every 3 by default), but the jobs list
reported a seconds interval, so the schedule editor offered 30, 45 and
60 seconds. It now reports minutes, and the editor offers 3 minutes too.
Ported from seerr-team#3593.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): set the media server type when the admin signs in with Plex
With users already in the database but no media server configured (a
restored database, say), the admin's Plex sign-in left the server type
unset, so the Plex jobs never ran. Signing in as the admin now sets it to
Plex and starts the jobs again. Starting the jobs a second time now drops
the earlier schedule and schedules every job for the new server, where it
used to do nothing.
Ported from seerr-team#3652.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): only ask Radarr to search movies it considers available
Requesting an unreleased movie already in Radarr triggered a search
Radarr can't act on. The search now only runs when Radarr reports the
movie as available; Radarr searches by itself once it is.
Ported from seerr-team#3533.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): sort requests by creation date when sorting by added
GET /request?sort=added (the spec's default) ordered by id, and requests
tied on the sort column came back in an arbitrary order. "added" now
orders by createdAt, and both sorts break ties by id in the same
direction, which also makes the Postgres-only reordering pass that
reproduced the tied order unnecessary.
Ported from seerr-team#3589.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): harden the Plex watchlist fetch
An answer from Plex Discover without a usable MediaContainer (an error
body, say) was cached with its ETag, so every later fetch was answered
304 and kept failing. Only a valid page is cached now, a cached invalid
one is dropped before it is revalidated, and items listed under Video
are read too.
The metadata of every item on the page was fetched at once; at most five
are fetched at a time now, and an item whose fetch times out or can't
connect is skipped instead of emptying the whole page.
Ported from seerr-team#3406 and seerr-team#3251.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(api): describe the watchlist POST body and its 201 answer
POST /watchlist was documented as taking a whole Watchlist entity and
answering 200; it takes tmdbId and mediaType (required), ratingKey and
title, and answers 201. With the spec validator on, a body without
tmdbId or mediaType is now refused with a 400.
Ported from seerr-team#3425.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): scan the series of recently added Jellyfin episodes
Jellyfin's recently added list returns seasons and episodes when only new
episodes of a show were added; the scan skipped those, so the show's new
episodes weren't picked up until the full scan. A season or episode now
scans the series it belongs to.
Ported from seerr-team#3551.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): decline requests whose title the *arr servers stopped pursuing
When a Radarr movie or Sonarr season that was processing turned
unmonitored with nothing downloaded, the scan reset it to unknown but left
its approved requests approved, so the title could not be requested
again. The reset also depended on which server was scanned first: one
server could reset a title another still pursued, and an abandoned entry
claimed the title's service ids.
The Radarr and Sonarr scans now leave such titles and seasons as they are
until every server was scanned. A title or season no server pursues, and
that no server failed to scan, then falls back to unknown; a title's
approved requests are declined, and a series request loses the abandoned
seasons (keeping its quota units in step), is completed when its remaining
seasons are, and is declined when all its seasons are gone.
Ported from seerr-team#3578 and seerr-team#3579.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(auth): keep polling when plex.tv answers 404 for a pending PIN
plex.tv intermittently answers 404 while polling a PIN that is still
valid, which aborted the Plex sign-in. The poll now retries those until
the PIN's deadline.
Ported from seerr-team#3599.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(i18n): update the zh-Hant notification translations
Ported from seerr-team/seerr f88515b (Weblate).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(backend-rs): leave other requesters' emails out of the request answer
POST /request answered with the title's media and its other requests,
each with its requester's email and Plex id. Those users now go through
User.filter(), as mediaInfo's do since the GHSA-xc6j-6p6h-p799 port.
Upstream still sends them; this follows the advisory's intent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…2) (#1708) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/seerr-team/seerr](https://github.com/seerr-team/seerr) | patch | `v3.5.1` → `v3.5.2` | --- ### Release Notes <details> <summary>seerr-team/seerr (ghcr.io/seerr-team/seerr)</summary> ### [`v3.5.2`](https://github.com/seerr-team/seerr/releases/tag/v3.5.2) [Compare Source](seerr-team/seerr@v3.5.1...v3.5.2) ##### [3.5.2](https://github.com/seerr-team/seerr/compare/v3.5.1..v3.5.2) - 2026-11-12 ##### 🐛 Bug Fixes - *(JellyfinAPI)* Filter episodes by requested season ID ([#​3697](seerr-team/seerr#3697)) - ([7bfc90f](seerr-team/seerr@7bfc90f)) - *(api)* Stop background cache refresh from logging credentials ([#​3699](seerr-team/seerr#3699)) - ([3f7d5c3](seerr-team/seerr@3f7d5c3)) - *(api)* Correct watchlist POST request schema in OpenAPI spec ([#​3425](seerr-team/seerr#3425)) - ([84ed3c1](seerr-team/seerr@84ed3c1)) - *(auth)* Set mediaServerType on plex login with existing users ([#​3652](seerr-team/seerr#3652)) - ([84eae67](seerr-team/seerr@84eae67)) - *(auth)* Treat intermittent plex.tv PIN 404s as transient ([#​3599](seerr-team/seerr#3599)) - ([9e2021b](seerr-team/seerr@9e2021b)) - *(details)* Download polling and manage panel close ([#​3676](seerr-team/seerr#3676)) - ([debd54d](seerr-team/seerr@debd54d)) - *(discord)* Link webhook URL label to its field ([#​3702](seerr-team/seerr#3702)) - ([8331f36](seerr-team/seerr@8331f36)) - *(discover)* Preserve trending filters on back navigation ([#​3608](seerr-team/seerr#3608)) - ([efbc937](seerr-team/seerr@efbc937)) - *(jellyfin)* Handle season and episode items in recently added scan ([#​3551](seerr-team/seerr#3551)) - ([cd8aa1f](seerr-team/seerr@cd8aa1f)) - *(jobs)* Use minute intervals for the plex watchlist sync schedule ([#​3593](seerr-team/seerr#3593)) - ([6370562](seerr-team/seerr@6370562)) - *(migrations)* Use literals for new columns in SQLite table-copy migrations ([#​3695](seerr-team/seerr#3695)) - ([58318ec](seerr-team/seerr@58318ec)) - *(override-rules)* Apply rules for the requested server ([#​3538](seerr-team/seerr#3538)) - ([c57dca9](seerr-team/seerr@c57dca9)) - *(plex)* Do not cache invalid Discover watchlist responses ([#​3406](seerr-team/seerr#3406)) - ([9a5c89f](seerr-team/seerr@9a5c89f)) - *(radarr)* Initiate Radarr movie search only if movie is available ([#​3533](seerr-team/seerr#3533)) - ([978f437](seerr-team/seerr@978f437)) - *(request)* Enforce advanced request permission on the API ([#​3674](seerr-team/seerr#3674)) - ([af03562](seerr-team/seerr@af03562)) - *(requests)* Handle 202 no-seasons response in TV request modal ([#​3573](seerr-team/seerr#3573)) - ([d09072a](seerr-team/seerr@d09072a)) - *(requests)* Sort requests by creation date instead of just id ([#​3589](seerr-team/seerr#3589)) - ([53e4564](seerr-team/seerr@53e4564)) - *(scanners)* Resolve abandoned seasons at end of run ([#​3579](seerr-team/seerr#3579)) - ([b185621](seerr-team/seerr@b185621)) - *(scanners)* Decline request when media resets to UNKNOWN ([#​3578](seerr-team/seerr#3578)) - ([8f2ecee](seerr-team/seerr@8f2ecee)) - *(settings)* Allow trailing slash in YouTube URL ([#​3557](seerr-team/seerr#3557)) - ([e959062](seerr-team/seerr@e959062)) - *(slack)* Link notification settings labels to their fields ([#​3679](seerr-team/seerr#3679)) - ([886adac](seerr-team/seerr@886adac)) - *(subscriber)* Avoid savepoint collisions when completing requests ([#​3630](seerr-team/seerr#3630)) - ([31b100d](seerr-team/seerr@31b100d)) ##### 📖 Documentation - *(notifications)* Document missing fields on the remaining agent pages ([#​3611](seerr-team/seerr#3611)) - ([c167958](seerr-team/seerr@c167958)) - *(telegram)* Document the Thread/Topic ID and Embed Poster settings ([#​3550](seerr-team/seerr#3550)) - ([14ed03d](seerr-team/seerr@14ed03d)) - Clarify AI policy, add review times, update branch naming ([#​3636](seerr-team/seerr#3636)) - ([63f4663](seerr-team/seerr@63f4663)) - Add a warning about new contribution scope ([#​3595](seerr-team/seerr#3595)) - ([1406e6e](seerr-team/seerr@1406e6e)) - Fix backups menu ([#​3575](seerr-team/seerr#3575)) - ([2cfbcf8](seerr-team/seerr@2cfbcf8)) ##### 🧪 Testing - *(cypress)* Fix watchlist and manage panel flakes ([#​3675](seerr-team/seerr#3675)) - ([f80beb9](seerr-team/seerr@f80beb9)) - *(cypress)* Fix flaky keyword spec and keep only failure videos ([#​3649](seerr-team/seerr#3649)) - ([b4ea6e8](seerr-team/seerr@b4ea6e8)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update dependency ubuntu to v26 ([#​3638](seerr-team/seerr#3638)) - ([3153656](seerr-team/seerr@3153656)) - *(cypress)* Fix paths filter and bump github-action to v7.4.6 ([#​3648](seerr-team/seerr#3648)) - ([f288fff](seerr-team/seerr@f288fff)) - *(devenv)* Update dependencies ([#​3631](seerr-team/seerr#3631)) - ([6f63b08](seerr-team/seerr@6f63b08)) - *(docker)* Update node.js to v22.23.5 ([#​3711](seerr-team/seerr#3711)) - ([d19d50e](seerr-team/seerr@d19d50e)) - *(docker)* Update node.js to v22.23.4 ([#​3639](seerr-team/seerr#3639)) - ([0b27912](seerr-team/seerr@0b27912)) - *(git-cliff)* Add build type to miscellaneous tasks ([#​3640](seerr-team/seerr#3640)) - ([62ed636](seerr-team/seerr@62ed636)) - *(i18n)* Update translations from Weblate - ([854effb](seerr-team/seerr@854effb)) - *(i18n)* Update translations from Weblate - ([b4b85dc](seerr-team/seerr@b4b85dc)) - *(i18n)* Update translations from Weblate - ([381ce98](seerr-team/seerr@381ce98)) - *(i18n)* Update translations from Weblate - ([dca1af6](seerr-team/seerr@dca1af6)) - *(i18n)* Update translations from Weblate - ([1313800](seerr-team/seerr@1313800)) - *(i18n)* Update translations from Weblate - ([f88515b](seerr-team/seerr@f88515b)) - *(pr-validation)* Exempt maintainers by repo permission level ([#​3637](seerr-team/seerr#3637)) - ([f9fe7a9](seerr-team/seerr@f9fe7a9)) - *(release)* Prepare v3.5.2 - ([18a90b4](seerr-team/seerr@18a90b4)) - *(release)* Prepare 3.5.2 release - ([1889c6a](seerr-team/seerr@1889c6a)) - Migrate to gh actions-lock ([#​3632](seerr-team/seerr#3632)) - ([53299c1](seerr-team/seerr@53299c1)) - Add vulnerability report ([#​3587](seerr-team/seerr#3587)) - ([e00d685](seerr-team/seerr@e00d685)) ##### New Contributors ❤️ - [@​thirstyraven](https://github.com/thirstyraven) made their first contribution - [@​jkhsjdhjs](https://github.com/jkhsjdhjs) made their first contribution - [@​pattems](https://github.com/pattems) made their first contribution - [@​rpardini](https://github.com/rpardini) made their first contribution - [@​cplieger](https://github.com/cplieger) made their first contribution - [@​kinn81](https://github.com/kinn81) made their first contribution - [@​scottfridwin](https://github.com/scottfridwin) made their first contribution - [@​BBijaya](https://github.com/BBijaya) made their first contribution </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjEuNiIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMS42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.xcd.dev/gabrielcosi/home-ops/pulls/1708
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [seerr/seerr](https://github.com/seerr-team/seerr) | patch | `v3.5.1` → `v3.5.2` | --- ### Release Notes <details> <summary>seerr-team/seerr (seerr/seerr)</summary> ### [`v3.5.2`](https://github.com/seerr-team/seerr/releases/tag/v3.5.2) [Compare Source](seerr-team/seerr@v3.5.1...v3.5.2) > \[!WARNING] > **This release fixes 3 security vulnerabilities. All users should update to 3.5.2 as soon as possible.** > > To give everyone time to upgrade, full details will be published as security advisories on **November 15, 2026**. Once published, the details will be public, so update now rather than waiting for the advisories. > > These release notes will be updated with links to the advisories once they're published. ##### 🐛 Bug Fixes - *(JellyfinAPI)* Filter episodes by requested season ID ([#​3697](seerr-team/seerr#3697)) - ([7bfc90f](seerr-team/seerr@7bfc90f)) - *(api)* Stop background cache refresh from logging credentials ([#​3699](seerr-team/seerr#3699)) - ([3f7d5c3](seerr-team/seerr@3f7d5c3)) - *(api)* Correct watchlist POST request schema in OpenAPI spec ([#​3425](seerr-team/seerr#3425)) - ([84ed3c1](seerr-team/seerr@84ed3c1)) - *(auth)* Set mediaServerType on plex login with existing users ([#​3652](seerr-team/seerr#3652)) - ([84eae67](seerr-team/seerr@84eae67)) - *(auth)* Treat intermittent plex.tv PIN 404s as transient ([#​3599](seerr-team/seerr#3599)) - ([9e2021b](seerr-team/seerr@9e2021b)) - *(details)* Download polling and manage panel close ([#​3676](seerr-team/seerr#3676)) - ([debd54d](seerr-team/seerr@debd54d)) - *(discord)* Link webhook URL label to its field ([#​3702](seerr-team/seerr#3702)) - ([8331f36](seerr-team/seerr@8331f36)) - *(discover)* Preserve trending filters on back navigation ([#​3608](seerr-team/seerr#3608)) - ([efbc937](seerr-team/seerr@efbc937)) - *(jellyfin)* Handle season and episode items in recently added scan ([#​3551](seerr-team/seerr#3551)) - ([cd8aa1f](seerr-team/seerr@cd8aa1f)) - *(jobs)* Use minute intervals for the plex watchlist sync schedule ([#​3593](seerr-team/seerr#3593)) - ([6370562](seerr-team/seerr@6370562)) - *(migrations)* Use literals for new columns in SQLite table-copy migrations ([#​3695](seerr-team/seerr#3695)) - ([58318ec](seerr-team/seerr@58318ec)) - *(override-rules)* Apply rules for the requested server ([#​3538](seerr-team/seerr#3538)) - ([c57dca9](seerr-team/seerr@c57dca9)) - *(plex)* Do not cache invalid Discover watchlist responses ([#​3406](seerr-team/seerr#3406)) - ([9a5c89f](seerr-team/seerr@9a5c89f)) - *(radarr)* Initiate Radarr movie search only if movie is available ([#​3533](seerr-team/seerr#3533)) - ([978f437](seerr-team/seerr@978f437)) - *(request)* Enforce advanced request permission on the API ([#​3674](seerr-team/seerr#3674)) - ([af03562](seerr-team/seerr@af03562)) - *(requests)* Handle 202 no-seasons response in TV request modal ([#​3573](seerr-team/seerr#3573)) - ([d09072a](seerr-team/seerr@d09072a)) - *(requests)* Sort requests by creation date instead of just id ([#​3589](seerr-team/seerr#3589)) - ([53e4564](seerr-team/seerr@53e4564)) - *(scanners)* Resolve abandoned seasons at end of run ([#​3579](seerr-team/seerr#3579)) - ([b185621](seerr-team/seerr@b185621)) - *(scanners)* Decline request when media resets to UNKNOWN ([#​3578](seerr-team/seerr#3578)) - ([8f2ecee](seerr-team/seerr@8f2ecee)) - *(settings)* Allow trailing slash in YouTube URL ([#​3557](seerr-team/seerr#3557)) - ([e959062](seerr-team/seerr@e959062)) - *(slack)* Link notification settings labels to their fields ([#​3679](seerr-team/seerr#3679)) - ([886adac](seerr-team/seerr@886adac)) - *(subscriber)* Avoid savepoint collisions when completing requests ([#​3630](seerr-team/seerr#3630)) - ([31b100d](seerr-team/seerr@31b100d)) ##### 📖 Documentation - *(notifications)* Document missing fields on the remaining agent pages ([#​3611](seerr-team/seerr#3611)) - ([c167958](seerr-team/seerr@c167958)) - *(telegram)* Document the Thread/Topic ID and Embed Poster settings ([#​3550](seerr-team/seerr#3550)) - ([14ed03d](seerr-team/seerr@14ed03d)) - Clarify AI policy, add review times, update branch naming ([#​3636](seerr-team/seerr#3636)) - ([63f4663](seerr-team/seerr@63f4663)) - Add a warning about new contribution scope ([#​3595](seerr-team/seerr#3595)) - ([1406e6e](seerr-team/seerr@1406e6e)) - Fix backups menu ([#​3575](seerr-team/seerr#3575)) - ([2cfbcf8](seerr-team/seerr@2cfbcf8)) ##### 🧪 Testing - *(cypress)* Fix watchlist and manage panel flakes ([#​3675](seerr-team/seerr#3675)) - ([f80beb9](seerr-team/seerr@f80beb9)) - *(cypress)* Fix flaky keyword spec and keep only failure videos ([#​3649](seerr-team/seerr#3649)) - ([b4ea6e8](seerr-team/seerr@b4ea6e8)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update dependency ubuntu to v26 ([#​3638](seerr-team/seerr#3638)) - ([3153656](seerr-team/seerr@3153656)) - *(cypress)* Fix paths filter and bump github-action to v7.4.6 ([#​3648](seerr-team/seerr#3648)) - ([f288fff](seerr-team/seerr@f288fff)) - *(devenv)* Update dependencies ([#​3631](seerr-team/seerr#3631)) - ([6f63b08](seerr-team/seerr@6f63b08)) - *(docker)* Update node.js to v22.23.5 ([#​3711](seerr-team/seerr#3711)) - ([d19d50e](seerr-team/seerr@d19d50e)) - *(docker)* Update node.js to v22.23.4 ([#​3639](seerr-team/seerr#3639)) - ([0b27912](seerr-team/seerr@0b27912)) - *(git-cliff)* Add build type to miscellaneous tasks ([#​3640](seerr-team/seerr#3640)) - ([62ed636](seerr-team/seerr@62ed636)) - *(i18n)* Update translations from Weblate - ([854effb](seerr-team/seerr@854effb)) - *(i18n)* Update translations from Weblate - ([b4b85dc](seerr-team/seerr@b4b85dc)) - *(i18n)* Update translations from Weblate - ([381ce98](seerr-team/seerr@381ce98)) - *(i18n)* Update translations from Weblate - ([dca1af6](seerr-team/seerr@dca1af6)) - *(i18n)* Update translations from Weblate - ([1313800](seerr-team/seerr@1313800)) - *(i18n)* Update translations from Weblate - ([f88515b](seerr-team/seerr@f88515b)) - *(pr-validation)* Exempt maintainers by repo permission level ([#​3637](seerr-team/seerr#3637)) - ([f9fe7a9](seerr-team/seerr@f9fe7a9)) - *(release)* Prepare v3.5.2 - ([18a90b4](seerr-team/seerr@18a90b4)) - *(release)* Prepare 3.5.2 release - ([1889c6a](seerr-team/seerr@1889c6a)) - Migrate to gh actions-lock ([#​3632](seerr-team/seerr#3632)) - ([53299c1](seerr-team/seerr@53299c1)) - Add vulnerability report ([#​3587](seerr-team/seerr#3587)) - ([e00d685](seerr-team/seerr@e00d685)) ##### New Contributors ❤️ - [@​thirstyraven](https://github.com/thirstyraven) made their first contribution - [@​jkhsjdhjs](https://github.com/jkhsjdhjs) made their first contribution - [@​pattems](https://github.com/pattems) made their first contribution - [@​rpardini](https://github.com/rpardini) made their first contribution - [@​cplieger](https://github.com/cplieger) made their first contribution - [@​kinn81](https://github.com/kinn81) made their first contribution - [@​scottfridwin](https://github.com/scottfridwin) made their first contribution - [@​BBijaya](https://github.com/BBijaya) made their first contribution </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/745
Description
A media row could be left at UNKNOWN with its request still APPROVED, permanently blocking re-requests of the title.
This is caused by the per-item status ladder, not the orphan cleanup the issue pointed at. A movie present in Radarr but unmonitored with no file reset PROCESSING to UNKNOWN, and
processShowdid the same through the media rollup. Neither resolved the attached request, andMediaSubscriberignores UNKNOWN, so the request stayed APPROVED and the duplicate guard blocked the title with nothing in the UI to clear it.The decline now runs after every server has been scanned, reusing
declineOrphanedRequests. A title counts as abandoned only when the scan completed for that quality and no server reported it as processing, so an unmonitored copy on one server can't decline a request another server is still downloading. Sync-disabled and empty servers skip the decision, as orphan cleanup already does.For movies, the UNKNOWN reset moves to the same end-of-run pass, and an unmonitored fileless entry no longer overwrites the service columns on a PROCESSING row. That stops the status and service columns flapping with scan order. Two servers both processing a title is still last-writer-wins.
Only the Radarr and Sonarr scanners opt in via
declineRequestsOnStatusReset. Plex and Jellyfin reach the same season reset branch with no monitored signal, and scanners that don't opt in keep their existing behaviour.Follow-ups: the TV season and media status flap across servers, and resolving a single abandoned season without declining the whole request.
How Has This Been Tested?
via the three tests added:
processShowandprocessMovie, through a harness subclass.Each gate was checked by removing it and confirming its test fails.
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extractSummary by CodeRabbit
Summary