feat(ssa): Complete T-test end-to-end testing with 9 bug fixes - Phase 1 core 85% complete. R service: missing value auto-filter. Backend: error handling, variable matching, dynamic filename. Frontend: module activation, session isolation, error propagation. Full flow verified.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-19 20:57:00 +08:00
parent 8137e3cde2
commit 49b5c37cb1
86 changed files with 21207 additions and 252 deletions

View File

@@ -69,7 +69,7 @@ console.log('✅ CORS已配置: 允许所有HTTP方法 (GET, POST, PUT, DELETE,
// 注册文件上传插件
await fastify.register(multipart, {
limits: {
fileSize: 10 * 1024 * 1024, // 10MB
fileSize: 50 * 1024 * 1024, // 50MB(与前端提示一致)
},
});
console.log('✅ 文件上传插件已配置: 最大文件大小 10MB');
@@ -205,6 +205,13 @@ import { registerIitRoutes, initIitManager } from './modules/iit-manager/index.j
await registerIitRoutes(fastify);
logger.info('✅ IIT Manager Agent路由已注册: /api/v1/iit');
// ============================================
// 【业务模块】SSA - 智能统计分析
// ============================================
import { ssaRoutes } from './modules/ssa/index.js';
await fastify.register(ssaRoutes, { prefix: '/api/v1/ssa' });
logger.info('✅ SSA智能统计分析路由已注册: /api/v1/ssa');
// 启动服务器
const start = async () => {
try {
@@ -246,8 +253,8 @@ const start = async () => {
registerParseExcelWorker();
logger.info('✅ DC Tool C parse excel worker registered');
// 注册RVW审稿Worker
registerReviewWorker();
// 注册RVW审稿Worker(包含启动时清理卡住任务)
await registerReviewWorker();
logger.info('✅ RVW review worker registered');
// 注册IIT Manager Workers