From 0a113aeb79aed078ad8d7e929bcddc10e3b7ecc7 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 13 Jul 2026 06:08:40 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E6=88=90=20Monitor=20?= =?UTF-8?q?=E6=96=B0=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=9F=BA=E7=A1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../R2.6.2_Task_Report.md | 28 +++++++++++++++++++ .../web-sentinel-runtime-reliability.md | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 docs/MDTODO/details/web-sentinel-runtime-reliability/R2.6.2_Task_Report.md diff --git a/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.6.2_Task_Report.md b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.6.2_Task_Report.md new file mode 100644 index 00000000..d780b6e7 --- /dev/null +++ b/docs/MDTODO/details/web-sentinel-runtime-reliability/R2.6.2_Task_Report.md @@ -0,0 +1,28 @@ +# R2.6.2 任务报告 + +## 结论 + +- 已由 Artificer 在 [PR #1892](https://github.com/pikasTech/unidesk/pull/1892) 实现全新、未暴露的 Monitor workbench 资产和 central Monitor read model。 +- 精确交付 head 为 `b9f8aa756ea7168159ebc17f8db77aa9338b2c26`,合并 commit 为 `ab6bd84d061799756192b869e5f847e48e73e25f`。 +- 页面不复用旧 `monitor-web.js` / `monitor-web.css` 的页面骨架、状态聚合或补丁式样式;central Monitor API 是唯一业务数据入口。 + +## 主代理终审修订 + +- 修复 server 侧先分页再过滤、summary/finding 计数被页大小截断,以及客户端硬编码 `limit=100` 的问题。 +- URL 作为 sentinel/node/lane/status/from/to、run、tab 与 detail 的唯一客户端状态来源;非法 tab/status/time/encoding 显式失败。 +- `960x600` 下提供紧凑 node/lane 与 time-range 操作面板,不再隐藏关键筛选能力。 +- timeline、finding、artifact 和 diagnostic 使用语义化行与稳定详情面板;diagnostic 支持深链与原始数据查看。 +- `latestFailureAt` 只统计真实 `failed` 终态,不把 running/unknown 误记为失败;memory 与 PostgreSQL 查询语义一致。 +- cadence/freshness/health 只读取 owning YAML 投影到 central runtime metadata 的事实,缺失时显式 unavailable/degraded。 + +## 验证 + +- 主代理在精确 head detached worktree 复验:`21 pass / 0 fail`。 +- `verify-web-probe-sentinel-monitor-workbench.ts` 返回 `exposed=false`,覆盖 `1920x1080` 与 `960x600` 静态边界。 +- 三个浏览器模块通过 `node --check --input-type=module`;`git diff --check` 通过。 +- 新资产仍未注册生产路由,未提前切换 legacy SQLite authority。 + +## 后续边界 + +- R2.6.3 必须和 R2.5.3 Release B 一次完成:PG 迁移验证通过后注册新入口、删除旧 UI/query/dashboard/fallback/CSS,并完成 internal/public 原入口 web-probe 与截图验收。 +- CI/CD 只观察 PR merge 后自动链路,禁止手工 mirror、PipelineRun、GitOps 或 Argo 操作。 diff --git a/docs/MDTODO/web-sentinel-runtime-reliability.md b/docs/MDTODO/web-sentinel-runtime-reliability.md index e415929b..9e7f23c8 100644 --- a/docs/MDTODO/web-sentinel-runtime-reliability.md +++ b/docs/MDTODO/web-sentinel-runtime-reliability.md @@ -71,7 +71,7 @@ Release A 自动上线后通过受控 one-shot Job 完成 freeze/snapshot/import 在 [#1887](https://github.com/pikasTech/unidesk/issues/1887) 冻结新 Monitor 工作台的信息架构、central API view model、URL/deep-link 状态、1920x1080 与 960x600 布局和一次性替换边界,明确不复用旧页面级状态堆叠/补丁式 CSS,完成任务后将详细报告写入[任务报告](./details/web-sentinel-runtime-reliability/R2.6.1_Task_Report.md)。 -#### R2.6.2 [in_progress] +#### R2.6.2 [completed] 由 Artificer 按 [#1887](https://github.com/pikasTech/unidesk/issues/1887) 在独立 PR 实现全新 Monitor 页面组件、状态模型和样式,只消费 central Monitor API,覆盖筛选、timeline、详情、loading/empty/error/freshness 与刷新恢复,并运行最小前端定向测试,完成任务后将详细报告写入[任务报告](./details/web-sentinel-runtime-reliability/R2.6.2_Task_Report.md)。