Skip to content

Reconciliate TV show status on new episodes - #472

Merged
devpro merged 2 commits into
mainfrom
feature/reconciliation-tvshow
Oct 28, 2026
Merged

devpro merged 2 commits into
mainfrom
feature/reconciliation-tvshow

Conversation

@devpro

@devpro devpro commented Oct 28, 2026

Copy link
Copy Markdown
Owner

No description provided.

devpro and others added 2 commits October 28, 2026 17:18
A forced sync spends far longer on movies, books, video games and albums than on TV,
so a reconciliation run at the end of the pass came after the admin page had stopped waiting for it.
It now runs inside ReferenceSyncService right after the TV domain, the one place both the background tick and "sync now" go through,
and a failure there is logged rather than costing the domains still to sync.
Tests pin the order, the rule on real MongoDB with a new season aired after the last watched finale,
and that the latest viewed episode is the furthest in season and episode order, never the most recent watch date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

@devpro
devpro merged commit dd0896c into main Oct 28, 2026
8 checks passed
@devpro
devpro deleted the feature/reconciliation-tvshow branch October 28, 2026 16:48
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