Skip to content

Comments

fix(base-scanner): fix PROCESSING status persisting for unmonitored seasons#2311

Merged
fallenbagel merged 1 commit intodevelopfrom
fallenbagel/fix/unmonitored-season-processing-status
Jan 18, 2026
Merged

fix(base-scanner): fix PROCESSING status persisting for unmonitored seasons#2311
fallenbagel merged 1 commit intodevelopfrom
fallenbagel/fix/unmonitored-season-processing-status

Conversation

@fallenbagel
Copy link
Collaborator

@fallenbagel fallenbagel commented Jan 18, 2026

Description

BaseScanner's fallthrough logic was preventing unmonitored seasons from resetting to UNKNOWN status. When SonarrScanner detected an unmonitored season, BaseScanner was preserving the existing PROCESSING status instead of resetting it.

This PR adds explicit logic to detect when a season is no longer being processed and resets the status to UNKNOWN, making it requestable again.

How Has This Been Tested?

(Not tested by me. Can be tested using :preview-unmonitored-season-processing
Steps to test:)

  1. Add a TV show to Sonarr with Season 1 monitored (no files)
  2. Run Sonarr scan. This should set Season 1 status to PROCESSING
  3. Now unmonitor Season 1 in Sonarr
  4. Run Sonarr scan. This should now properly set Season 1 status to UNKNOWN
  5. Verify whether season is now requestable in UI

Screenshots / Logs (if applicable)

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

…easons

BaseScanner's fallthrough logic was preventing unmonitored seasons from
resetting to UNKNOWN status.

fix #2310
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where seasons that become unmonitored in Sonarr would persist in PROCESSING status instead of resetting to UNKNOWN, preventing them from being requestable again.

Changes:

  • Added explicit logic to detect when a season is no longer being processed and reset its status to UNKNOWN
  • Applied the same fix symmetrically for both standard and 4k status handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fallenbagel
Copy link
Collaborator Author

You can use :preview-unmonitored-season-processing tag to test this.

@fallenbagel fallenbagel added the preview PRs deployed for testing with tag `:preview-prxx` label Jan 18, 2026
@fallenbagel
Copy link
Collaborator Author

fallenbagel commented Jan 18, 2026

Tested by the original reporter:
https://discord.com/channels/783137440809746482/1437440536523964426/1462488505480380542

And works

@fallenbagel fallenbagel added the bug Something isn't working label Jan 18, 2026
@fallenbagel fallenbagel merged commit bb2120c into develop Jan 18, 2026
21 checks passed
@fallenbagel fallenbagel deleted the fallenbagel/fix/unmonitored-season-processing-status branch January 18, 2026 17:32
0xSysR3ll pushed a commit to 0xSysR3ll/jellyseerr that referenced this pull request Jan 20, 2026
…easons (seerr-team#2311)

BaseScanner's fallthrough logic was preventing unmonitored seasons from
resetting to UNKNOWN status.

fix seerr-team#2310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working preview PRs deployed for testing with tag `:preview-prxx`

Projects

None yet

3 participants