Skip to content

Supervisor health dashboard stale: 2d19h (#1115) #1318

@superdav42

Description

@superdav42

Premise

The dashboard at #1115 last refreshed 2026-05-07T19:24:22Z2d19h ago (threshold: 2d0h). The stats-wrapper.sh scheduler is likely failing silently.

Why this matters

The supervisor health dashboard is the framework's primary single-glance health surface. When it stops refreshing, operators keep trusting green numbers that no longer reflect reality — every decision derived from "dashboard says green" becomes invalid.

Triage

  1. Inspect the stats scheduler status (macOS):

    launchctl list | grep -i aidevops-stats-wrapper
    tail -40 ~/.aidevops/logs/stats.log
    ls -la ~/Library/LaunchAgents/com.aidevops.aidevops-stats-wrapper.plist
  2. Run the refresh manually and capture the error:

    bash ~/.aidevops/agents/scripts/stats-wrapper.sh 2>&1 | tail -40
  3. Check the dashboard issue directly:

    gh api repos/Ultimate-Multisite/superdav-ai-agent/issues/1115 --jq '{updated_at, body_length: (.body|length)}'

Remediation

  • Missing plist: re-run setup.sh --non-interactive (or aidevops update) with PULSE_ENABLED=true so setup_stats_wrapper reinstalls com.aidevops.aidevops-stats-wrapper.plist.
  • set -euo pipefail fail: the post-t2418 wrapper emits HEALTH-DASHBOARD-FAIL exit=<N> on error. Grep stats.log on that prefix.
  • Body size / API error: inspect stats.log — look at gh HTTP errors and _update_health_issue_for_repo failures.

Acceptance

  • Root cause identified and documented on this issue.
  • gh issue view 1115 --repo Ultimate-Multisite/superdav-ai-agent shows an update within 24h of closing this alert.
  • last_refresh: marker is present in the dashboard body.

aidevops.sh v3.15.25 automated scan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-dispatchAuto-created from TODO.md tagorigin:workerAuto-created by pulse labelless backfill (t2112)priority:highHigh severity — significant quality issuereview-followupUnaddressed review bot feedback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions