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

140 lines
3.3 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:25 CST
## 当前主批次
唯一主批次:`F1-分布式检测实跑收口批`
目标:
- 不进入新功能实现
- 不扩展控制面页面
- 只确认“海外发起检测 -> 大陆 controller 拉任务 -> 大陆节点执行”已经真实跑通
- 收敛剩余唯一问题:控制面检测总览口径仍停留在旧活跃任务视图
## 当前结果快照
本轮新增完成:
- 已修复 `domaincheck-node-agent` 读取不到同步目标地址的问题
- 修复方式:
- `domaincheck-node-agent.service` 追加读取 `/etc/default/domaincheck-api`
- 新提交:`74dc009`
- 已在以下节点完成刷入与重启:
- `mainland-controller-01`
- `mainland-worker-01`
本轮关键验证:
- `mainland-controller-01`
- `runtime.pull_tasks`
- `job_id = 87`
- `status = success`
- `items_total = 50`
- `pull_state = success`
- controller 远端日志已确认:
- `job start: runtime.pull_tasks`
- `job complete ... ok=True`
当前节点执行状态:
- `mainland-controller-01`
- `agent_state = online_busy`
- `participation_state = running`
- `items_total = 200`
- `items_running = 5`
- `mainland-worker-01`
- `agent_state = online_busy`
- `participation_state = running`
- `items_total = 70`
- `items_running = 5`
- `overseas-control-01`
- `agent_state = online_busy`
## 当前结论
检测不是“没跑”。
当前真实状态是:
- 分布式检测执行链已经跑通
- 大陆 controller 已经能从海外控制面主动拉回待检测批次
- 大陆 controller 与 mainland worker 都已经进入执行中
当前未完全收敛的不是执行,而是统计口径:
- `/api/v1/detect/queue-summary`
- `/api/v1/detect/job/active`
仍主要显示旧的海外活跃任务统计:
- `overseas-control-01`
- `unassigned`
尚未把大陆侧“拉批后本地执行”的结果完整并回收到同一检测总览口径中。
## 当前唯一主问题
唯一主问题:`检测执行已跑通,但控制面检测总览仍是旧口径`
表现:
- `ops/nodes` 能看到大陆节点正在跑
- `runtime.pull_tasks` 已成功
-`detect/queue-summary``detect/job/active` 仍没有把大陆执行量体现在同一总览里
问题分类:
- 不是接管问题
- 不是环境问题
- 不是同步目标地址问题
- 是“检测总览聚合口径 / 运行态映射”问题
## 候选批次
### Candidate G1
名称:检测总览口径统一批
进入条件:
- 用户确认下一轮继续只收敛检测总览,不扩其他功能
范围:
- 复核 `detect job``ops/nodes` 的数据来源差异
- 明确大陆拉批执行应如何回写到统一检测总览
- 修复后再做一次检测实跑验证
### Candidate G2
名称:节点能力口径清理批
进入条件:
- 需要把节点展示中的 `capabilities` 与现网真实支持动作同步
范围:
- 只处理 `OPS_AGENT_CAPABILITIES` 的现网漂移
- 不碰检测链路主体
## 暂停项
继续暂停:
- 新页面
- 新模块
- 运维中枢增强
- 发布动作
- 与“检测实跑收口”无关的任何工作
## 下一轮唯一动作
下一轮唯一应该做的事情:
- 对齐 `detect/queue-summary``detect/job/active``ops/nodes` 三者的数据口径
- 明确为什么大陆执行已发生,但总览仍显示旧任务统计
- 修好后再跑一次小批量检测验证