Complete V1 performance and OOM release gates

This commit is contained in:
mes123456
2026-08-14 22:32:09 -04:00
parent 3ea9974eee
commit a3f3071c03
45 changed files with 4206 additions and 276 deletions

View File

@@ -24,21 +24,23 @@ assert.equal(
"release evidence source hash is stale",
);
const blockedFamilies = ledger.families.filter((family) => family.status === "BLOCKED").map((family) => family.id);
const blockedParityFamilies = ledger.families.filter((family) => family.parityStatus === "BLOCKED").map((family) => family.id);
const blockedReleaseFamilies = ledger.families.filter((family) => family.releaseStatus === "BLOCKED").map((family) => family.id);
const falseEvidence = [];
for (const [group, values] of Object.entries(report.evidence)) {
if (group === "records") continue;
for (const [key, value] of Object.entries(values)) if (value === false) falseEvidence.push(`${group}.${key}`);
}
const missingCount = blockedFamilies.length + falseEvidence.length;
assert.equal(blockedFamilies.length, 12, "this baseline expects N-015 through N-026 to remain explicitly blocked");
assert.deepEqual(falseEvidence.sort(), ["faults.oom", "performance.geometry10M", "performance.longMedia"]);
assert.equal(missingCount, 15);
const missingCount = blockedReleaseFamilies.length + falseEvidence.length;
assert.equal(blockedParityFamilies.length, 12, "this baseline expects N-015 through N-026 parity to remain explicitly blocked");
assert.deepEqual(blockedReleaseFamilies, [], "all declared V1 family slices should be ready");
assert.deepEqual(falseEvidence.sort(), []);
assert.equal(missingCount, 0);
for (const document of [overview, parity]) {
assert.match(document, /13 条(?:成功 )?(?:command\/output\/artifact-hash )?(?:有效)?记录|13 条有效记录/);
assert.match(document, /15 个缺失/);
assert.match(document, /N-015 至 N-02[56]/);
assert.match(document, /17 条(?:成功 )?(?:command\/output\/artifact-hash )?(?:有效)?记录|17 条有效记录/);
assert.match(document, /0 个 V1 缺失/);
assert.match(document, /parityStatus/);
}
for (const document of [overview, n015, n026, vdbPlan]) {
assert.match(document, /desktop\/server converter|desktop\/server OpenVDB|desktop\/server converter|server job/);
@@ -48,5 +50,5 @@ for (const document of [overview, n015, n026, vdbPlan]) {
}
process.stdout.write(
`status-consistency-ok families=${ledger.families.length} blocked=${blockedFamilies.length} evidenceRecords=${report.evidence.records.length} missing=${missingCount}\n`,
`status-consistency-ok families=${ledger.families.length} parityBlocked=${blockedParityFamilies.length} releaseBlocked=${blockedReleaseFamilies.length} evidenceRecords=${report.evidence.records.length} missing=${missingCount}\n`,
);