Open
Conversation
Collaborator
Author
|
Release Notes WIP 🚀 New: Parallel Metadata Scans + Better Job ErrorsThis release introduces a new parallel metadata scanner and much better error visibility for both scan and thumbnail jobs. 🧠 New parallel metadata writer for SCAN jobs
You can see these details directly in the Job History UI.
This gives you control over performance vs. resource usage, instead of baking in a fixed parallelism strategy. 🖼 Thumbnail job error details
📊 Job History UI upgrades
Overall, scans should be faster on larger libraries, and when something goes wrong, you’ll have much clearer insight into exactly what and why. |
# Conflicts: # app/services/scanner.py
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.
Summary
This PR introduces a new parallel metadata writer for SCAN jobs and adds rich error reporting for both SCAN and THUMBNAIL pipelines, along with UI support in the admin Job History page.
The goals are:
Key Changes
🧠 New parallel metadata writer (SCAN)
Implemented a dedicated metadata writer process that:
Introduced a structured
error_detailslist for SCAN jobs, containing per-file failures:file_pathmessageExample SCAN job summary:
{ "imported": 10, "updated": 5, "errors": 2, "skipped": 0, "error_details": [ { "file_path": "/path/to/bad.cbz", "message": "Missing ComicInfo.xml" }, { "file_path": "/path/to/other.cbz", "message": "Failed to parse metadata" } ] }