Files
Nexus/docs/changelog/2026-06-07-servers-sync-logs-fix.md
T
Nexus Agent c8b0663508
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
feat: 批量IP添加、脚本库历史、推送权限记录与脚本SSH执行修复
批量添加替代CSV并支持去重;脚本库页内嵌执行历史;推送历史记录 rsync 权限策略;
脚本执行不再依赖 Agent 在线;服务器同步日志与相关单测补齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 03:15:40 +08:00

684 B
Raw Blame History

Changelog — 服务器详情同步日志修复

日期2026-06-07

摘要

修复服务器列表展开面板「同步日志」Tab 恒为空:前端误将 GET /api/servers/{id}/logs数组响应当作 { items: [] } 解析。

动机

用户反馈服务器列表同步日志缺失;API 契约为 response_model=listSPA 使用 res.items 导致始终 []

涉及文件

  • frontend/src/pages/ServersPage.vue

迁移 / 重启

仅前端静态资源;vite build 后部署。

验证

  1. 打开 #/servers,点击有推送记录的服务器行
  2. 切到「同步日志」Tab → 应显示路径与状态(非「暂无同步日志」)