0f6f91e61a
Restore alert history filters and stats fields, paginate command/session logs for the SPA, show script labels on schedules, and land integration/E2E coverage with rebuilt web assets.
1.0 KiB
1.0 KiB
2026-06-08 Agent 401 停心跳 — 部署验证
部署信息
| 项 | 值 |
|---|---|
| Commit | 972456a feat(agent): 401 停心跳、配置重载后重启与升级双文件下发 |
| 门控 | 7/7 PASS |
| 方式 | deploy/deploy-production.sh |
生产检查
| 检查 | 结果 |
|---|---|
GET /health |
ok |
GET /app/ |
HTTP 200 |
GET /agent/heartbeat_policy.py |
HTTP 200,含 heartbeat_should_stop |
GET /agent/agent.py |
含 heartbeat_policy import、AGENT_VERSION |
子机 rollout(#7 · 用户/运维)
中心已提供新文件;各子机须批量「升级 Agent」 才会下载 agent.py + heartbeat_policy.py。
验收步骤(抽 1 台):
journalctl -u nexus-agent -f观察心跳- 临时改错
config.json中 central api_key → 应出现 一条 401 error 后不再重复 - 通过管理端修正 key 或
/config/reload→ 心跳应恢复
回滚
MySQL: /var/backups/nexus/nexus-before-upgrade-20260608-150632.sql.gz
镜像: nexus-prod-nexus:rollback