08a0157c95
调度页执行周期可视化/单次执行/分类选机/推送源对齐;登录 IP 门控与无缝导航; 服务器批量后台任务、执行记录、凭据合并、各页激活刷新与错误提示修复。 Co-authored-by: Cursor <cursoragent@cursor.com>
62 lines
2.6 KiB
Markdown
62 lines
2.6 KiB
Markdown
# Nexus — AI 接续(2026-06-08 · Linux)
|
||
|
||
> SSOT:`docs/project/nexus-functional-development-guide.md` · 门控 `bash deploy/pre_deploy_check.sh`
|
||
|
||
## 生产状态
|
||
|
||
| 项 | 值 |
|
||
|----|-----|
|
||
| 分支 | `main` @ **`3f995a7`** |
|
||
| 生产 | `https://api.synaglobal.vip` · Docker @ `/opt/nexus` · SSH `azureuser@20.24.218.235`(`ssh nexus`) |
|
||
| 最近部署 | 2026-06-08 — 全选筛选 + 脚本失败分组(`3f995a7`) |
|
||
|
||
## 本会话已完成(2026-06-07~08)
|
||
|
||
### 服务器列表(已部署 `c435413`)
|
||
- 分类 Chip 筛选、列表/分类分组视图、批量改分类(`POST /api/servers/batch/category`)
|
||
- 列排序修复(`sort_by`/`sort_order`)、Vuetify 分页中文 +「全部」多页拉取
|
||
- 脚本库 `ServerCategoryPicker` 按分类选机
|
||
- Excel 批量导入脚本 `scripts/import_servers_from_xls.py`(生产已导入 ~364 台)
|
||
- 门控 Gate3 强制本地 `NEXUS_TEST_BASE=http://127.0.0.1:8600`
|
||
|
||
### 脚本库(已部署 `5f63fb0`)
|
||
- 执行详情:状态中文化、服务器显示名称+域名
|
||
- 失败快速定位:默认「仅失败」筛选、展开输出、复制、跳转终端
|
||
- 批量执行状态面板:仅 `running`;终态自动移出
|
||
- **进度语义**:`success/total`(失败不计分子)— `script_execution_store.execution_progress_summary`
|
||
- 单测:`tests/test_script_execution_progress.py`
|
||
|
||
### 文档
|
||
- Changelog:`2026-06-08-servers-category-pagination-sort-deploy.md`、`2026-06-08-scripts-exec-detail-zh-server-name.md`
|
||
- Audit:`2026-06-08-servers-category-pagination-sort.md`
|
||
- 验证报告(未提交):`docs/reports/2026-06-08-servers-category-deploy-verification.md`
|
||
|
||
## 工作区状态
|
||
|
||
- **已推送**:`5f63fb0` 在 Gitea `main`
|
||
- **未提交**:`deploy/gate_log.jsonl`、大量 `web/app/assets/*` 构建残留(勿提交)、`.cursor/settings.json`、`venv`
|
||
- **用户终验待确认**:`#/servers` 分类/排序/分页全部;`#/scripts` 执行 #6 进度显示 `365/366` 类
|
||
|
||
## 常用命令
|
||
|
||
```bash
|
||
cd ~/桌面/Nexus # 或 $NEXUS_ROOT
|
||
bash scripts/start-dev.sh
|
||
bash scripts/local_verify.sh
|
||
bash deploy/pre_deploy_check.sh
|
||
bash scripts/git-push.sh main # push 凭据在 deploy/nexus-1panel.secrets.sh
|
||
bash deploy/deploy-production.sh # 需用户批准
|
||
```
|
||
|
||
## 铁律
|
||
|
||
- 单 Agent,改代码必 `docs/changelog/YYYY-MM-DD-*.md` + 部署前 `docs/audit/YYYY-MM-DD-*.md`
|
||
- 测试由 Agent 执行;用户只做终验
|
||
- 完美实现:`.cursor/rules/perfect-implementation.mdc`
|
||
|
||
## 可选后续
|
||
|
||
- 服务器列表「全选当前筛选结果」(非仅当前页)
|
||
- 脚本执行失败按错误类型分组 / 导出 CSV
|
||
- 更新本 handoff 为 SSOT 并归档 `AI-HANDOFF-2026-06-03.md` 引用
|