feat(ql3): rehearse reviewed automation rollback

This commit is contained in:
whyour
2026-09-01 23:20:13 +08:00
parent 7ed7a08211
commit 8580b25ecc
24 changed files with 1794 additions and 57 deletions
+6 -2
View File
@@ -206,7 +206,7 @@ function finalizeOptions(paths) {
test('finalizes two exact native trial kits into one closed milestone index', (t) => {
const paths = fixture(t);
const manifest = finalizeLocalAlphaMilestone(finalizeOptions(paths));
assert.equal(manifest.schema, 'qinglong/alpha-local-milestone@v5');
assert.equal(manifest.schema, 'qinglong/alpha-local-milestone@v6');
assert.match(
manifest.artifacts.amd64.upgradeReadinessSha256,
/^sha256:[0-9a-f]{64}$/,
@@ -219,6 +219,10 @@ test('finalizes two exact native trial kits into one closed milestone index', (t
manifest.artifacts.amd64.upgradeCutoverRehearsalSha256,
/^sha256:[0-9a-f]{64}$/,
);
assert.match(
manifest.artifacts.amd64.upgradeReconciliationRehearsalSha256,
/^sha256:[0-9a-f]{64}$/,
);
assert.equal(manifest.variant, 'headless');
assert.equal(manifest.sourceRevision, revision);
assert.deepEqual(Object.keys(manifest.artifacts), ['amd64', 'arm64']);
@@ -247,7 +251,7 @@ test('finalizes two exact native trial kits into one closed milestone index', (t
assert.equal(report.workflowRunId, runId);
assert.equal(report.workflowRunAttempt, runAttempt);
assert.equal(report.variant, 'headless');
assert.equal(report.schema, 'qinglong/alpha-local-milestone-audit@v5');
assert.equal(report.schema, 'qinglong/alpha-local-milestone-audit@v6');
});
test('finalizes Console trial kits as a separately named milestone', (t) => {