3 Commits

Author SHA1 Message Date
wangdl
a621bd169d feat: 文档清理 + RAG Worker 迁移 + 批量操作 + HTTP 日志 + 学习会话修复
Some checks failed
Deploy API Server / build-and-unit (push) Successful in 41s
Deploy API Server / current-integration (push) Successful in 33s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / deploy (push) Failing after 57s
- 删除根 docs/ 中的 audit/issue 文档
- 删除 api-server/docs/ 中的 16 个审核/里程碑文档
- rag-worker/ 从 api-server 迁出为独立项目
- 新增 admin 导入批量重新解析、按知识库筛选、后端排序
- 新增 source 软删除标记,防止已删 source 重新解析
- 修复 upload-url 500(重复 UploadSession 创建 + 缺 sizeBytes)
- 修复 loadContextByScope 读 chunks 而非依赖 textLength
- 修复 MaterialReadingProgress.create() increment 语法错误
- 新增 LoggingInterceptor 记录所有 HTTP 请求
- 新增学习会话批量删除接口
- enrichWithNames 增加 email 回退
- 全局异常过滤器和 name-resolver 增强

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 22:44:36 +08:00
wangdl
ea3652f5f9 test: M-MEMBER-01-CLOSE-05B v2 真实 Service Integration
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 40s
Deploy API Server / current-integration (push) Successful in 32s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / deploy (push) Successful in 1m3s
走真实 NestJS Service、MySQL、Redis、Prisma:
- Transaction: 幂等(串行+并发)/跨账号绑定/原子事务回滚
- Notification: UUID 幂等/CAS 并发/lifecycle(DID_RENEW)/环境隔离/unknown type
- Quota: enforced 模式余额1并发5→1成功4超限/幂等/返还/超限拦截

Mock 仅 JWS Verifier, 其余全部真实
2026-06-27 13:34:22 +08:00
wangdl
47630f0b03 test: M-MEMBER-01-CLOSE-05B 会员核心 Integration 测试
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 40s
Deploy API Server / current-integration (push) Successful in 32s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / deploy (push) Successful in 1m5s
- Transaction: 幂等/跨账号绑定/原子性
- Notification: UUID 幂等/环境隔离/生命周期
- Quota: 并发/幂等/返还
- File/Storage: 创建/去重/删除
- Business Quota: 9 种额度类型

基于生产同步数据库实际 schema 验证
注: AppStoreTransaction/Notification 等表缺失 (M-MEMBER-01 迁移未执行到生产)
2026-06-27 13:13:06 +08:00