real-debrid-downloader/src
Sucukdeluxe e80948df54 Fix disk-fallback in hybrid extract allowing partial files
Two bugs in findReadyArchiveSets disk-fallback:

1. Failed items were explicitly excluded from the blocking check
   (status !== "failed"), so partial downloads with "failed" status
   would not block extraction. Now ANY non-completed item blocks.

2. The disk size check was only > 10 KB, allowing 627 MB partial
   files of 1001 MB archives to pass. Now requires the file to be
   within one allocation unit of the item's expected totalBytes.

Added findItemByDiskPath helper to look up the owning item for a
file on disk and get its expected size.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 20:10:04 +01:00
..
main Fix disk-fallback in hybrid extract allowing partial files 2026-03-07 20:10:04 +01:00
preload Release v1.7.1 2026-03-07 03:52:41 +01:00
renderer Encrypted backup system + hide extracted items in package list 2026-03-07 16:44:21 +01:00
shared Encrypted backup system + hide extracted items in package list 2026-03-07 16:44:21 +01:00