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

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:51:31 +00:00
committed by sneak
parent 4bb75ca323
commit d5d7908ff6
2 changed files with 43 additions and 0 deletions
+5
View File
@@ -18,6 +18,11 @@ 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: `quak logout` ends the session on the server (issue 108). It calls
`POST /users/logout` through the new `Client.logoutOnServer()`, then deletes
`session.json` even when that call fails, says so and exits 1. It prints the