From 8ac66fa4c560c4b2f553f749e004176b9e8abc4d Mon Sep 17 00:00:00 2001 From: Somasundaram Ayyappan <1802828+somus@users.noreply.github.com> Date: Sat, 13 Jun 2026 00:58:30 +0530 Subject: [PATCH] ci(spec): remove redundant fixture check --- mise.toml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/mise.toml b/mise.toml index 38543ea..18f5864 100644 --- a/mise.toml +++ b/mise.toml @@ -24,7 +24,7 @@ run = "hk check" [tasks.test] description = "Run tests for this repository" -depends = ["check:json", "check:schema", "check:fixtures", "check:conformance"] +depends = ["check:json", "check:schema", "check:conformance"] [tasks."check:json"] description = "Validate JSON and JSONL syntax" @@ -42,28 +42,6 @@ ajv compile --spec=draft2020 --strict=false --validate-formats=false -s fixtures ajv validate --spec=draft2020 --strict=false --validate-formats=false -s fixtures/validation/manifest.schema.json -d fixtures/validation/manifest.json """ -[tasks."check:fixtures"] -description = "Validate fixture manifest integrity" -run = """ -manifest_paths=$(mktemp) -fixture_paths=$(mktemp) -trap 'rm -f "$manifest_paths" "$fixture_paths"' EXIT - -jq -r '.fixtures[].path' fixtures/validation/manifest.json | sort > "$manifest_paths" -find fixtures/validation -name '*.trail.jsonl' -print | sed 's#^fixtures/validation/##' | sort > "$fixture_paths" - -if [ "$(jq -r '.fixtures[].path' fixtures/validation/manifest.json | sort | uniq -d | wc -l | tr -d ' ')" != "0" ]; then - echo "Duplicate fixture path in fixtures/validation/manifest.json" - jq -r '.fixtures[].path' fixtures/validation/manifest.json | sort | uniq -d - exit 1 -fi - -if ! diff -u "$manifest_paths" "$fixture_paths"; then - echo "Fixture manifest does not match committed .trail.jsonl files" - exit 1 -fi -""" - [tasks."check:conformance"] description = "Validate conformance manifest documentation and diagnostic registry" run = "node scripts/check-conformance.mjs"