summaryrefslogtreecommitdiff
path: root/internal/processor/processor_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-02 21:42:33 +0300
committerPaul Buetow <paul@buetow.org>2026-04-02 21:42:33 +0300
commitdac35c77721c97f093a44d98164b38534452de9f (patch)
treef874d013b49026e31999cd30435936f579e4b46b /internal/processor/processor_test.go
parent9d258ee5ebe2773b477d553b62c0c67650a5a5cf (diff)
task 00m/00n/00b: remove dead stub, add interface assertions, fix HTTP timeout
- Remove dead DownloadImage stub from image/search.go (always returned nil, real implementation lives in Downloader.DownloadImage in download.go) - Add compile-time interface assertions for OpenAIProvider, ProviderWithFallback, and OpenAIClient to catch interface drift at compile time - Replace http.DefaultClient (no timeout) with a shared imageHTTPClient (60s timeout) in both OpenAIClient and NanoBananaClient Download methods; prevents goroutine hangs on slow/unresponsive image servers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor_test.go')
0 files changed, 0 insertions, 0 deletions