mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Drives the real s3UploadService.uploadVideo for a generic (vhost-style) S3 connection with only the S3 I/O mocked, then feeds the published note's URLs into r2Service.deleteVideoStorage. Asserts the upload writes video + .thumb + .torrent, the note is valid (URL + magnet with info-hash), and cleanup deletes exactly those objects using a forcePathStyle-aware S3 client — i.e. the upload key and the cleanup-derived key agree (the parity property). Co-Authored-By: Claude Opus 4.8 <[email protected]>