From 6024152c484979dd8ca33c0ceb6e77ce4e41254b Mon Sep 17 00:00:00 2001 From: Marius Ciepluch <11855163+norandom@users.noreply.github.com> Date: Fri, 30 Oct 2026 20:45:39 +0100 Subject: [PATCH] fix(benchmarks): fact_manifest_ref digests entry-pack JSON symmetrically with disk --- benchmarks/valid/arm_regression.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/benchmarks/valid/arm_regression.py b/benchmarks/valid/arm_regression.py index 2afd8b5..0c33300 100644 --- a/benchmarks/valid/arm_regression.py +++ b/benchmarks/valid/arm_regression.py @@ -69,10 +69,9 @@ def fact_manifest_ref(repo_root: Path, ref: str, subpath: str = "") -> dict[str, prefix = f"{subpath}/" if subpath else "" manifest: dict[str, str] = {} for path in listing: - if not path.endswith(".toml"): - continue - blob = subprocess.run(["git", "-C", str(repo_root), "show", f"{ref}:{path}"], capture_output=True, check=True).stdout - manifest[path.removeprefix(prefix)] = _sha256_bytes(blob) + if path.endswith(".toml") or (path.startswith(f"{prefix}entries/") and path.endswith(".json")): + blob = subprocess.run(["git", "-C", str(repo_root), "show", f"{ref}:{path}"], capture_output=True, check=True).stdout + manifest[path.removeprefix(prefix)] = _sha256_bytes(blob) return manifest