mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-20 19:29:58 +08:00
chore: refresh suite count evidence (#2000)
This commit is contained in:
@@ -269,7 +269,7 @@ test('release video suite manifest gates the content launch lane', () => {
|
||||
}
|
||||
|
||||
assert.ok(launchChecklist.includes('npm run release:video-suite -- --format json'));
|
||||
assert.ok(hypergrowth.includes('Validate `video-suite-production.md`'));
|
||||
assert.ok(hypergrowth.includes('Pick final video cuts, upload after approval, and attach public URLs'));
|
||||
assert.strictEqual(packageJson.scripts['release:video-suite'], 'node scripts/release-video-suite.js');
|
||||
assert.ok(packageJson.files.includes('scripts/release-video-suite.js'));
|
||||
});
|
||||
|
||||
@@ -178,7 +178,7 @@ function seedRepo(rootDir, overrides = {}) {
|
||||
'Operator dashboard',
|
||||
'GitGuardian',
|
||||
'macOS/Ubuntu/Windows test matrix',
|
||||
'2545 passed',
|
||||
'2547 passed',
|
||||
'Business baseline',
|
||||
'$1,728/mo',
|
||||
'$8,272/mo'
|
||||
@@ -424,7 +424,7 @@ function runTests() {
|
||||
'Operator dashboard',
|
||||
'GitGuardian',
|
||||
'macOS/Ubuntu/Windows test matrix',
|
||||
'2545 passed',
|
||||
'2547 passed',
|
||||
'Business baseline',
|
||||
'$1,728/mo',
|
||||
'$8,272/mo',
|
||||
|
||||
@@ -68,7 +68,7 @@ function seedRepo(rootDir, overrides = {}) {
|
||||
'Operator dashboard',
|
||||
'GitGuardian',
|
||||
'macOS/Ubuntu/Windows test matrix',
|
||||
'2545 passed'
|
||||
'2547 passed'
|
||||
].join('\n'),
|
||||
'docs/releases/2.0.0-rc.1/operator-readiness-dashboard-2026-05-19.md': [
|
||||
'This dashboard is generated by `npm run operator:dashboard`',
|
||||
@@ -220,12 +220,38 @@ function runTests() {
|
||||
assert.ok(parsed.checks.some(check => check.id === 'supply-chain-runbook' && check.status === 'pass'));
|
||||
assert.ok(parsed.checks.some(check => check.id === 'operator-dashboard-command' && check.status === 'pass'));
|
||||
assert.ok(parsed.checks.some(check => check.id === 'operator-readiness-dashboard' && check.status === 'pass'));
|
||||
assert.ok(parsed.checks.some(check => check.id === 'release-evidence-current' && check.status === 'pass'));
|
||||
assert.deepStrictEqual(parsed.top_actions, []);
|
||||
} finally {
|
||||
cleanup(projectRoot);
|
||||
}
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('release evidence gate rejects stale root suite counts', () => {
|
||||
const projectRoot = createTempDir('platform-audit-stale-release-evidence-');
|
||||
|
||||
try {
|
||||
seedRepo(projectRoot, {
|
||||
'docs/releases/2.0.0-rc.1/publication-evidence-2026-05-19.md': [
|
||||
'Release video suite',
|
||||
'growth outreach',
|
||||
'Operator dashboard',
|
||||
'GitGuardian',
|
||||
'macOS/Ubuntu/Windows test matrix',
|
||||
'2546 passed'
|
||||
].join('\n')
|
||||
});
|
||||
|
||||
const parsed = JSON.parse(run(['--format=json', `--root=${projectRoot}`, '--skip-github'], { cwd: projectRoot }));
|
||||
const releaseEvidence = parsed.checks.find(check => check.id === 'release-evidence-current');
|
||||
|
||||
assert.strictEqual(releaseEvidence.status, 'fail');
|
||||
assert.ok(parsed.top_actions.some(action => action.id === 'release-evidence-current'));
|
||||
} finally {
|
||||
cleanup(projectRoot);
|
||||
}
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('markdown output can be written as an operator artifact', () => {
|
||||
const projectRoot = createTempDir('platform-audit-markdown-');
|
||||
const outputPath = path.join(projectRoot, 'artifacts', 'platform-audit.md');
|
||||
|
||||
@@ -54,7 +54,7 @@ function seedRepo(rootDir, overrides = {}) {
|
||||
].join('\n'),
|
||||
'docs/releases/2.0.0/ecc-2-hypergrowth-release-command-center.md': [
|
||||
'Keep raw absolute paths out of public docs',
|
||||
'Validate `video-suite-production.md`',
|
||||
'Pick final video cuts, upload after approval, and attach public URLs',
|
||||
].join('\n'),
|
||||
'docs/releases/2.0.0-rc.1/preview-pack-manifest.md': 'video-suite-production.md',
|
||||
'docs/releases/2.0.0-rc.1/launch-checklist.md': 'release video suite',
|
||||
|
||||
Reference in New Issue
Block a user