-
-
Notifications
You must be signed in to change notification settings - Fork 412
Feature/add force recheck watchlist #5270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Feature/add force recheck watchlist #5270
Conversation
Add a backend endpoint and UI control to clear stale watchlist errors
and retrigger the Plex import job on demand. Update the Angular watchlist
view to show progress while the recheck runs, and cover the new service
logic with unit tests to verify we only delete existing errors when
needed.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this 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 adds an admin "Force recheck" action for Plex watchlist functionality that clears existing watchlist errors and triggers an immediate import. The feature addresses issues where users experience authentication errors syncing their Plex watchlists.
- Adds a new API endpoint to clear watchlist errors and trigger job execution
- Implements a frontend button with loading state to trigger the recheck action
- Includes comprehensive unit tests for the new service functionality
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| PlexController.cs | Adds new admin endpoint for revalidating watchlist users |
| plex-watchlist.component.ts | Implements force recheck functionality with loading state |
| plex-watchlist.component.html | Adds UI button and progress bar for force recheck |
| plex.service.ts | Adds HTTP service method for revalidation API call |
| PlexService.cs | Implements core logic to clear watchlist errors |
| IPlexService.cs | Adds interface method for force revalidation |
| PlexServiceTests.cs | Adds unit tests for the new revalidation functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
src/Ombi/ClientApp/src/app/settings/plex/components/watchlist/plex-watchlist.component.ts
Show resolved
Hide resolved
|



📝 Description
Added an admin “Force recheck” action that clears Plex watchlist errors, triggers an immediate import, and tests the new service logic.
🔗 Related Issues
#5246 (comment)
🧪 Testing
📸 Screenshots (if applicable)
📋 Checklist
🎯 Type of Change
📚 Additional Notes
This change was AI assisted but reviewed and validated by me.