08a0157c95
调度页执行周期可视化/单次执行/分类选机/推送源对齐;登录 IP 门控与无缝导航; 服务器批量后台任务、执行记录、凭据合并、各页激活刷新与错误提示修复。 Co-authored-by: Cursor <cursoragent@cursor.com>
1.3 KiB
1.3 KiB
执行记录 + 服务器批量任务 — 生产部署验证(2026-06-08)
部署方式
热更新 nexus-prod-nexus-1:docker cp + docker restart(未走 nx update 镜像重建)。
部署内容
- 统一执行记录 API
/api/execution-records - 服务器批量任务 MySQL 持久化
server_batch_jobs - 安装 Agent 自动生成 API Key
- 批量安装/升级/卸载后台任务
- 前端:侧栏「执行记录」、
#/executions、审计「查看结果」跳转
验证结果
| 项 | 结果 |
|---|---|
GET https://api.synaglobal.vip/health |
ok |
index.html bundle |
index-Bp2rGxzW.js |
容器内 execution_records.py |
存在 |
容器内 execution_record_service.py |
存在 |
容器内 server_batch_job_repo.py |
存在 |
GET /api/execution-records(无 token) |
401(端点存在) |
用户终验
- Ctrl+Shift+R 强刷
- 侧栏应显示 执行记录(非「脚本看板」)
- 打开
#/executions— 列表含「类型:脚本 / 服务器」 - 服务器页批量操作(如检测路径)→ 完成后点通知 查看详情 → 进入统一详情页
- 审计日志 → 批量操作行 → 查看结果
回滚
# 生产机
sudo docker restart nexus-prod-nexus-1
# 或 sudo nx update 从 git main 重建镜像(需先 push 代码)