722917bfc9
限制健康检查/推送/脚本执行的 server_ids 规模,补齐 pending 重试失败与删除审计,并附分批巡检报告。 Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
421 B
Markdown
18 lines
421 B
Markdown
# 2026-06-06 — API 巡检 B2(sync + 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
|
||
```
|