Repository navigation
perf(route-cache): resilient SQL circuit recovery after 12h soak - #838
Conversation
Production release follow-up — 2026-10-12Code merged to main: Production deployment NOT confirmed / BLOCKED: main CI 38284560087, deploy job failed in attempt 1 and attempt 2 after 5 lock-contention retries each: Safe operational follow-up, on production host (read-only): sudo lslocks -o PID,COMMAND,PATH | grep -F 'airradar-release.lock' || true
sudo fuser -v /var/lock/airradar-release.lock 2>&1 || true
ps -ef | grep -E '[r]elease.sh|[n]pm run build|[n]ext build'
systemctl status airradar.service --no-pagerDo not remove the lock file, kill the holder, or bypass Once the other holder completes and the production host is healthy, re-run failed jobs for main CI 38284560087, verify deploy job PASS, |
Why
The 12-hour Route Cache Production Soak V3 (2026-10-11 19:46Z to 2026-10-12 07:46Z, version 1.0.432 / e36f07b) recorded 680/721 valid samples, 41 diagnostic unavailability intervals, slow route-cache DB requests, frequent caller timeouts, and circuit breaker OPEN in roughly half the diagnostic samples. Values are from process-local recent samples, not SQL server-side execution latency. CPU/GC/event-loop were not measured.
Changes
Safety
No database migration, no credential change, no public API or SSE changes; optional cache remains fail-soft. Do not merge/deploy on CI alone: do DEV DB integration/performance validation and a gradual rollout before the next 12h production soak. Do not assert root cause of PostgreSQL latency based only on the sampled metrics.
Verification plan
npm run test:targeted -- tests/route-cache-inflight-timeout.test.ts tests/route-postgres-cache.test.ts tests/route-enrichment-telemetry.test.ts