summaryrefslogtreecommitdiff
path: root/internal/processor/cli_config_resolver.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-18 07:37:47 +0300
committerPaul Buetow <paul@buetow.org>2026-06-18 07:37:47 +0300
commit3a5a04e006687044d01740974d0d1db72fe8c406 (patch)
tree7fddb8e8291a4c82fc5ef634ab0d1fdfffc4ec5a /internal/processor/cli_config_resolver.go
parent13be0e094685cab3433bde35e5106bfeea822141 (diff)
Add negative test for API circuit breaker trip/short-circuit
The apicircuit package already wraps all external API calls (OpenAI TTS, Gemini TTS, OpenAI image/DALL-E, and Gemini Nano Banana image generation) with sony/gobreaker circuit breakers. This adds the missing resilience regression test verifying the breaker opens after the configured number of consecutive failures and short-circuits subsequent calls with gobreaker.ErrOpenState without invoking the wrapped function. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/cli_config_resolver.go')
0 files changed, 0 insertions, 0 deletions