Supervisor health dashboard stale: 14d16h (#51)

未关闭
#141 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
bash, github, php

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
PHP
星标
19
派生
10
平均合并
2 小时 38 分钟
30 天内合并 PR
26

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Ultimate-Multisite/simple-comment-editing 的其他 Issue

查看 Ultimate-Multisite/simple-comment-editing 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。