Files
getDomain/docs/ops_center_runtime/TASK_BOARD.md
2026-04-19 02:35:43 +08:00

145 lines
3.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TASK_BOARD
更新时间2026-04-19 02:33 CST
## 当前主批次
唯一主批次:`G1-检测总览口径统一批`
目标:
- 不进入新功能实现
- 不扩展控制面
- 只收口 Detect 页面“大陆明明在跑,但页面像没跑”的口径问题
## 本轮已完成
本轮完成了最小可见修复:
- `detect/job/active`
- 新增:
- `distributed_node_stats`
- `display_items_claimed`
- `display_items_running`
- `display_items_completed`
- `display_items_failed`
- `display_active_node_codes`
- `detect/queue-summary`
- 新增:
- `queue.display_claimed`
- `queue.display_running`
- `nodes` 已切到分布式显示口径
- `DetectView.vue`
- 已优先显示分布式口径
- 节点表格已优先显示 `distributed_node_stats`
## 当前结果快照
接口验证结果:
- `detect/job/active`
- `display_items_claimed = 34`
- `display_items_running = 14`
- `distributed_node_stats` 已包含:
- `mainland-controller-01`
- `mainland-worker-01`
- `overseas-control-01`
- `unassigned`
- `detect/queue-summary`
- `queue.display_claimed = 34`
- `queue.display_running = 14`
- `nodes` 已包含:
- `mainland-controller-01`
- `mainland-worker-01`
- `overseas-control-01`
- `unassigned`
运行侧证据:
- `mainland-controller-01`
- `runtime.pull_tasks`
- `job_id = 87`
- `status = success`
- 大陆 controller / worker 仍在执行中
## 当前结论
这轮已经把“Detect 页面看不出大陆参与”这个核心观感问题修掉了一大半。
现在的 Detect 页面口径变成:
- 中央原始账本仍保留:
- `items_total = 1000`
- `pending = 950`
- `claimed = 25`
- `running = 4`
- 页面展示口径新增分布式视角:
- `display_claimed = 34`
- `display_running = 14`
- 节点列表能直接看到大陆 controller / worker
## 当前唯一剩余问题
唯一剩余问题:
- 中央账本与分布式显示口径仍是“双轨”
这不是 bug而是当前架构现状
- 中央 `detect_job_items` 统计的是海外控制面原始派发账本
- 大陆拉批后的本地执行账本在 runtime / projection 侧
当前已经做到:
- 页面不再误判“大陆没跑”
但还没做到:
- 把两套账本真正收敛成一个最终一致的统一任务账本
## 候选批次
### Candidate H1
名称:检测账本统一设计批
进入条件:
- 用户确认下一轮继续深入“中央账本与分布式执行账本统一”
范围:
- 先设计统一账本规则
- 不直接大改执行链
- 明确 pull / ack / result sync 后中央账本应如何回写
### Candidate H2
名称Detect 页面文案微收口批
进入条件:
- 如果用户只想先把页面提示说清楚
范围:
- 在 Detect 页面明确标注:
- “中央账本视角”
- “分布式执行视角”
## 暂停项
继续暂停:
- 新页面
- 新模块
- 运维中枢增强
- 发布动作
- 与检测账本统一无关的工作
## 下一轮唯一动作
下一轮唯一应该继续做的事情:
- 明确中央 `detect_job_items` 与大陆 runtime 投影之间的统一账本策略