Remove the content cache's handling of an earlier version's live-photo ZIP (closes #151) #152

Merged
clawbot merged 3 commits from issue-151-remove-old-livephoto-zip into next 2026-10-02 04:14:30 +02:00
3 Commits
Author SHA1 Message Date
sneak 02afdd6d09 Test that a reopened library precaches a live photo with no JSON file
check / check (push) Waiting to run
Reopening the library over a live photo's image and video in the cache
with no JSON file beside them records no original for the photo; the
precache then fetches both and writes the JSON file.

Model: opus-5-5
2026-10-02 01:16:55 +00:00
sneak 5d11889e1a Live photo download no longer removes what was at its destination
check / check (push) Failing after 47s
The image and video are renamed into place, and the rename already
replaces the image's name, so the removal and the test that planted a
ZIP there are gone, along with the comments describing it.

Adds a test for a live photo the content cache recorded with no video,
because it opened before knowing the file is a live photo while no JSON
file named its image and video: original() fetches both again and writes
the JSON file. The comment on that check now names this case.

Model: opus-5-5
2026-10-01 23:18:16 +00:00
sneak 44b2859877 Remove the content cache's handling of an earlier version's live-photo ZIP (closes #151)
check / check (push) Failing after 55s
quak keeps no handling of old data. The content cache no longer checks
whether a live photo's file with no JSON file naming it is a ZIP an
earlier version cached, and no longer removes it; such a file is left
alone, as any other one already was. The README sentences and the tests
about that ZIP are gone, and one download test no longer names it in its
title. How a live photo is stored and served today is unchanged.

Model: opus-5-5
2026-10-01 22:44:37 +00:00