Supervisor health dashboard stale: 7d6h (#798)

Aperta
#2,083 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, github, php

Direzione di ricerca

Start by checking the scheduler status and ~/.aidevops/logs/stats.log using the macOS or Linux commands in the issue, then run stats-wrapper.sh manually to capture its error. Trace the failure to the scheduler setup or dashboard update path, using setup.sh and the wrapper references named in the issue. Done means the root cause is documented and dashboard issue #798 has a recent update with a last_refresh: marker.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

no-auto-dispatch operator:superdav42 origin:worker priority:high status:available

Premise

The dashboard at #798 last refreshed 2026-10-28T13:55:49Z — 7d6h 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 / launchd:

    launchctl list | grep -i aidevops-stats-wrapper
    tail -40 ~/.aidevops/logs/stats.log
    ls -la ~/Library/LaunchAgents/com.aidevops.aidevops-stats-wrapper.plist
    

    Linux / systemd user timers:

    systemctl --user status aidevops-stats-wrapper.timer --no-pager
    systemctl --user status aidevops-stats-wrapper.service --no-pager
    systemctl --user list-timers --all --no-pager 'aidevops*'
    tail -40 ~/.aidevops/logs/stats.log
    ls -la ~/.config/systemd/user/aidevops-stats-wrapper.*
    
  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/ultimate-multisite/issues/798 --jq '{updated_at, body_length: (.body|length)}'
    

Remediation

  • macOS 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.
  • Linux missing or inactive systemd timer: re-run setup.sh --non-interactive (or aidevops update) with PULSE_ENABLED=true so the Linux scheduler setup reinstalls and enables aidevops-stats-wrapper.timer and aidevops-stats-wrapper.service under ~/.config/systemd/user.
  • 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 798 --repo Ultimate-Multisite/ultimate-multisite shows an update within 24h of closing this alert.
  • last_refresh: marker is present in the dashboard body.

aidevops.sh v3.39.119 automated scan.

Lingua principale
PHP
Stelle
218
Fork
88
Merge medio
1g 5h
PR unite (30g)
94

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Ultimate-Multisite/ultimate-multisite

Tutte le issue di Ultimate-Multisite/ultimate-multisite

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.