Supervisor health dashboard stale: 14d16h (#51)

Aperta
#141 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/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 ~/.aidevops/agents/scripts/stats-wrapper.sh manually to capture its error. Trace the failing setup or refresh path from those results; the issue does not name implementation files beyond the wrapper script. Done when the root cause is documented and dashboard issue #51 has a last_refresh: marker and a recent update.

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 #51 last refreshed 2026-10-21T03:54:42Z — 14d16h 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/simple-comment-editing/issues/51 --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 51 --repo Ultimate-Multisite/simple-comment-editing 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
19
Fork
10
Merge medio
2h 38m
PR unite (30g)
26

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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/simple-comment-editing

Tutte le issue di Ultimate-Multisite/simple-comment-editing

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.