17 KiB
Daily release cycle
Update exercise run 20261106T152122Z
Started manually with signed-commit timestamp downgrade protection in CLI plan/apply,
explicit removed-package labels in Software, interrupted-operation reconciliation,
and GNOME plymouth.ignore-serial-consoles boot arguments. Plymouth hook, spinner
theme and splash were already present in the installed image; its initramfs
actually started Plymouth. Serial-console routing is the suspected display issue,
not a missing mkinitcpio hook. Finalization now checks Plymouth daemon/theme files
inside the generated initramfs; visible splash remains a manual hardware check.
Before Core/GNOME builds the coordinator compiles the Software adapter from frozen
sources using build-software-adapter.sh, in a disposable worker nspawn environment.
It overrides the legacy external plugin input with that run's compiled module and
archives its checksums/package inventory. This avoids silently shipping stale C
adapter code when only the Rust CLI is rebuilt.
The user host's old plans and orphaned operation were archived under
/var/lib/archipelago/updates/diagnostics/20261106T152303Z. Its existing deployment
was retained; the boot entry gained plymouth.ignore-serial-consoles with the old
entry backed up there, so the first update using the old CLI can inherit the fix.
The current installed ISO pair is being aligned to stable through signed publisher
authorization D-087; no new image is manufactured by that alignment. The following
pipeline publication will supply the actual new image for manual update acceptance.
Current channel: stable (D-087, 2026-11-06)
The latest explicit user instruction changes the daily publication destination to
stable/core and stable/gnome, matching the update profiles already shipped in
installed ISOs. The coordinator records D-087 authorization with exact candidate
identities for each publication using the publisher's existing exception interface.
Signing, VM checks and publication integrity checks remain mandatory. Outstanding
admission evidence remains recorded. D-079 is not reused. Historical hardware-test
statements and the mismatch analysis below describe the preceding configuration.
The change takes effect on the next successful publication; it does not republish
the existing release or execute a build/update test. User-managed /etc overrides
continue to take precedence over the vendor update profile.
Cleanup and update-continuity review (2026-11-06)
Private artifact retention now runs under the cycle lock before work and after
success: retain three completed runs and the latest failed run's bulky artifacts.
Older terminal runs lose explicitly listed build payload/output/scratch directories,
including copies under failure-evidence; source archives, logs and evidence stay.
Unknown directories and nonterminal runs are not automatically deleted. This bounds
bulky terminal artifacts, not the total lifetime size of diagnostic/source archives.
Public retention remains three versions per variant.
Before Flatpak preparation, check worker free space; before artifact transfer,
require minimum_coordinator_free_bytes (default 50,000,000,000 bytes) on terra.
After successful publication, coordinator-owned reused build directories can be
removed: preserve original source archives, acquire build locks, verify ISO SHA256
against the published results, then delete only those build directories. External
--existing paths are not automatically removed.
Manual cleanup on 2026-11-06 removed both reused worker builds from
20261106T114048Z and 20 obsolete private artifact directories on terra. The
original source archive was saved in completed run 20261106T131152Z, which also
contains manual-cleanup.json. Available space changed approximately from 48 to
77 GiB on yabloko and 185 to 207 GiB on terra. Published objects were not removed.
No tests or builds were run for this change, as explicitly requested; the cleanup
helpers were executed for the authorized real cleanup.
Required principle: installed ISO must update to the fresh build
The user explicitly requires continuity from the currently installed ISO to the next build, to be checked manually. The current pipeline does not yet satisfy this principle out of the box. Static code and immutable image inspection show:
- Both current image commits contain
/usr/lib/archipelago/update.jsonselectingstable/coreandstable/gnome(builder/defaults/update.json). - The daily publisher advances
hardware-test/coreandhardware-test/gnome; it deliberately preserves production refs (pipeline/publish-hardware.py). - Actual stable refs still identify the 20261105 images; current hardware-test refs identify the 20261106 images. Consequently update planning from the newest ISO can select the older stable image, not the next daily build.
system/src/updates.rschooses the profile in/etcbefore the vendor profile, verifies summary and commit signatures, pins the target in a plan, checks the deployment state and Purpose, and stages it without automatic reboot. It checks target equality, but does not impose a monotonic version/age constraint.- Host Extensions are reapplied; custom Managed Overlay updates explicitly fail without changing the current deployment. Universal updateability for arbitrary custom compositions is therefore not implemented.
- The coordinator tests fresh ISO installations; it does not require an update
from the previously installed release. Passing this acceptance is not evidence
of update continuity. Flatpaks in
/varare independently updated; the ISO seed is not an OS-update delivery mechanism for already installed applications.
Resolution requires an explicit consistent channel choice: for experimental daily images, configure future images and the existing installation to follow hardware-test; alternatively qualify and publish the intended stable releases through their gates. Do not silently repoint stable refs to experimental commits. Changing the next ISO's vendor defaults alone cannot change the already installed ISO's update profile. The manual acceptance should record source/target commits, retained user data, staged deployment, explicit reboot, resulting booted commit and rollback usability. No update tests or host update transactions were executed in this review.
Current operation: yabloko builds, terra publishes (2026-11-06)
The latest user instruction replaces the tall-bridge worker/downloader proposal:
Core, GNOME, Flatpak downloads/updates and VM acceptance all run on yabloko.
Terra coordinates the daily trigger, stores results, signs and publishes.
The current worker configuration has no tall-bridge or jump-host dependency.
The source tree at /opt/archipelago/revision/src must include all Rust modules,
Purpose assets, probes, infrastructure scripts and rfc/schemas: the Rust
contracts crate embeds the layer schema. Preflight checks that schema before
compilation; the driver creates its Cargo target/cache mount directories.
Human entry point on terra (manual and timer use the same driver):
archipelago-release run # start the whole cycle
archipelago-release status # short stage/result, worker and log location
archipelago-release logs # recent coordinator journal
archipelago-release follow # follow the journal
Normal sequence: prepare source/CLI → refresh Flatpak cache → build Core → build GNOME using that Core → Core VM → GNOME VM → transfer to terra, check integrity, sign and publish → check HTTPS and clean disposable build files. Validation now precedes artifact transfer. Errors stop progression and remain visible in status.
Flatpak cache: yabloko:/opt/archipelago/cache/flatpak. installation/ retains the
downloaded repository; current selects the last verified ISO seed. Each build
attempts an update for up to 30 minutes. A failed attempt may use the previous
export only if its checksums and requested application policy still match; status
explicitly reports fallback. Without a valid matching seed the build fails.
Switch exports only after successful preparation and validation. Retain up to
three exports, the persistent installation cache and per-attempt logs. This is
the current private adapter policy, not a new stable schema.
The initial seed was recovered from an archived GNOME ISO and verified against
its SHA256SUMS. A standalone copy is now on terra at
/opt/archipelago/data/private/flatpak-cache/from-iso-20261106 and on yabloko under
/opt/archipelago/cache/flatpak/exports/from-iso-20261106.
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.
- Release disposable build scratch before VM installation. Keep artifacts locally.
- 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.
- Transfer accepted artifacts/source/evidence to terra and verify OSTree integrity. 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.