Commit graph

5 commits

Author SHA1 Message Date
mateo-berri
6db93a930f test(e2e): skip the override strategy cells and describe the 1s cooldown cache 2026-09-12 17:56:23 -07:00
mateo-berri
038a7c6ed7 test(e2e): widen the cooldown propagation window to 15s and trim the registry rows to the surface the cells drive
Replicas re-read cooldowns from Redis at most every 10s
(default_redis_batch_cache_expiry), so the 12s window left 2s of slack;
it is now 15s and the benched phase runs from 15s to 26s after the trip.

The reliability rows the new cells cover claimed exercised_on messages
too, but every cell drives /v1/chat/completions, so they now claim
chat_completions only. RouterSettingsOverride.timeout and
RouterCurrentValues.routing_strategy had no reader and are gone.
2026-09-05 03:07:56 -07:00
mateo-berri
7c85be2d5c test(e2e): route /router/settings to the control plane and keep the 429 and cooldown cells inside their windows
GET /router/settings is a management route, so the split transport now
sends it to the control plane instead of the data-plane gateway.

The rpm-1 key behind the 429 cells is spent right before the trip, after
the pair is registered, because the rate limiter's 60s window opens on
that request and the registrations' propagation waits could otherwise
outlast it. Recovery also accepts a 200 served by the benched deployment
itself, since its key's minute can be up by then.

The cooldown recovery deadline now counts from the last failure a stale
replica caused during propagation, because every failure re-arms the
cooldown TTL; the strict bench window stays anchored to the trip.
2026-09-04 22:53:50 -07:00
mateo-berri
b05bed288d test(e2e): make reliability cooldown and strategy cells hold across two replicas 2026-09-04 22:36:34 -07:00
mateo-berri
cb291b423e test(e2e): cover the reliability retry, cooldown, fallback, and routing-strategy cells 2026-09-04 20:00:52 -07:00