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:
@@ -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/proto(grpc.server.ts 的 fallback 路径)
|
||||
|
||||
Reference in New Issue
Block a user