fix(code-review): 修复走查发现的 13 High + Medium 安全/可靠性问题 #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "test/calendar-ui-manual-testing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
概述
应用 ce-debug skill 修复 open-code-review 走查发现的 13 High + Medium 问题(8 High 代码 + 5 High 文档 + 17 Medium)。
代码修复(8 High + 9 Medium)
文档修复(5 High + 6 Medium)
新增测试
tests/unit/calendar/test_calendar_tool.py— ponytail 自检断言(偏移量边界 / 渠道白名单 / 渠道类型)验证
ruff check(5 文件) — All checks passedvue-tsc --noEmit— exit 0, 无 TypeScript 错误git stashbaseline 验证 — portal 17 个 401 失败为预存在问题已知限制(预存在,非本 PR 引入)
tests/unit/server/test_portal_routes.py假设无 JWT 即可访问/api/v1/portal/*,但路由实际要求认证。已通过 baseline 验证确认与本次修复无关后续建议
_MAX_CONNECTIONS_PER_USER = 16下沉到 AuthMiddleware 统一连接管理器Pull request closed