Supervisor health dashboard stale: 7d6h (#798)

Đang mở
#2,083 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, github, php
Lĩnh vực
devops, observability

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
PHP
Star
218
Fork
88
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
94

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Ultimate-Multisite/ultimate-multisite

Tất cả issue của Ultimate-Multisite/ultimate-multisite

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.