fix(ci): log Electron setup and verify the product Edge runtime

This commit is contained in:
Agent Workbench Dev
2026-11-07 22:03:18 +08:00
parent af42b949ef
commit 0b4f1de439
9 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export function verifyCiWorkflow(root) {
const execution=job.steps.find(step=>step.run); assert.equal(execution.shell,'pwsh');
assert.match(execution.run,/scripts\/ci\.mjs --profile windows --python \$qaPython --output-root \.qa\/ci/);
assert.match(execution.run,/exit \$LASTEXITCODE/);
const artifact=job.steps.at(-1); assert.equal(artifact.if,'always()'); assert.equal(artifact.with.path,'.qa/ci/**/evidence/**'); assert.equal(artifact.with['if-no-files-found'],'error');
const artifact=job.steps.at(-1); assert.equal(artifact.if,'always()'); assert.equal(artifact.with.path,'.qa/ci/**/evidence/**'); assert.equal(artifact.with['if-no-files-found'],'error'); assert.equal(artifact.with['include-hidden-files'],true, 'The explicit .qa evidence directory must be uploaded');
return {passed:true,workflow:'.gitea/workflows/ci.yml',sha256:fileDigest(file),runnerLabel:lock.runnerLabel,actions:uses,
scope:'Actual YAML parse, pinned action/Node/Python refs, error propagation and evidence upload contract. Does not assert runner availability or remote execution.'};
}