From 5de4da997c781fb96e82f32fac4e82f65cce8ce6 Mon Sep 17 00:00:00 2001 From: roman Date: Sun, 11 Oct 2026 03:44:41 +0300 Subject: [PATCH] fix: drop the resume image warning, the containerd image id changes on every build Co-Authored-By: Claude Opus 5.5 --- bench/run.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/bench/run.py b/bench/run.py index ce9aeb26..91f277b3 100644 --- a/bench/run.py +++ b/bench/run.py @@ -5229,13 +5229,10 @@ def main(argv: list[str]) -> int: return 1 say(f"image {APP_IMAGE} built ({image[:19]}…), compose project {PROJECT}") if args.resume: - if meta.get("app_image", {}).get("id") != image: - warning = ( - f"resume: app image {image[:19]} differs from the label's " - f"{str(meta.get('app_image', {}).get('id'))[:19]}" - ) - meta["host_warnings"].append(warning) - say(f"WARNING: {warning}") + # ID индекса образа в хранилище containerd меняется при каждой + # сборке и на том же коде (аттестации); код один — проверено по + # commit и чистому дереву выше + meta["resumes"][-1]["app_image_id"] = image else: meta.update(static_passport(profile)) results = Results(label_dir, meta)