Repository navigation
Description
What happened
Running Complete Refresh on a series that an admin matched by hand, from a folder no provider matches on its own, removes it from the library and from Catalog Health → Unmatched Items. Only the Metadata Matcher queue still counts the folder (pending, no_candidates). The refresh job ends failed after its 60 s relink wait, and the next scan deletes the now-empty series. The folder comes back only when its match back-off ends (an hour, then a day, then parked) or when an admin presses Retry now in the Metadata Matcher, which nothing points them to.
For a folder that does have candidates, the old matched series stays listed with no seasons until the next scan, while the folder reappears as a new unmatched item.
Steps to reproduce
- Add a folder to a Series library that no provider matches, and wait for it in Unmatched Items.
- Match it by TVDB id (Match → Search by TVDB id → Apply Match).
- On the matched series, Manage → Refresh Metadata → Complete Refresh.
- Look at the library and Unmatched Items; run a library scan and look again.
Expected behavior
The folder stays visible and fixable: either the series is rebuilt, or the folder returns to Unmatched Items right away (#1249: "keep unmatched items visible and manually fixable").
Actual behavior
The folder is in neither the library nor Unmatched Items until its back-off expires or an admin uses Retry now.
Cause
prepareCompleteRefresh (internal/adminjob/item_refresh.go) clears the folder's file links. The scan re-queues the series root, but the queue upsert keeps the existing available_at (GREATEST(...) in internal/metadata/series_root_match_queue_repo.go:125), so a root already backed off as no_candidates isn't re-run. With nothing rebuilt, the job fails with errNoRebuiltContent and the empty item is removed at the next scan.
Silo version / commit
2970 · a16a24720 (local sandbox). Found during agent runtime testing for validation tasks #1250 (C2) and #1251 (C2). A remaining case of the closed #934, whose fix is in this build.
AI disclosure
- AI harness: Claude Code (in T3 Code).
- AI tools: GitHub CLI, Playwright.
- AI models:
claude-sonnet-5-5(testing),claude-opus-5-5(verification and this report). - AI involvement: fully AI-generated. No person has reproduced it yet; filed at the maintainer's direction.
- Independent review: a separate
claude-opus-5-5agent reproduced it on its own sandbox, confirmed Retry now restores the folder, and traced the cause above.
Filed with Claude Code (claude-sonnet-5-5 testing, claude-opus-5-5 verification) and GitHub CLI at the maintainer's direction.
Activity
Quick104 commentedon Nov 25, 2026
Same bug on Movies, from agent runtime testing for validation task #197 (AC2) on the same build:
GREATEST(available_at)ininternal/metadata/movie_match_queue_repo.go:117), so a fix limited to the series queue would leave Movies broken.Evidence: https://evidence.siloserver.org/r/silo-server/v1-validation-197/
Posted with Claude Code (claude-sonnet-5-5 testing, claude-opus-5-5 verification) and GitHub CLI at the maintainer's direction.