feat(core-edu): v2 P3.14 考试实时事件 + pino 修复

新增 3 RPC:ExtendExam/ForceSubmitExam/ReorderExamQuestions

新增 3 Kafka 事件:exam.extended/exam.force_submitted/exam.question_reordered

exams.service.ts 新增 3 方法 + Outbox 事务内写入 + TOPIC_MAP 映射

grpc.server.ts 注册 3 handler + grpc-smoke 测试

logger.ts pino 导入修复(import pino → import { pino })

27/27 smoke test 通过
This commit is contained in:
SpecialX
2026-07-14 22:58:38 +08:00
parent aac26c7c6f
commit d11441c9a8
7 changed files with 471 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ COPY services/core-edu/src ./services/core-edu/src
# 安装依赖并构建
WORKDIR /app/services/core-edu
RUN pnpm install --frozen-lockfile
RUN pnpm install --no-frozen-lockfile
RUN npx tsc
# 复制 proto 文件到 /app/protogrpc.server.ts 的 fallback 路径)