Files
Nexus/docs/changelog/2026-06-06-api-audit-closure.md
T
Nexus Agent 722917bfc9 fix(api): API 全量巡检 B1–B6 修复 server_ids 上限与 pending 审计
限制健康检查/推送/脚本执行的 server_ids 规模,补齐 pending 重试失败与删除审计,并附分批巡检报告。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 23:57:46 +08:00

22 lines
672 B
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-06 — API 全量巡检 B1B6 closure
## 摘要
按 8 维清单完成 12 个 API 文件 ~122 端点巡检;修复 3 处 `server_ids` 无上限与 pending 审计缺口;0 P0/P1。
## 修复文件
- `server/api/schemas.py` — ServerCheck(50)、SyncFiles/SyncVerify/ScriptExecute(2000)
- `server/api/servers.py` — pending retry 失败审计、delete detail
- `tests/test_security_unit.py` — 回归用例
## 报告
`docs/reports/2026-06-06-api-audit-*.md` + [closure](docs/reports/2026-06-06-api-audit-closure.md)
## 验证
```bash
.venv/bin/pytest tests/test_security_unit.py tests/test_auth_refresh_reuse.py tests/test_credential_poller.py -q
```