fix: hold verify and pack to the same count both ways

This commit is contained in:
Abdessamad Derraz committed 2026-10-09 21:59:38 +02:00
1 parent 919f00a6ee
commit 3dc353dc73
2 files changed
+19 -1

No files matched your search

+5 -1
View File
@@ -198,9 +198,13 @@ def check_consistency(verify_output: str, pack_output: str) -> bool:
f" {v_label}: verify {v_ok}/{v_total} == pack {p_ok}/{p_total} OK"
)
else:
# The invariant runs both ways: a builder more optimistic
# than the report ships files the report never vouched for.
print(
f" {v_label}: verify {v_ok}/{v_total}, pack {p_ok}/{p_total} OK (pack resolves more)"
f" {v_label}: MISMATCH pack {p_ok}/{p_total} OK "
f"> verify {v_ok}/{v_total}"
)
all_ok = False
else:
print(f" {v_label}: {v_ok}/{v_total} (no separate pack)")
all_ok = False