Test the live-photo hash check's error paths (closes #117)
check / check (push) Successful in 28s

Three downloadFile tests cover a live photo whose ZIP names an unknown
compression method, one whose ZIP has no image entry and one with no
video entry. Each checks that nothing is stored and the error names the
file ID; the unreadable ZIP is also checked not to be retried. Each test
fails when its check in livePhotoHasher is removed.

Model: opus-5-5
This commit is contained in:
clawbot
2026-09-23 04:19:37 +00:00
parent c19943a520
commit 77649ce266
2 changed files with 42 additions and 0 deletions
+4
View File
@@ -18,6 +18,10 @@ Tag v1.0.0.
# Completed Steps
- 2026-09-23: Tested the live-photo hash check's error paths (issue 117). Tests
download a live photo whose ZIP names an unknown compression method, one whose
ZIP has no image entry and one with no video entry, and check that nothing is
stored and the error names the file ID; the unreadable one is not retried.
- 2026-09-23: Checked downloaded originals against their recorded content hash
(issue 68). `downloadFile`, which `quak get`, the content cache and backup all
use, hashes the decrypted bytes (unkeyed BLAKE2b-512, standard base64) and