From 8cab710fb33c94fa877d91d38c10e4d7f70fc612 Mon Sep 17 00:00:00 2001 From: Pavel Isaev Date: Fri, 6 Nov 2026 05:58:58 +0300 Subject: [PATCH] Stream completed artifact trees before integrity validation --- deploy/RELEASE-CYCLE.md | 7 +++++++ pipeline/release-cycle.py | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/deploy/RELEASE-CYCLE.md b/deploy/RELEASE-CYCLE.md index f0de3e4..4d58cbc 100644 --- a/deploy/RELEASE-CYCLE.md +++ b/deploy/RELEASE-CYCLE.md @@ -69,3 +69,10 @@ archive subdirectory while retaining root ownership of plans/provenance. Those older bytes are private diagnostic artifacts, not accepted publication candidates. A new full cycle is required and is recorded by its actual `state.json`; enabling the timer or passing unit tests alone is not successful-cycle evidence. + +Cycle `20261105T233849Z` passed installed Core and Host Extensions, then rejected +GNOME on package integrity: its integration assets overwrote two Core package +files. The source now supplies distinct GNOME configs and checks package integrity +before image capture. Both repositories passed fsck and archived ISO checksums +matched; this rejected pair remains private. Artifact transfer now streams tar +over SSH to avoid per-object rsync overhead, followed by the same OSTree fsck. diff --git a/pipeline/release-cycle.py b/pipeline/release-cycle.py index ca550f8..a385b57 100644 --- a/pipeline/release-cycle.py +++ b/pipeline/release-cycle.py @@ -140,8 +140,12 @@ rm -rf {builds['core']}/iso-work {builds['core']}/profile {builds['core']}/extra for variant in ('core', 'gnome'): dest = run / variant / 'build' dest.mkdir(parents=True) - for part in ('repo', 'output', 'evidence'): - call(['rsync', '-a', f'{worker}:{builds[variant]}/{part}', str(dest) + '/']) + # Stream immutable completed trees: rsync's per-file round trips are + # disproportionately expensive for OSTree's many small objects. + transfer = shlex.join(['ssh', '-o', 'BatchMode=yes', '-o', 'ConnectTimeout=20', worker, + shlex.join(['tar', '-C', builds[variant], '-cf', '-', 'repo', 'output', 'evidence'])]) + call(['bash', '-o', 'pipefail', '-c', transfer + ' | ' + + shlex.join(['tar', '-C', str(dest), '-xf', '-'])]) call(tools(['ostree', '--repo=' + str(dest / 'repo'), 'fsck'])) call(['rsync', '-a', f'{worker}:{remote_root}/inputs.sha256', str(run) + '/']) call(['rsync', '-a', f'{worker}:{remote_root}/source.tar', f'{worker}:{remote_root}/archipelago', str(run) + '/'])