Skip to content

Conversation

OwsleyJr
Copy link
Collaborator

@OwsleyJr OwsleyJr commented Jul 23, 2025

Description

Small PR that fixes a case where the DELETED status was being unintentionally overwritten. Also added download progress if a movie is processing after deleted:

  • When the media is marked as deleted but still exists in radarr/sonarr, the status was changing back to requested.
  • Download progress added to the deleted status badge.

Screenshot (if UI-related)

N/A

To-Dos

  • Successful build yarn build

Copy link

cypress bot commented Jul 23, 2025

overseerr    Run #2852

Run Properties:  status check passed Passed #2852  •  git commit 891a009996: fix: prevent the delete status from changing in certain scenarios
Project overseerr
Branch Review refs/pull/4198/merge
Run status status check passed Passed #2852
Run duration 02m 23s
Commit git commit 891a009996: fix: prevent the delete status from changing in certain scenarios
Committer Brandon Cohen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 28
View all changes introduced in this branch ↗︎

@OwsleyJr OwsleyJr force-pushed the fix/delete-status branch from 3571aea to 46f7d20 Compare July 23, 2025 14:38
…made"

refactor: remove parent remove change until later date

refactor: remove console log
Copy link

@Copilot 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 the DELETED media status was being unintentionally overwritten in the scanner logic. The change ensures that when media is marked as DELETED, the status is preserved even when the media still exists in radarr/sonarr or when all requests are removed.

  • Modified the status update condition to preserve DELETED status alongside AVAILABLE status
  • Prevents DELETED media from reverting to REQUESTED or UNKNOWN states inappropriately

@OwsleyJr OwsleyJr marked this pull request as draft July 23, 2025 15:28
fix: check if not processing first for movies
@OwsleyJr OwsleyJr force-pushed the fix/delete-status branch from 0a42860 to 891a009 Compare July 24, 2025 01:46
@OwsleyJr OwsleyJr changed the title fix: prevent the delete status from changing in certain scenarios fix: prevent the deleted status from changing when processing Jul 24, 2025
@OwsleyJr OwsleyJr marked this pull request as ready for review July 24, 2025 01:58
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