Troy Mitchell
|
388fbff8e6
|
common: add RetryPolicy proptest and YAML pattern tests
Add comprehensive tests for retry policy configuration:
- proptest: round-trip serialization, default invariants, status code
expansion (single, range, full range)
- YAML pattern tests covering 17 real-world configuration patterns:
multi-provider failover, same-provider model downgrade, backoff on
multiple error types, per-status-code strategy customization,
timeout-specific config, no-retry, backoff scopes (model/provider/
global), high-latency blocking, retry-after handling, fallback
models list, mixed integer and range codes
Signed-off-by: Troy Mitchell <i@troy-y.org>
|
2026-04-28 15:25:21 +08:00 |
|