From b4e1569cb8c80ad80b96d67afea3dcb291acbd7c Mon Sep 17 00:00:00 2001 From: Agent Workbench Dev Date: Wed, 4 Nov 2026 20:03:27 +0800 Subject: [PATCH] fix(qa): require 1.25.2 candidate before formal upgrade --- docs/RELIABILITY-1.25.2.md | 2 ++ scripts/reliability-formal-release.mjs | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/RELIABILITY-1.25.2.md b/docs/RELIABILITY-1.25.2.md index a783e397..b063a586 100644 --- a/docs/RELIABILITY-1.25.2.md +++ b/docs/RELIABILITY-1.25.2.md @@ -59,3 +59,5 @@ readBudgetPolicyVersion=3把多文件/原工件读取作为共享预算批次, 版本常量/package/lock同步1.25.2;通用源码/便携/安装/全UI验收入口补1.25.1/1.25.2和独立reliability证据前缀,避免默默跳过前版功能。升级兼容列表用显式受支持版本配当前版本测试守卫:封装检查发现便携副本没有src,已去掉upgrade-running对源码diagnostics的运行依赖,防止便携独立CLI失效;未知版本仍拒绝。 已补隔离Python310 venv+pytest8.4.2与固定Chromium浏览器,避免把环境缺失当豁免。源码网页预算诊断两视口10组通过,完整回归运行中。新X驱动、一次正式升级驱动及冻结计划已准备;只做语法检查,没有发送模型请求。阶段未完成不标交付。 + +接续复核发现正式升级驱动的候选清单/编译版本两处仍写1.25.1,已在任何正式操作前更正为1.25.2;起始宿主断言仍为1.25.1。源码1440任务余额、390上下文窗口截图实际回看,标题、原暂停数值、恢复入口与窄屏文字均可读,无横向溢出。 diff --git a/scripts/reliability-formal-release.mjs b/scripts/reliability-formal-release.mjs index 95f986a7..e82f1b3e 100644 --- a/scripts/reliability-formal-release.mjs +++ b/scripts/reliability-formal-release.mjs @@ -50,10 +50,10 @@ try { const before = read(path.join(root, 'state-before.json')); compareOriginalState(before, current); const candidate = read('releases/latest.json'); assert.equal(candidate.documentation.sourceCommit, sourceCommit, 'Candidate must be built from the reviewed HEAD.'); - assert.equal(read(path.join(candidate.portableRoot, 'MANIFEST.json')).version, '1.25.1'); - // Attempt 1 shipped a stale compiled APP_VERSION; refuse that before touching the formal host. + assert.equal(read(path.join(candidate.portableRoot, 'MANIFEST.json')).version, '1.25.2'); + // Reject a stale compiled version before touching the formal host. const served = /APP_VERSION\s*=\s*["']([0-9.]+)["']/.exec(fs.readFileSync(path.join(candidate.portableRoot, 'dist-server', 'server.mjs'), 'utf8')); - assert.equal(served?.[1], '1.25.1', 'Compiled server must report the candidate version.'); + assert.equal(served?.[1], '1.25.2', 'Compiled server must report the candidate version.'); if (mode === 'upgrade') { assert.equal(current.version, before.version); assert.deepEqual(read(path.join(installRoot, 'current.json')), read(path.join(root, 'pointer-before.json')));