v1.0.5-beta.012 - Harden issue matching logic, resolve infinite loops, and improve folder imports
This commit completely overhauls the fuzzy matching engine to use strict mathematical extraction, preventing false-positive downloads and infinite request loops across the automation pipeline.
Monitor & Automation Fixes:
- Replaced loose regex text matching with strict mathematical issue number extraction (parseFloat) to prevent volume numbers or release years from hijacking requests (e.g., preventing Vol 6 from matching a Vol 15 request).
- Added explicit filtering to reject Omnibuses, TPBs, Compendiums, and Collections when the system is actively searching for single issues.
- Fixed a critical array race-condition in the Cron auto-importer by immediately popping matched requests from the queue, completely eliminating the cascading infinite loop bug.
GetComics & Search Enhancements:
- Updated the GetComicsService fallback search to enforce the exact same strict mathematical validation and Omnibus-blocking rules as the primary Prowlarr service.
- Ensured interactive manual searches still bypass strict filtering to allow users to force-download specific or uniquely named files.
Importer & UI Improvements:
- Enhanced the Importer to automatically detect when a download client creates a folder instead of a raw file, diving into the directory to extract the largest valid comic archive for import.
- Updated the Admin Dashboard's live progress tracker to use the new mathematical matching logic, ensuring the UI accurately pairs active downloads to the correct pending requests.