Skip to content

fix(watchlist-workflow): carry ratings into full-sync routing#1189

Merged
jamcalli merged 1 commit into
developfrom
fix/full-sync-routing-drops-ratings
May 30, 2026
Merged

fix(watchlist-workflow): carry ratings into full-sync routing#1189
jamcalli merged 1 commit into
developfrom
fix/full-sync-routing-drops-ratings

Conversation

@jamcalli
Copy link
Copy Markdown
Owner

@jamcalli jamcalli commented May 29, 2026

Description

Related Issues

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Performance improvement
  • Code refactoring
  • Documentation update
  • Dependency update

Testing Performed

Screenshots

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • My changes work with existing functionality

Summary by CodeRabbit

  • Bug Fixes
    • Watchlist synchronization now enriches show and movie items with additional rating information, including IMDb, Rotten Tomatoes (critic and audience scores), and TMDb ratings.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Walkthrough

The sync engine enriches watchlist items with rating data during the sync process. When building sync payloads for both shows (Sonarr) and movies (Radarr), the engine now includes imdb, rtCritic, rtAudience, and tmdb fields from the incoming item.ratings object.

Changes

Rating fields enrichment

Layer / File(s) Summary
Enrich sync items with rating fields
src/services/watchlist-workflow/orchestration/sync-engine.ts
sonarrItem for shows and radarrItem for movies are enriched with imdb, rtCritic, rtAudience, and tmdb rating fields sourced from item.ratings.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix(watchlist-workflow): carry ratings into full-sync routing' directly matches the changeset, which adds rating field enrichment to sync items in the watchlist workflow sync engine.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/full-sync-routing-drops-ratings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jamcalli jamcalli merged commit 8b54e35 into develop May 30, 2026
11 checks passed
@jamcalli jamcalli deleted the fix/full-sync-routing-drops-ratings branch May 30, 2026 00: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