[moz] feat(daemon): 停摆误报免疫四项:last_tick_at + INFO 心跳 + 外部 watchdog 断言 + Zombie 告警降噪 #133
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
2026-09-02 夜间「daemon 停摆 8h」为 UTC/本地时区误读的假警报(复盘:
docs/incidents/2026-09-02-daemon-ticker-stall.md,PR #131)。服务全程健康,但误报链条横跨 3 个环节(cron 巡检 → 庞统转发 → 初步调查),耗时约 8 小时+多个 agent 上下文。复验记录:庞统 05:24 独立复验 tick_count 18330→18331(35s +1)、events 最新 tick 为查询前 8 秒写入,与姜维结论一致。
预防项(姜维提议,庞统 2026-09-03 立项)
/api/daemon/status加last_tick_at字段,显式本地时间(或带时区标注)——巡检 30 秒内可自证排除_mailstale 告警降噪——stale=20 tick(≈10 分钟)凌晨无邮件必报(09-01 也误报过),建议仅在「有 pending request 邮件」时才告警验收
assign 姜维(提议人+模块维护者),排期与丞相/主公确认。