Files
Nexus/docs/reports/2026-06-08-unified-execution-records-deploy-verification.md
T
Nexus Agent 08a0157c95 feat: 调度表单重构、登录门控、批量任务与页面缓存对齐
调度页执行周期可视化/单次执行/分类选机/推送源对齐;登录 IP 门控与无缝导航;
服务器批量后台任务、执行记录、凭据合并、各页激活刷新与错误提示修复。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 11:17:21 +08:00

41 lines
1.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.
# 执行记录 + 服务器批量任务 — 生产部署验证(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(端点存在) |
## 用户终验
1. **Ctrl+Shift+R** 强刷
2. 侧栏应显示 **执行记录**(非「脚本看板」)
3. 打开 `#/executions` — 列表含「类型:脚本 / 服务器」
4. 服务器页批量操作(如检测路径)→ 完成后点通知 **查看详情** → 进入统一详情页
5. 审计日志 → 批量操作行 → **查看结果**
## 回滚
```bash
# 生产机
sudo docker restart nexus-prod-nexus-1
# 或 sudo nx update 从 git main 重建镜像(需先 push 代码)
```