Files
Nexus/docs/audit/2026-06-08-notify-toggle-inline-detail-deploy.md
T

32 lines
1.3 KiB
Markdown
Raw Normal View History

# 审计 — Telegram 开关多 Worker 同步 + 服务器行内详情展开
**Changelog**:
- `docs/changelog/2026-06-08-notify-toggle-multi-worker-sync.md`
- `docs/changelog/2026-06-08-servers-inline-detail-expand-fix.md`
## 变更文件
`server/config.py` · `server/infrastructure/settings_broadcast.py` · `server/utils/notify_toggles.py` · `server/api/settings.py` · `server/main.py` · `server/infrastructure/telegram/__init__.py` · `tests/test_notify_toggle_sync.py` · `frontend/src/pages/ServersPage.vue` · `frontend/src/components/servers/ServerUnsetPathPanel.vue`
## Step 3
| 项 | 结论 |
|----|------|
| NOTIFY_* 关闭后 Telegram 不发送 | PASShelper + 单测 9 开关) |
| 多 worker 热更新 | PASSRedis `nexus:settings` 广播) |
| WebSocket / alert_logs 仍记录 | PASS(仅 Telegram 门控,符合设置页文案) |
| expanded 与 item-value 数字 id 一致 | PASSnumber[] + computed 桥接) |
| 无静默吞错 | PASSbroadcast publish 失败打 warning |
## Closure
Gate 7/7 待跑 · pytest notify 31/31 · frontend build PASS
## DoD
- [x] Settings 关 CPU 告警 → 任意 worker 不推 Telegram
- [x] 点击服务器名称展开 ServerInlineDetail
- [x] 未设路径区块同样可展开
- [x] changelog ×2
- [ ] 生产 /health + 浏览器验收