20261117 固化13步自然回放、数据哈希与第二版性能基线
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user