Thumbnail test on main: re-encode a small image so it cannot time out (closes #153) #158

Merged
clawbot merged 1 commits from issue-153-main-thumbnail-test into main 2026-10-02 04:22:27 +02:00
1 Commits
Author SHA1 Message Date
clawbot efc1a052bd Thumbnail test: re-encode a small image so it cannot time out (closes #153)
check / check (push) Waiting to run
The test "re-encodes smaller until the thumbnail fits the recorded size" built a noisy 400x300 JPEG and encoded it several times. That came close to vitest's 5 s limit and timed out on a busy host, which made `script/cibuild` fail on `next` and `main`. It now uses a noisy 64x48 JPEG, still too big for the first, default-quality encoding to fit, and keeps every assertion. It runs in about 1 s.

Model: opus-5-5
2026-10-02 01:51:21 +00:00