Supervisor health dashboard stale: 14d16h (#51)

Abierto
#141 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
bash, github, php

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
19
Forks
10
Merge medio
2 h 38 min
PR fusionados (30 d)
26

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Ultimate-Multisite/simple-comment-editing

Todos los issues de Ultimate-Multisite/simple-comment-editing

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.