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

Merged
clawbot merged 1 commits from issue-153-small-thumbnail-image into next 2026-10-02 03:49:24 +02:00
1 Commits
Author SHA1 Message Date
clawbot cfc4840b57 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, which took close
to the 5 s test limit and timed out on a busy host. It now uses a noisy
64x48 JPEG. The recorded size is still one byte less than the default
quality-50 encoding, so the first encoding still cannot fit and the test
still proves that quak re-encodes smaller until it fits. Every assertion
is unchanged.

Model: opus-5-5
2026-10-01 23:57:43 +00:00