real-debrid-downloader/tests
Sucukdeluxe 51a01ea03f Use bulk IInArchive.extract() for ~8x faster extraction, fix archive item resolution
- Replace extractSlow() per-item extraction with IInArchive.extract() bulk API
  in 7-Zip-JBinding. Solid RAR archives no longer re-decode from the beginning
  for each item, bringing extraction speed close to native WinRAR/7z.exe (~375 MB/s
  instead of ~43 MB/s).

- Add BulkExtractCallback implementing both IArchiveExtractCallback and
  ICryptoGetTextPassword for proper password handling during bulk extraction.

- Fix resolveArchiveItemsFromList with multi-level fallback matching:
  1. Pattern match (multipart RAR, split ZIP/7z, generic splits)
  2. Exact filename match (case-insensitive)
  3. Stem-based fuzzy match (handles debrid service filename modifications)
  4. Single-item archive fallback

- Simplify caching from Set+Array workaround back to simple Map<string, T>
  (the original "caching failure" was caused by resolveArchiveItemsFromList
  returning empty arrays, not by Map/Set/Object data structure bugs).

- Add comprehensive tests for archive item resolution (14 test cases)
  and JVM extraction progress callbacks (2 test cases).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 06:24:12 +01:00
..
app-order.test.ts Release v1.6.18 2026-03-04 17:31:20 +01:00
auto-rename.test.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
cleanup.test.ts Fix test suite: await async calls, update status expectations, add timeouts 2026-03-03 20:23:57 +01:00
container.test.ts Release v1.4.35 with 413 handling for both dcrypt endpoints 2026-03-01 02:00:52 +01:00
debrid.test.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
download-manager.test.ts Fix test suite: await async calls, update status expectations, add timeouts 2026-03-03 20:23:57 +01:00
extractor-jvm.test.ts Use bulk IInArchive.extract() for ~8x faster extraction, fix archive item resolution 2026-03-05 06:24:12 +01:00
extractor.test.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
integrity.test.ts Release v1.4.27 with bug audit hardening fixes 2026-02-28 14:12:16 +01:00
link-parser.test.ts Release v1.4.31 with full bug-audit hardening 2026-03-01 00:33:26 +01:00
mega-web-fallback.test.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
realdebrid.test.ts Release v1.4.27 with bug audit hardening fixes 2026-02-28 14:12:16 +01:00
resolve-archive-items.test.ts Use bulk IInArchive.extract() for ~8x faster extraction, fix archive item resolution 2026-03-05 06:24:12 +01:00
self-check.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
session-log.test.ts Comprehensive bugfix release v1.6.45 2026-03-05 03:53:28 +01:00
storage.test.ts Add session backup restore and release v1.4.68 2026-03-01 20:13:16 +01:00
update.test.ts Fix updater GetUserByName error, mask backup credentials, clean up old scripts 2026-03-05 01:20:57 +01:00
utils.test.ts Release v1.4.27 with bug audit hardening fixes 2026-02-28 14:12:16 +01:00