Repository navigation
v0.0.5
What's New
Centralized Redis Pool (redis_pool.py)
- Shared Redis client builder reading
REDIS_HOST,REDIS_PORT,REDIS_PASSWORD,REDIS_SSLenv vars centrally - All Redis consumers (health, quota, MCP, cache, conversation affinity) now use the shared pool
- Health check distinguishes Redis authentication failures from connectivity issues
Leader-Gated Migrations (migrations.py)
prisma db pushgated behindROUTEIQ_LEADER_MIGRATIONSenv var- In HA mode, only the elected leader runs migrations; non-leaders wait via
asyncio.Event - Integrated into startup sequence
API Key Prefix Support (auth.py)
sk-riq-*key prefix viaROUTEIQ_KEY_PREFIXenv var (default:sk-riq-)- Accepts both prefixed and unprefixed keys for backward compatibility
Documentation
.env.exampleupdated with 7 new sections covering all previously undocumented env vars (SSRF, Redis advanced, cache plugin, routing telemetry, circuit breakers, key prefix, leader migrations)
Container Image
ghcr.io/baladithyab/routeiq:0.0.5
Multi-arch: linux/amd64 + linux/arm64
Stats
- 18 files changed, +1,641 / -45 lines
- 2,001 unit tests passing
- 66 new tests (16 redis_pool + 26 migrations + 24 auth prefix)