Repository navigation
docs(autoscan): say a reported folder delete or rename now updates the library - #396
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Closes #331
The Autoscan guide said a renamed, moved, or deleted folder's old titles stay until the next full library scan, with Partial scan shown until then. Since Silo-Server/silo-server#3093 and Silo-Server/silo-server#3172, that's only true when nothing reported the change, or in ebook and comic libraries. When monitoring or an autoscan source reports it, the scan that follows cleans up.
Pages changed
What changed on each page
Keep libraries up to date
Worth checking: this section doesn't name the Sonarr On Series Delete and Radarr On Movie Delete triggers. #329 adds them to "Add a webhook source". Nothing here contradicts it: a title deleted with its folder leaves the library on the scan that follows the report.
Left out on purpose
docs/architecture/missing-files.md; a full scan shows Empty root guarded). That's a separate topic for "Files are missing" on Add and manage libraries, not specific to renames.scanner.file_removal_grace) and how the audiobook match works. The page gives the outcome and the 24-hour default.Evidence
Source reviewed, not tested on a live server or device: silo-server
ef2c24f9a(main), which includes #3093 (1649eef35c) and #3172 (08d1f4d0d1).internal/scanner/scanner.goscopeRootVanished: a scoped scan of a deleted folder whose parent still exists walks as empty, so its files are reconciled and no Partial scan warning is set.internal/scanner/audiobook_scan.gouses the same check.internal/scanner/ebook_scan.go: a missing scoped root is still a walk failure, so ebook and comic libraries keep the old entries and setpartial_walk(Partial scan).internal/scanner/audiobook_scan.gofindAudiobookDuplicate: a renamed book reuses its item only when author, narrator, and year are all present.docs/architecture/missing-files.mdcovers the 24-hour grace hold.internal/autoscan/arrwebhook/parse.go: rename events send both old and new paths, so a webhook source reports both sides.Needs a hands-on check: nothing beyond the server PRs' own verification.
Follow-ups
Risks
None identified. Documentation only.
Checklist
AI Disclosure
Note
Update autoscan docs: reported folder deletes and renames now update the library
Rewrites the old-titles section in autoscan.md. It now tells users to run a manual scan when old titles remain, and explains how a scan handles reported changes and when audiobook state is kept.
Macroscope summarized a0a3611.