docs(ql3): align local milestone schema guidance

This commit is contained in:
whyour
2026-09-02 14:13:04 +08:00
parent a1b21443ba
commit fa730da091
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -272,6 +272,16 @@ test('finalizes Console trial kits as a separately named milestone', (t) => {
);
});
test('keeps the shipped milestone README aligned with the current schema', () => {
const readme = fs.readFileSync(
path.join(root, 'docs/operations/ql3-local-alpha-milestone.md'),
'utf8',
);
assert.match(readme, /qinglong\/alpha-local-milestone@v7/u);
assert.doesNotMatch(readme, /qinglong\/alpha-local-milestone@v5/u);
assert.match(readme, /upgradeReconciliationRehearsalSha256/u);
});
test('rejects a trial kit from another run attempt before publishing', (t) => {
const paths = fixture(t, { arm64: { runAttempt: '1' } });
assert.throws(