create: Checkpoint 2026-11-06 22:30:44 UTC [1aa46b30e7]

MemRelay-Operation: checkpoint-save:ckpt-host-agent-released-20261107-0631
MemRelay-Resource: 2d9e076c-8308-4850-8320-656be04a357d
This commit is contained in:
2026-11-07 06:30:47 +08:00
parent 3be638859b
commit 9d27d9676b
@@ -0,0 +1,40 @@
---
title: Checkpoint 2026-11-06 22:30:44 UTC [1aa46b30e7]
type: checkpoint
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/checkpoint-2026-11-06-22-30-44-utc-1aa46b30e7
stable_id: 2d9e076c-8308-4850-8320-656be04a357d
scope: project
memory_type: checkpoint
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-host-agent-released-20261107-0631
created_at: '2026-11-06T22:30:44.349889+00:00'
updated_at: '2026-11-06T22:30:44.349889+00:00'
tags:
- host-agent
- checkpoint
- release
---
# 宿主机代理与首页优化:已推送并发布生产
## 已完成
- 分支 feat/host-agent 已推送(3 个提交 f4d84ab 代理 / 8afff88 后端 / 72e4257 前端),未合并 main。
- 本地联调全部通过:pytest 130 通过 2 跳过;go test/vet 通过;前端 typecheck/smoke/build 通过;浏览器验证三种同步方式、首页零提示、不卡页面(截图 Temp/host-agent/screens)。联调中修复:自动识别回退直接修改时不再套用停止 NTP 选项(仅 direct 方式生效);模拟代理默认服务器改为 192.0.2.1;若干界面细节。
- 生产发布 metrix-app:72e4257(load/side/switch 脚本 Temp/prod/*-72e4257.sh),健康检查通过。
- 宿主机安装代理 0.1.0 并连接,令牌入密码库「Metrix 生产宿主机代理令牌」。首页四卡有真实数据。
- NTP 服务器保持 192.127.115.1;自动识别 iKuai x64;适配器 id=1 测试通过;开启同步开关;手动和自动同步各一次均 unchanged(偏差 47ms / 2ms),容器 SNTP 复核正常;chrony 与 iKuai 偏差微秒级。
- 脚本:Temp/prod/host_prod_api.py(status|detect|create-ikuai|test|enable|sync|session,登录读 .ssh-password)、host-records.sh(读同步记录 + chrony + 代理日志)、agent-install.sh + host_token_inside.py。
- CapacityReport 审查报告已完成:Temp/review/CapacityReport-代码审查报告.md(64 个问题)。
## 进行中 / 下一步
1. Metrix 全面代码审查(不含 plugins,只读)进行中,输出 Temp/review/Metrix-代码审查报告.md,编号 MX-xxx。完成后交用户审核,用户审核前不修复任何问题。可考虑把两份报告上传 MemRelay 文件仓储。
2. 本地 8131 实例的 index.html 引用的旧资源已被 11-06 的构建删除,页面打不开(接口正常),需要用户同意后重启 8131 才能用上新前端。
3. 生产 iKuai set_time + ntp.sync_now 真实修改路径尚未触发(偏差不到 1 秒),等 iKuai 自然漂移超过 1 秒后首页自动同步会触发,可用 host-records.sh 查看记录。
## 注意
- 不要主动拨偏 iKuai 时间;修改 iKuai 时间影响生产。
- 宿主机页签重新生成令牌会断开生产代理。
- 不提交 plugins/InterferenceETL 子模块指针。