Validate final PNG workloads and retain applicable evidence

This commit is contained in:
Artyom
2026-11-06 22:21:55 +03:00
parent 5e49502ae7
commit 4ed889c1e4
77 changed files with 7407 additions and 51 deletions
@@ -0,0 +1,16 @@
import json
import os
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(ROOT / "scripts"))
import reconcile_track as track
track.evidence_root().mkdir(parents=True, exist_ok=False)
check = track.Checks()
client = track.client.Client(os.environ["BASE_URL"], timeout=30)
track.under_load(client, check, os.environ["BASE_URL"], 75, 3)
track.save("checks.json", {"ok": check.ok, "checks": check.items})
print(json.dumps({"ok": check.ok, "checks": len(check.items)}))
sys.exit(0 if check.ok else 1)