Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
@@ -57,7 +57,7 @@ if raw[:2] == b"\x1f\x8b":
|
||||
(args.output / "meta.json").write_bytes(raw)
|
||||
meta = {"path": "meta.json", "byte_length": len(raw), "sha256": hashlib.sha256(raw).hexdigest()}
|
||||
metadata = json.loads(raw)
|
||||
if metadata.get("version") != 2 or not 1 <= metadata["count"] <= 20_000_000:
|
||||
if metadata.get("version") != 2 or metadata["count"] < 1:
|
||||
raise ValueError("Unsupported SOG version or size")
|
||||
files = sorted(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user