Files
Nexus/docs/changelog/2026-06-06-api-audit-b2-sync-files.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

18 lines
421 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 巡检 B2sync + files)修复
## 摘要
审计 sync_v2 / files / 路径校验模块;为 `SyncFiles``SyncVerify``server_ids` 增加 2000 上限,防止超大列表资源耗尽。
## 涉及文件
- `server/api/schemas.py`
- `tests/test_security_unit.py`
- `docs/reports/2026-06-06-api-audit-b2-sync-files.md`
## 验证
```bash
.venv/bin/pytest tests/test_security_unit.py -q
```