8.6 KiB
Daily release cycle
User execution request, 2026-11-06: publish the newly built layers and ISOs on terra and run the complete cycle daily without operator/LLM orchestration.
Entry points
Coordinator SSH to tall-bridge connects directly over the tailnet
(user request reverting the jump-host trial, 2026-11-06). Install worker-ssh.terra.conf as
/root/.ssh/config.d/archipelago-worker.conf and include it from /root/.ssh/config
before matching defaults. Retain host-key verification. A 32 MiB transfer trial
measured 1.77 MiB/s directly versus 1.23 MiB/s through msk-west-gates; this is
a short sample, not a general network benchmark. ProxyJump none restores direct
connections while retaining the worker's explicit tailnet IP.
This route also applies to rsync and already-running coordinators' future SSH
connections. Existing connections and local integrity checks are unaffected.
- Coordinator:
pipeline/release-cycle.py,/etc/archipelago/release-cycle.json. - Scheduled unit:
archipelago-release-cycle.service, timer at 00:00 UTC (03:00 MSK), persistent across downtime. systemd prevents overlapping starts of the unit; the coordinator also holds an exclusive cycle lock. - Run manually:
systemctl start archipelago-release-cycle.service. - To rebuild Purpose using a retained completed Core, the same driver accepts
--core-build /absolute/worker/core/build. It records that input path, preserves it during cleanup, and repeats both installed VM checks before publication. - For already-built pairs,
--existing INPUTS.json --archive /absolute/coordinator/runreuses the archived trees only after matching both ISO hashes and image/layer ref-file hashes against the worker. Both repositories still undergo fsck, and both VM checks run anew. This avoids retransferring the same accepted bytes merely to retry validation. Already archived build trees are excluded from subsequent failure-evidence transfer; new logs and validation evidence remain. With--core-build, the same archive can seed the new GNOME transfer: a private copy receives checksum-based rsync deltas, including removal of stale refs, before fsck and new VM checks. The previous archive is never mutated. - Inspect:
systemctl list-timers archipelago-release-cycle.timer,journalctl -u archipelago-release-cycle.service. - Public state:
/archipelago/pipeline.json. Private per-run states and frozen scripts/configuration:/opt/archipelago/data/private/release-cycle/.
Ordered stages
- Check worker SSH/KVM/tools and free space. Freeze source/probes, compile the CLI from that tree with pinned tools/offline Cargo, record input checksums.
- Build Core once, then build GNOME Purpose from that exact Core layer and pinned package universe. xTom is build-only transport; payload/live use nw-sys.
- Archive repositories, ISO bytes, source and evidence directly on terra, verify OSTree integrity, release disposable build scratch before VM installation.
- Install Core in a fresh UEFI VM, provision/login, verify services, firmware,
immutable
/usr, and transactional Host Extensions including failed requests. The production CLI has no lab-only test-marker command: this check explicitly records that fixture as not applicable, not a passed Managed Overlay gate. - Install GNOME in a fresh VM, exercise native onboarding, Wayland session, services, nano extension activation and the presence of all configured installation-media Flatpaks and their runtimes. Only one test VM runs at once.
- Bind results to exact ISO checksums and image/Core/Purpose commits. Verify the immutable provenance links. Sign commits and summaries on terra, atomically switch the catalog/repositories/ISO generation, retain three catalog versions.
- Verify public catalog identities, download sizes and checksums over HTTPS. Persist the terminal result and clean this run's disposable worker directories.
Every worker stage is a bounded systemd job. Failures retain diagnostics and do not advance publication. The systemd stop hook also records coordinator kills or timeouts that bypass Python exception handling. No screenshot is accepted by an LLM: UI drift or timeout is a failed test.
Worker unit identities are recorded before launch. The next coordinator, after
acquiring the exclusive lock, stops recorded jobs from an interrupted/failed run
before starting work. It preserves the original failure reason. The cycle reports
complete only after public verification and successful worker cleanup; a cleanup
failure remains visible with published: true if publication already happened.
Publication scope
This driver currently publishes hardware-test, not testing/stable. Existing production refs are preserved. D-079 remains scoped to its exact older pair; the daily driver never passes that exception to the publisher. Full reproducibility, general Managed Overlay release acceptance and native GUI OS-update acceptance remain outstanding. Installation/extension/Flatpak evidence must not be presented as proof of these separate contracts. Existing ISO update defaults may still select stable; channel migration is not silently performed by publishing an ISO.
The layer repository exposes the reused Core, purpose/desktop/gnome, and
versioned history/purpose/gnome/VERSION refs. API records include
purpose_layer_commit alongside the existing Core layer_commit field.
Current integration record
The first layered ISO completed, but installed-Core acceptance found the alpm
external downloader could not write its cache. The adapter now uses an alpm-owned
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.
Cycle 20261106T025728Z failed during Core construction: the new identity-selection
branch referenced the outer profile variable inside the container. It now uses
the container's ARCHIPELAGO_BUILD_PROFILE. The syntax test alone did not detect
the unbound runtime variable. The incident also exposed an operator-monitoring
mistake: following only new journal messages can miss an already-recorded failure.
For a launched cycle, wait on systemctl start --wait and inspect its exit status
and durable run state; a quiet journal is not evidence of a running build.
Cycle 20261106T055438Z completed Core, then failed the new staging self-check.
Runtime pacman configuration attempted keyring/download-user initialization;
force-copy checkout also supplied current timestamps instead of deployment epoch.
The staging-only adapter now uses local-DB configuration and epoch timestamps,
then restores runtime configuration. The actual failed staging passed all 41
package files and permissions after this correction. A new Purpose build reuses
that completed Core; no installed-VM acceptance is inferred from staging success.
Failure archival also streams tar rather than rsync after rsync exceeded its
30-minute bound on the many small OSTree objects; failed archival preserves worker
inputs instead of deleting them.
Cycle 20261106T070106Z built GNOME successfully and archived both variants;
Core and GNOME repositories passed fsck. The Core VM installed successfully but
the probe timed out awaiting live shutdown at 90 seconds. Shutdown had begun;
completion was not observed. The probe now allows 180 seconds, covering systemd's
normal 90-second service-stop grace plus shutdown work, and still requires actual
QEMU exit. This is not a passed shutdown check until the repeated VM run completes.
Cycle 20261106T102335Z passed the complete production-Core probe, including
shutdown, installation, login and Host Extensions. GNOME installation/onboarding,
login and self-check passed, then nano composition failed on the upstream
PackageKit ALPM hook's D-Bus notification. That hook must not run in this profile's
extension staging: PackageKit is masked and OS updates use the Archipelago
adapter. The Purpose now supplies the explicit pacman hook mask. The failed ISO
is archived and cannot be published; corrected Purpose and VM acceptance follow.