fix: auto-project mainland detect sync
This commit is contained in:
66
docs/ops_center_runtime/HANDOFF_20260419_0257.md
Normal file
66
docs/ops_center_runtime/HANDOFF_20260419_0257.md
Normal file
@@ -0,0 +1,66 @@
|
||||
# HANDOFF 2026-04-19 02:57
|
||||
|
||||
## 本轮新增完成
|
||||
|
||||
在上一轮“中央可接收并落库逐条事件”基础上,这一轮又补了最后一个自动触发点:
|
||||
|
||||
- `app.sync_agent` 每个 tick 会自动产出 `detect_result_projection`
|
||||
- 不再依赖有人去访问 mainland 检测页面
|
||||
|
||||
## 当前真实判断
|
||||
|
||||
当前看到的中央证据是:
|
||||
|
||||
- `mainland-controller-01` / `mainland-worker-01` 心跳正常
|
||||
- `runtime_ingest.updated_at` 已刷新到 `2026-04-19 02:55:36`
|
||||
- `detect_result_ingest.updated_at` 仍停留在 `2026-04-17 16:57:32`
|
||||
- `detect_run_events` 里仍没有 mainland `domain_*`
|
||||
|
||||
这说明:
|
||||
|
||||
- mainland 同步链是活的
|
||||
- 但 अभी还没有跑到“自动产 detect_result_projection”的新代码
|
||||
|
||||
## 这轮后的唯一剩余动作
|
||||
|
||||
现在只剩一个最小外部动作:
|
||||
|
||||
1. mainland 相关节点拉最新代码
|
||||
2. 重启 `domaincheck-sync-agent`
|
||||
|
||||
建议最小命令:
|
||||
|
||||
```bash
|
||||
systemctl restart domaincheck-sync-agent
|
||||
sleep 3
|
||||
systemctl status domaincheck-sync-agent --no-pager -l
|
||||
journalctl -u domaincheck-sync-agent -n 80 --no-pager
|
||||
```
|
||||
|
||||
如果 service 名不是这个,再按机器当前实际 service 名执行。
|
||||
|
||||
## 重启后我下一轮只查什么
|
||||
|
||||
下一轮只查这 3 件事:
|
||||
|
||||
1. 最新 `detect_result_ingest.payload.projection.recent_domain_events` 是否非空
|
||||
2. `detect_run_events` 是否出现 mainland `domain_started/domain_completed/domain_failed/domain_blacklisted`
|
||||
3. `detect/job/active` 的 `recent_events` 是否开始出现 imported mainland 逐条事件
|
||||
|
||||
## 继续不要做什么
|
||||
|
||||
- 不做 item 级最终回写
|
||||
- 不做新页面
|
||||
- 不做控制面增强
|
||||
- 不做发布动作
|
||||
|
||||
## 推荐模型与推理等级
|
||||
|
||||
继续推荐:
|
||||
|
||||
- `GPT-5.4`
|
||||
- `high`
|
||||
|
||||
## 一句话结论
|
||||
|
||||
现在代码链路已经补到“mainland 拉新并重启 sync agent 后就该自动把逐条结果送进中央”;下一轮只差验证真正贯通。
|
||||
Reference in New Issue
Block a user