20261117 固化13步自然回放、数据哈希与第二版性能基线

This commit is contained in:
2026-11-17 16:59:57 +08:00
parent 56db3cc6e7
commit 5c0ec3a04b
17 changed files with 7044 additions and 5 deletions

View File

@@ -26,6 +26,10 @@ def main():
if file_sha256(Path(manifest["scope_path"])) != manifest["scope_sha256"]:
raise ValueError("replay scope changed since asset preparation")
command += ["--scope", manifest["scope_path"]]
if manifest.get("bundle_manifest"):
if file_sha256(Path(manifest["bundle_manifest"])) != manifest["bundle_sha256"]:
raise ValueError("consumed bundle manifest changed since preparation")
command += ["--bundle-manifest", manifest["bundle_manifest"], "--bundle-sha256", manifest["bundle_sha256"]]
for scheme in ("http", "https"):
for port in manifest[scheme + "_ports"]:
command += ["--" + scheme + "-port", str(port)]