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> |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||
| shared | ||