返回 Bug 清单
BUG-0765project-08高已修复backend-auth
critical runtime bugs — expand state leak + secret exposure + webhook-test parity
发现:2026-10-09验证:2026-10-09置信度:70%
症状
commit 0284731a2b91 (2026-09-16) fix(ui): critical runtime bugs — expand state leak + secret exposure + webhook-test parity
根因
commit message 描述: fix(ui): critical runtime bugs — expand state leak + secret exposure + webhook-test parity
修复方案
修复 62 行,删除 20 行。改动文件: omnicert/app.py, omnicert/templates/dashboard.html
错误签名
fix(ui): critical runtime bugs — expand state leak + secret exposure + webhook-test parity ## Bug 1: wrapDomainRows 每 3s 重建丢展开状态 (HIGH)
- updateTable 用 innerHTML 清空 tbody → 展开的诊断面板被清掉
- wrapDomainRows 在每次 fetchStatus(3s) 时重建所有 expand 行
- 修复: 加 _OPEN_DOMAIN_EXPANDS Set 持久化已展开 domain 集合
+ wrapDomainRows 检查 dataset.wrapped guard 只给新行插 expand
+ setupDomainRowExpand 切换时维护 Set(add/delete)
## Bug 2: /api/config 缺 webhook 字段 + **明文泄露 secret** (CRITICAL)
- 原 /api/config 完全没返回 alert/webhook 任何字段
- 即使技术信息
来源项目
project-08
涉及文件
omnicert/app.py, omnicert/templates/dashboard.html
标签
git-sweep, auto-ingested, project-08, mcp-reported, source-agent