US07-07: Automate Full Release Acceptance (#94)

This commit was merged in pull request #94.
This commit is contained in:
2026-08-17 23:05:52 +02:00
parent 05f34cdda2
commit 74f4b1b640
11 changed files with 1196 additions and 4 deletions

View File

@@ -264,8 +264,11 @@ class AnalysisService:
asset = session.get(Asset, asset_id)
if asset is not None and checkpoint.sha256:
# The bytes changed when the container was rewritten; upload must use
# the hash of what is actually on disk now (concept §3).
# the hash of what is actually on disk now (concept §3), and the
# recorded size has to move with it (US07-07).
asset.current_sha256 = checkpoint.sha256
if checkpoint.byte_size is not None:
asset.byte_size = checkpoint.byte_size
session.commit()
def get(self, asset_id: str) -> dict | None: