refactor(schema): remove data-only version markers
This commit is contained in:
@@ -37,7 +37,6 @@ await buildPortableFixtures();
|
||||
if (hostPlatform === "darwin") await buildDarwinFixtures();
|
||||
|
||||
const manifest = {
|
||||
schemaVersion: 1,
|
||||
platform: hostPlatform,
|
||||
architecture,
|
||||
generatedAt: new Date(0).toISOString(),
|
||||
|
||||
@@ -6,7 +6,7 @@ import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
||||
export async function loadRealHopperFixtureTargets(manifestPath) {
|
||||
const canonicalManifest = await realpath(manifestPath);
|
||||
const manifest = JSON.parse(await readFile(canonicalManifest, "utf8"));
|
||||
if (manifest?.schemaVersion !== 1 || !Array.isArray(manifest.fixtures))
|
||||
if (!Array.isArray(manifest?.fixtures))
|
||||
throw new Error("Invalid conformance fixture manifest");
|
||||
const primary = fixtureEntry(manifest.fixtures, "c");
|
||||
const secondary = fixtureEntry(manifest.fixtures, "version-v2");
|
||||
|
||||
@@ -175,7 +175,6 @@ try {
|
||||
|
||||
const summary = {
|
||||
verifier_run: await completeVerifierRun(verifierRun),
|
||||
schemaVersion: 1,
|
||||
codex,
|
||||
codexVersion,
|
||||
model: optionalModel ?? null,
|
||||
|
||||
@@ -17,7 +17,6 @@ const manifestPath = await realpath(resolve(manifestArgument));
|
||||
const sourceRoot = await resolveSourceRoot(manifestPath, process.argv[3]);
|
||||
const manifest = JSON.parse(await readFile(manifestPath, "utf8"));
|
||||
if (
|
||||
manifest.schemaVersion !== 1 ||
|
||||
!Array.isArray(manifest.fixtures) ||
|
||||
(manifest.platform !== "darwin" && manifest.platform !== "linux")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user