6.3 KiB
Scheduled repository snapshots and operational releases
Status: Accepted — D-090, 2026-11-06. Explicit user approval; implementation follows completion of the current desktop transaction/CLI/ISO task. Acceptance is not evidence that migration, capture or the replacement schedule already works.
Release cadence
- Ship operational Archipelago bug fixes and layer/content changes promptly through the checked manual release path. Do not wait for the scheduled repository refresh.
- D-098 (2026-11-09) replaces the schedule below: publish OSTree refs every three
days on an anchored interval (anchor 2026-11-09 00:00 UTC) and ISO media on
calendar day 30 at 00:00 UTC. The interval crosses month and year boundaries; it
is not
day % 3, and a day-30 run takes precedence over the grid. There is no February 30 and no substitution with the month's last day. See release cadence and automated checks. - The historical D-090 rule (rebuild at 00:00 UTC on the 15th and 30th) is superseded. The remaining D-090 content — snapshot-bound inputs, three retained repository snapshots, tank migration — is unchanged.
- Urgent CVE repository refreshes/rebuilds may run off schedule on explicit user instruction. A failure or a timer event does not itself authorize an exception.
- Manual and scheduled invocations share the driver, overlap lock, evidence, automated checks, signing and publication contracts.
Snapshot then build
- Synchronize the repository mirror onto terra's
tank, in its own ZFS dataset. Complete synchronization before capture, excluding concurrent mirror writers. - Create a native ZFS snapshot and publish a read-only, date-time-labelled view at
https://mirror.nw-sys.ru/archipelago/arch-repo-snapshot/<UTC-date-time>/.... Validate database/package/signature closure before advertising it. ZFS captures share unchanged blocks; do not make a full physical mirror copy for each run. - Bind the run to that immutable repository view and its content-derived identity. Preserve D-043/RFC-0008 repository ordering, database and package checksums and Archipelago package-revision identity. The URL's date-time label is not the ID.
- Update all packages already installed in the isolated bootstrap environment from the selected snapshot before building Core. Do not merely add newer target packages to an old bootstrap or update the physical build host. Record the seed archive identity and the resulting package inventory/toolchain.
- Build Core, then Purpose layers using the same snapshot and the same cycle's Core. Compose/finalize; on day-30 cycles build ISO media as well. Sign and publish layers/images to OSTree on every cycle and ISO media only on day-30 cycles.
Prompt Archipelago-only fixes may reuse a retained snapshot with explicit pinned
inputs. A change to the package universe requires a new immutable identity; never
modify an already published snapshot in place. Concrete capture/export commands,
dataset names below tank, descriptors and mount layout are implementation work.
Installed systems and retention
Host Extensions resolve named packages and dependencies only against their selected base's snapshot. Each fresh OS delivery updates the embedded snapshot URL and identity; extension reapplication uses the new base and its database. Never fall back to the rolling mirror when an old snapshot is unavailable.
Retain no more than three repository snapshots at once, including scheduled and explicitly requested early captures. Retire older snapshots periodically with native ZFS tooling and remove their public views coherently. This snapshot limit is distinct from ISO/deployment retention and does not authorize deletion of user data or arbitrary ZFS snapshots belonging to other workloads.
Retirement must reconcile retained release/input references before destruction. An indefinitely old installed system cannot imply indefinite snapshot retention. If its snapshot has retired, report that fact and require a supported base update before new repository-backed extension resolution; do not silently change inputs. The exact retained-release reference/retirement mechanism remains to implement. If required references prevent retirement, stop capture rather than exceed three or destroy still-required data. ZFS block sharing does not replace free-space checks.
Terra migration and execution order
Move all Archipelago infrastructure stored on terra onto tank, including the
working mirror, artifact registries, portal data, private staging/evidence, caches,
source/deployment state and applicable container storage. Keep mirror contents in
a dedicated dataset. Preserve permissions, signatures, secrets, existing URLs and
other workloads. Inventory the actual Btrfs working mirror and the distinct existing
tank/mirror copy; neither may be discarded or relabelled without reconciliation.
This is storage migration on terra, not a new assignment of builds: yabloko remains the builder/VM worker. The separately authorized tall-bridge Flatpak download and transfer acceleration does not move OS builds or VM acceptance there.
Execution sequence: record this contract and disable daily scheduling immediately;
finish the current GNOME Software/Discover transaction fixes, formatted CLI/logging
and rebuilt images; then perform the terra migration, snapshot-bound builder and
Host Extension integration, checked retirement and replacement scheduler rollout.
Operational runbook: infrastructure/deploy/SNAPSHOT-ROLLOUT.md (workspace-relative).
Supersession
D-090 replaces D-063's monthly timing, D-073's indefinite capture/copy deferral and the daily scheduling portions of D-074/D-085/D-087. It refines D-072's storage and three-snapshot retention direction. D-087's Core/GNOME stable-track selection and exact per-release exception requirements remain; the new cadence grants no new release-admission evidence. Historical decisions remain in the log for traceability.
D-098 (2026-11-09) supersedes the D-090 schedule itself (15th/30th) with a three-day OSTree interval plus day-30 ISO media, replaces mandatory installed-VM acceptance with Rust contract tests plus manual user verification, and sets the public-retention rule: one current commit per published ref, three ISO media per variant. D-090's snapshot identity, bootstrap update, three-repository-snapshot cap and tank placement remain in force.