perf(release): isolate read-only helper startup dependencies

This commit is contained in:
2026-10-15 18:44:47 +08:00
parent 1bd1746ef2
commit 04e5fac311
20 changed files with 114 additions and 45 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ def install_snapshot(source: Path, expected: str, cookie: Path, cookie_sha: str)
):
raise DeliveryError("dependency snapshot is not the selected binding")
payload = install.RELEASES / selected["release_id"] / "payload"
for name in ("dependencies.py", "dependency_install.py"):
for name in ("dependencies.py", "dependency_policy.py", "dependency_install.py", "layout.py"):
shipped = payload / "delivery/scripts/release" / name
preflight.protected(shipped)
if digest(shipped) != digest(Path(__file__).parent / name):