feat(qaops): 完成流水表六项体验与AI执行修正
build / build (push) Successful in 1m11s

统一AI分析入口及双任务安全确认,采用全量载入的可见行渲染,保留完整原文。
右侧非模态详情固定五项质量字段,清理冗余展示并对齐查询和同步按钮。
默认4并发由数据库准入与逐任务租约保护,保留共享限流冷却、截断归因和有界重试。
兼容真实引用标题字段,不伪造证据或准确率,不修改源生产问答与公司区域规则。

验证:完整make verify退出0,710项Go通过、124项已声明可选跳过且必需0跳过;
另全量mirror隔离PostgreSQL race退出0,AI单元race退出0。
真实本地浏览器通过六项交互、390px内滚动及显式AI部分失败/零缺口故障夹具。
治理原生备份已真实恢复,schema57、72表计数与29张QA内容哈希一致。
候选镜像、精确提交CI与正式上线验收待本次提交后执行,不宣称已部署。
This commit is contained in:
姚章浩
2026-10-19 22:09:32 +08:00
parent 4a2b2b7d84
commit 9470a127f7
21 changed files with 754 additions and 209 deletions
+13 -1
View File
@@ -27,7 +27,7 @@ it('shows open-ended automatic queue counts without fabricating a percentage', (
query={{ start: '2026-10-05T00:00:00Z', end: '2026-10-12T00:00:00Z', keyword: 'executed-query', cursor: '' }}
/>
)
for (const value of ['补缺评估', '补缺中文翻译', '当前已执行筛选', '后台任务', '排队 2', '执行 1', '失败 1'])
for (const value of ['AI分析', '当前已执行筛选', '后台任务', '排队 2', '执行 1', '失败 1'])
expect(html).toContain(value)
expect(html).not.toContain('100%')
})
@@ -109,3 +109,15 @@ it('renders original evidence quotes, actual model/version and applied-versus-sk
])
expect(html).toContain(value)
})
it('uses one AI分析 entry for combined evaluation and Chinese translation', () => {
const html = renderToStaticMarkup(
<QAAIWorkbench
initial={status}
query={{ start: '2026-10-05T00:00:00Z', end: '2026-10-12T00:00:00Z', keyword: '', cursor: '' }}
/>
)
expect([...html.matchAll(/>AI分析<\/button>/g)]).toHaveLength(1)
expect(html).not.toContain('补缺评估')
expect(html).not.toContain('补缺中文翻译')
})