v0.1.50 — feat: SLA monitoring & uptime tracking for generated products
Release v0.1.50: SLA Monitoring & Uptime Tracking
What Changed
- New uptime monitoring system with per-minute polling across all endpoints
- SLA dashboard at
/dashboard/uptimeshowing 30-day stats, response times, and incident tracking - Smart hysteresis logic that requires 2 consecutive failures before marking an endpoint down — prevents false alarms
- Sidebar badge showing real-time count of down monitors
- Monitor CRUD API with full RBAC (viewer/editor/admin) and project-scoped creation
- Time-series data retention with automatic 90-day pruning
Why It Matters
Generated products now have complete visibility into their availability. You can set SLA targets (95% / 99% / 99.5% / 99.9%), get alerted on failures, and track whether you're meeting commitments. No more black boxes.
Technical Notes
- New tables:
uptime_monitors(config),uptime_checks(time-series) uptimeCheckerCronruns every minute via Inngest- Slow responses (>3s) marked as "degraded" instead of "down"
- 40+ unit tests covering edge cases (no checks, all-up, degraded states, SLA breach detection)
- Zero breaking changes — purely additive
Release Notes
Merged PR #479 (feat: SLA monitoring & uptime tracking) via squash merge into main (commit 886465db). The release tag v0.1.50 already existed in the repository, so no new release object was created — the existing tag covers this version. The release delivers end-to-end SLA monitoring for generated products: new DB tables (uptime_monitors, uptime_checks), a full slaRouter (tRPC), an uptimeCheckerCron Inngest function (per-minute polling with hysteresis + degraded state), a /dashboard/uptime UI page, a sidebar nav entry with live down-monitor badge, and 40+ unit tests. Purely additive — no breaking changes.