feat(observatory): cache sealed camera and TGS replay on Core

This commit is contained in:
DCCONSTRUCTIONS
2026-09-03 13:15:07 +03:00
parent 3ea8d987a7
commit 27979854a7
6 changed files with 907 additions and 2 deletions
@@ -15,6 +15,7 @@ import hashlib
import io
import json
import os
import re
import subprocess
import sys
import tempfile
@@ -282,8 +283,9 @@ def canonical_lab_replay(
or not _is_sha256(base_generation_sha256)
or _sha256(base) != base_generation_sha256
or not _artifact_is_regular(overlay)
or not result_id.startswith("lab-v1-vegetation-shadow-")
or len(result_id) != len("lab-v1-vegetation-shadow-") + 64
or re.fullmatch(
r"(?:lab-v1-vegetation-shadow|m49-tgs-portable-review)-[a-f0-9]{64}", result_id
) is None
or not recording_id
or len(recording_id) > 128
):