plano/tests/e2e/configs
raheelshahzad 98bf02456a test: add property-based tests and integration tests for retry-on-ratelimit
Add 302 property-based unit tests (proptest, 100+ iterations each) and
13 integration test scenarios covering all retry behaviors.

Unit tests cover:
- Configuration round-trip parsing, defaults, and validation
- Status code range expansion and error classification
- Exponential backoff formula, bounds, and scope filtering
- Provider selection strategy correctness and fallback ordering
- Retry-After state scope behavior and max expiration updates
- Cooldown exclusion invariants and initial selection cooldown
- Bounded retry (max_attempts + budget enforcement)
- Request preservation across retries
- Latency trigger sliding window and block state management
- Timeout vs high-latency precedence
- Error response detail completeness

Integration tests (tests/e2e/):
- IT-1 through IT-13 covering 429/503 retry, exhaustion, backoff,
  fallback priority, Retry-After honoring, timeout retry, high-latency
  failover, streaming preservation, and body preservation
2026-03-08 18:45:19 -07:00
..
retry_it1_basic_429.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it2_503_different_provider.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it3_all_exhausted.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it4_no_retry_policy.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it5_max_attempts.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it6_backoff_delay.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it7_fallback_priority.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it8_retry_after_honored.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it9_retry_after_blocks_selection.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it10_timeout_triggers_retry.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it11_high_latency_failover.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it12_streaming.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00
retry_it13_body_preserved.yaml test: add property-based tests and integration tests for retry-on-ratelimit 2026-03-08 18:45:19 -07:00