You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
investigate: perform_fleet_health_check stops refreshing data for most agents (#669 root cause) #675
Split from #669 (which patched the 500 symptom). The underlying cause of the stale 24h rollups remains unfixed: in production, services/monitoring_service.py:perform_fleet_health_check was last refreshing 8 of 9 agents months ago (last refresh 2026-02-23 to 2026-04-28), while only one agent (competitor-analyzer) was getting fresh data on the expected interval.
#669 closes the user-visible 500 by coercing NULL status rows to "unknown" and wrapping the aggregator in try/except. That degrades gracefully — but agents still show stale data because the scheduled fleet check is not actually running for most of them.
Hypothesis space
Silent exception in the per-agent loop kills the rest of the fleet.perform_fleet_health_check may iterate without per-agent isolation, so one agent's failure short-circuits the whole pass.
Monitoring service is_running flag flipped off without restart visibility. Check /api/monitoring/config history.
Scheduler interval drift / coroutine cancellation that nobody noticed.
Agents created after a certain date never got registered with the monitoring loop (registration only at startup vs. on-create).
Asks
Pull production scheduler / monitoring-service logs around the stalest refresh timestamps (2026-02-23, 2026-03-04, 2026-03-19, 2026-04-28).
Confirm whether perform_fleet_health_check wraps each agent in its own try/except — if not, add isolation.
Add structured log line per fleet-check pass with agent count + per-agent outcome so this is observable next time.
Audit registration path: does adding/restarting an agent re-register it with the monitoring service?
Activity
fix(monitoring): degrade fleet-status to 'unknown' instead of 500 on …
fix(monitoring): health-check the whole fleet, not just running agents (
docs(feature-flows): sync flows with recent merges (#857, #860, #865, #…
vybe commentedon Jun 1, 2026
Shipped in v0.6.0 (released via #998).
Release: v0.6.1 (#1171)