Commit Graph
2 Commits
Author SHA1 Message Date
clawbot 6572b3fe08 Test the 503 for a request waiting on a transcode stopped at a deadline
check / check (push) Waiting to run
A request that waited for another request's transcode, stopped at that
request's deadline, must get ErrProcessingTimedOut, which both image
routes answer 503. Declares that error so the tests build. Also tests
that Process, past its deadline before it starts, never reads its input.

Model: opus-5-5
2026-10-15 12:03:53 +00:00
clawbot 74ce122dc4 Test that Process stops once its deadline has passed
Process looks at its context only while it waits for a processing
slot, so a request whose deadline has passed, before Process starts or
while it reads its input, still has its image decoded and encoded while
it holds the slot. The new test fails until Process returns
context.DeadlineExceeded in both cases and gives the slot back
(#243).

Model: opus-5-5
2026-10-15 12:00:34 +00:00