circuitforge-core/tests/test_retry
pyr0ball b812943ed1
Some checks failed
CI / test (pull_request) Has been cancelled
feat(retry): add circuitforge_core.retry — standard backoff wrapper over backon
Standardizes retry/backoff behavior for cf-core modules and products that
make external calls, replacing ad-hoc per-product retry loops. Wraps
backon (MIT, zero stdlib deps) — chosen over tenacity/backoff per the
eval in #65 for native async support, circuit breaker/hedging primitives,
and a process-wide enable/disable toggle ideal for tests.

Ships the standalone wrapper only; wiring it into llm/affiliates/reranker/
activitypub is left as follow-up work per module rather than retrofitting
LLMRouter's existing fallback-chain error handling in the same change.

Bump to 0.22.0.

Closes: #65
2026-07-10 17:55:55 -07:00
..
__init__.py feat(retry): add circuitforge_core.retry — standard backoff wrapper over backon 2026-07-10 17:55:55 -07:00
test_retry.py feat(retry): add circuitforge_core.retry — standard backoff wrapper over backon 2026-07-10 17:55:55 -07:00