feat(performance): WebSocket 批量进度订阅端点 + 项目详情实时进度条
- 后端新增 /ws/batch/{batch_id} 端点:订阅 perf_batch_{batch_id} 组,
连接时从 DB 推送当前批次状态快照,ping/pong 保活
- performance_service 新增 _broadcast_progress():同时推送全局 perf_batch
与批次专属 perf_batch_{batch_id} 两组
- 前端新增 createPerfBatchStream() WS 连接封装
- ProjectDetail.vue 批量执行实时进度条闭环(连接/刷新/完成自动刷列表/关闭断开)
- types/performance.ts PerfBatchProgress 补 partially_failed/cancelled 类型
- TaskList.vue 文案回归纯中文,仅保留 TPS/Error Rate 英文+中文
- 新增场景测试数据 burst_task.json / endurance_task.json + FieldTip 帮助组件
Co-Authored-By:
Claude <noreply@anthropic.com>
正在显示
No preview for this file type
backend/scripts/burst_task.json
0 → 100644
请
注册
或者
登录
后发表评论