fix(torrents): preserve per-file web-seed ownership

- use Aria2 per-file URI state for safe Torrent seed lifecycle updates
- preserve embedded and legacy web-seed baselines during explicit changes
- harden atomic replacement and retained cache cleanup across platforms
- execute Windows Torrent cache and web-seed regressions in CI
This commit is contained in:
NimBold
2026-08-19 12:11:09 +03:30
parent 78e9c9b80f
commit 9418aa5564
5 changed files with 652 additions and 111 deletions
+8
View File
@@ -75,6 +75,14 @@ jobs:
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test --test atomic_file --target ${{ matrix.target }} -- --nocapture
- name: Verify Windows Torrent cache safety
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test --lib --target ${{ matrix.target }} canonical_cache_round_trip_rejects_invalid_bytes_and_source_metadata -- --nocapture
- name: Verify Windows Torrent web-seed lifecycle
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test --lib --target ${{ matrix.target }} web_seed -- --nocapture
- name: Provision locked engines
if: runner.os != 'macOS'
run: node scripts/provision-engines.js --target ${{ matrix.target }}