diff --git a/scripts/check-all.mjs b/scripts/check-all.mjs index 5a493440..c124ed16 100644 --- a/scripts/check-all.mjs +++ b/scripts/check-all.mjs @@ -97,7 +97,7 @@ const ORDER = [ const ESTIMATE = { challenge: 30, stream: 173, chat: 160, studio: 149, manage: 145, runs: 112, publish: 92, shell: 87, - evidence: 91, versions: 60, catalog: 45, 'ui-kit': 70, ui: 61, guards: 8, 'canvas-layout': 2, copy: 2, tokens: 1, trace: 1, decode: 1, + evidence: 91, versions: 60, catalog: 110, 'ui-kit': 70, ui: 61, guards: 8, 'canvas-layout': 2, copy: 2, tokens: 1, trace: 1, decode: 1, // 占位,换成真检查时按实测改 schedules: 60, compare: 45, verify: 71, inquiry: 60, bundle: 16, whatif: 33, 'report-export': 30, } diff --git a/scripts/check-catalog.mjs b/scripts/check-catalog.mjs index 067130ef..709e77e2 100644 --- a/scripts/check-catalog.mjs +++ b/scripts/check-catalog.mjs @@ -1196,6 +1196,7 @@ await section('数据目录 · 起草:清单上的失败标记与单表重起 const note = page.locator('[data-catalog-last-draft]') check('打开这张表:写明上次起草失败和原因', await until(async () => (await note.count()) === 1) && (await note.innerText()).includes('上次起草失败') && (await note.innerText()).includes(FAIL), await note.innerText({ timeout: 500 }).catch(() => '')) + await shot(page, 'catalog-last-draft-detail') await note.locator('[data-catalog-redraft]').click() check('「重新起草这张表」:建只含这张表、用模型、不带补充说明的任务', await until(async () => !!lastBody(sent, /draft-jobs$/)) && JSON.stringify(lastBody(sent, /draft-jobs$/)) === JSON.stringify({ tables: ['orders'], use_model: true }), JSON.stringify(lastBody(sent, /draft-jobs$/)))