55af0c9d

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Make imported thumbnails non-optional (#28)

Tinybeans photo exports include thumbnail URLs in metadata, but they do not
include local thumbnail files on disk. Video exports do include thumbnail
files.

This change keeps photo thumbnail filenames distinct by parsing `blobs.t`, but
stops requiring a local photo thumbnail path during Tinybeans export parsing.
The importer still guarantees that every imported media entry has a thumbnail:
photos generate one from the original image and videos copy the exported
thumbnail file.

The tests now reflect the real export shape instead of creating synthetic photo
thumbnail files under testdata.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/28
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 32s 32s 34s
Build 2s 2m18s 57s 1m00s
Test - - - -
Deploy - - - -
Suite 0s 2m52s 1m00s 1m00s

Timeline

0s10s20s30s40s50s1m