fix: validate historical UI flows against the selected package version
This commit is contained in:
@@ -29,3 +29,11 @@
|
||||
四类工程14节点通过,Node8/8、React9/9、Python10/10及自身模块9/9均保留原失败和候选原检查;父工程必须重新检查并完成精确范围Git,不能把子工程通过直接当父交付。React两视口各12步实际操作,依赖安装由QA显式执行并保留人工动作。
|
||||
|
||||
自身原汇总函数把已经执行但未封存报告的状态算作pending;固定9测试原版4失败,候选9通过,已将相同修复合入主仓并保留原提交/模块SHA。此次证明模块修复与采纳机制,未运行真实模型推理或全仓自改;自身仓库超过现有快照边界,保持边界并改用明确模块,不放宽上限。
|
||||
|
||||
## F 候选回顾
|
||||
|
||||
完整UI回归核对包与运行服务的实际版本,拦住仅更新package版本而遗漏APP_VERSION的问题。修复89f4748并在编译验收中加入包/服务身份一致性断言;第一次冻结97bf5ed和失败报告保持,新冻结415输入/22构建/40基准另行核对。自动打包遇失败即停,没有把前3/5组局部通过当最终发行成功。
|
||||
|
||||
升级前原生1.19实际窗口已回看并封存,原项目/历史预算提示及空输入保留。只关闭客户端窗口后,后台PID36552、hasKey=true及17项目仍在,活动为空;未运行用户模型或变更任务。正式数据计数仍需在实际升级前重新做完整快照,不沿用屏幕可见会话数或历史数字。
|
||||
|
||||
第二次全UI整轮在多文件变更集旧脚本处拒绝:服务实际1.20.0正确,但脚本白名单仅到1.19。原15类120组已通过结果及原失败日志按原字节保存,未计为完整成功;改为直接核对随脚本的package版本,同时对上下文验收采用相同检查,防止继续手工追加版本。原89f4748冻结单独保留,最终QA输入重新提交/冻结/整轮复验。归档后尝试核对所属旧QA宿主时进程已退出,原脚本因此拒绝;随后复核确已不在,不向旧PID发信号,未触碰正式宿主。
|
||||
|
||||
@@ -34,7 +34,7 @@ child.stdout.on('data', value => { output += value; for (const line of output.sp
|
||||
child.stderr.on('data', value => { errors += value; });
|
||||
const wait = async predicate => { const deadline = Date.now() + 15000; while (!await predicate()) { if (Date.now() > deadline) throw new Error('UI fixture timed out: ' + errors); await new Promise(resolve => setTimeout(resolve, 40)); } };
|
||||
await wait(() => url); const bootstrap = await (await fetch(url + '/api/bootstrap')).json();
|
||||
assert.ok(['1.4.0', '1.5.0', '1.5.1', '1.6.0', '1.6.1', '1.6.2', '1.7.0', '1.8.0', '1.9.0', '1.10.0', '1.10.1', '1.11.0', '1.12.0', '1.12.1', '1.13.0', '1.14.0', '1.15.0', '1.16.0', '1.17.0', '1.18.0', '1.19.0'].includes(bootstrap.version)); assert.equal(bootstrap.config.mode, 'demo'); assert.equal(bootstrap.config.hasKey, false);
|
||||
assert.equal(bootstrap.version, JSON.parse(fs.readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version, 'The UI host must match this package version.'); assert.equal(bootstrap.config.mode, 'demo'); assert.equal(bootstrap.config.hasKey, false);
|
||||
const proofPrefix = releaseEvidencePrefix(bootstrap.version) + '-batch';
|
||||
const screenshotPrefix = bootstrap.version === '1.4.0' ? '1.4-batch' : proofPrefix;
|
||||
const api = async (route, input) => { const response = await fetch(url + '/api' + route, { method: input === undefined ? 'GET' : 'POST', headers: { 'Content-Type': 'application/json', 'X-Workbench-Token': bootstrap.token, Connection: 'close' },
|
||||
|
||||
@@ -77,7 +77,7 @@ child.stderr.on('data', bytes => { errors += bytes.toString('utf8'); });
|
||||
const until = async predicate => { const deadline = Date.now() + 20000; while (!await predicate()) { if (Date.now() > deadline) throw new Error('Context UI fixture timeout: ' + errors); await new Promise(resolve => setTimeout(resolve, 40)); } };
|
||||
await until(() => url || child.exitCode !== null); assert.ok(url, errors);
|
||||
const bootstrap = await (await fetch(url + '/api/bootstrap', { headers: { Connection: 'close' } })).json();
|
||||
assert.ok(['1.5.0', '1.5.1', '1.6.0', '1.6.1', '1.6.2', '1.7.0', '1.8.0', '1.9.0', '1.10.0', '1.10.1', '1.11.0', '1.12.0', '1.12.1', '1.13.0', '1.14.0', '1.15.0', '1.16.0', '1.17.0', '1.18.0', '1.19.0', '1.20.0'].includes(bootstrap.version)); assert.equal(bootstrap.config.mode, 'demo'); assert.equal(bootstrap.config.hasKey, false);
|
||||
assert.equal(bootstrap.version, JSON.parse(fs.readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version, 'The UI host must match this package version.'); assert.equal(bootstrap.config.mode, 'demo'); assert.equal(bootstrap.config.hasKey, false);
|
||||
const api = async route => { const response = await fetch(url + '/api' + route, { headers: { 'X-Workbench-Token': bootstrap.token, Connection: 'close' } }); const value = await response.json(); assert.ok(response.ok, value.error); return value; };
|
||||
const proofPrefix = bootstrap.version === '1.6.0' ? 'workspaces-context' : releaseEvidencePrefix(bootstrap.version);
|
||||
const browser = await chromium.launch({ channel: 'msedge', headless: true }), page = await browser.newPage({ viewport: { width: 1440, height: 1000 } });
|
||||
|
||||
Reference in New Issue
Block a user