Accept D-090 snapshot cadence and terra tank migration
This commit is contained in:
parent
c4198c25ea
commit
bd10a1ee21
11 changed files with 212 additions and 0 deletions
|
|
@ -15,6 +15,10 @@
|
|||
|
||||
## Documents
|
||||
|
||||
- [Repository snapshots and release cadence](spec/release-snapshots.md) — accepted
|
||||
D-090: 15th/30th at 00:00 UTC, tank migration, three ZFS snapshots, base-bound
|
||||
Host Extensions; implementation follows the current desktop/CLI/image task.
|
||||
|
||||
- [KDE Desktop](spec/kde-desktop.md) — accepted D-089 software split and Plasma
|
||||
Setup direction, with disabled registry proposals and remaining integrations.
|
||||
|
||||
|
|
|
|||
29
examples/release-cadence-d090.yaml
Normal file
29
examples/release-cadence-d090.yaml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Illustrative D-090 intent, not an executable deployment profile or stable schema.
|
||||
decision: D-090
|
||||
activation: after-current-desktop-cli-image-task-and-snapshot-rollout
|
||||
schedule:
|
||||
timezone: UTC
|
||||
days_of_month: [15, 30]
|
||||
time: "00:00:00"
|
||||
daily_enabled: false
|
||||
missing_calendar_day: no-invocation
|
||||
manual:
|
||||
operational_fixes: immediate-checked-release
|
||||
urgent_cve_refresh: explicit-user-instruction
|
||||
repository:
|
||||
host: terra
|
||||
pool: tank
|
||||
dedicated_mirror_dataset: required
|
||||
capture: native-zfs-snapshot
|
||||
public_prefix: https://mirror.nw-sys.ru/archipelago/arch-repo-snapshot/
|
||||
label: UTC-date-time
|
||||
identity: content-derived
|
||||
retained_snapshot_limit: 3
|
||||
retire: reference-aware-before-next-capture
|
||||
build:
|
||||
worker: yabloko
|
||||
upgrade_all_bootstrap_packages_from_snapshot: true
|
||||
order: [core, purposes, iso-acceptance, signed-publication]
|
||||
host_extensions:
|
||||
repository: selected-base-snapshot
|
||||
rolling_fallback: false
|
||||
|
|
@ -64,6 +64,13 @@ signature, dependency and final-composition validation.
|
|||
|
||||
### Package selection
|
||||
|
||||
D-090 supersedes the historical monthly cadence below: capture a repository view
|
||||
on terra's `tank` using ZFS, then rebuild at 00:00 UTC on the 15th and 30th. Upgrade
|
||||
all packages already present in the isolated bootstrap from that selected snapshot
|
||||
before building Core; Purpose consumes the same inputs. Prompt Archipelago fixes
|
||||
remain manual. See [release snapshots](../spec/release-snapshots.md). Migration and
|
||||
activation follow completion of the current desktop/CLI/image task.
|
||||
|
||||
D-063 schedules monthly repository snapshots, with ZFS-based creation on the mirror
|
||||
host deferred until a working experimental `archipelago-core-latest.iso` exists.
|
||||
This delivery order does not relax D-043 identity or D-050 public release gates.
|
||||
|
|
|
|||
|
|
@ -68,6 +68,13 @@ The exact implementation may use a local pacman repository or a controlled packa
|
|||
|
||||
## 4. Local state and history
|
||||
|
||||
D-090 fixes the repository transport binding: named Host Extensions and their
|
||||
dependencies use the immutable snapshot embedded in their selected base. New OS
|
||||
deliveries advance its URL/identity; reapplication starts from the new base and
|
||||
snapshot. Retired/missing snapshot inputs are errors, never permission to use the
|
||||
rolling mirror. See [release snapshots](../spec/release-snapshots.md) for the
|
||||
three-snapshot retention and remaining retirement implementation.
|
||||
|
||||
### 4.1 Accepted intent and generation model (D-037)
|
||||
|
||||
Persist the user's explicitly requested extension set separately from automatically
|
||||
|
|
|
|||
|
|
@ -62,6 +62,14 @@ transactions on the infrastructure host. This is an explicit deployment gate.
|
|||
|
||||
## 3. Pipeline profile and scheduling
|
||||
|
||||
**D-090 supersedes the historical daily/monthly timing below.** The accepted schedule
|
||||
is the 15th and 30th of each month at 00:00 UTC, snapshot capture first and then
|
||||
Core/Purpose builds, ISO checks and signed publication. Operational fixes ship
|
||||
promptly; urgent CVE repository refreshes require explicit user instruction. The
|
||||
old daily trigger is disabled immediately. Replacement activation follows the
|
||||
current desktop/CLI/image task and the storage/snapshot integration. See
|
||||
[release snapshots](../spec/release-snapshots.md).
|
||||
|
||||
D-085 requests completion and daily activation of the deployed cycle at 00:00 UTC
|
||||
(03:00 MSK), with durable self-reported progress and failures. The current private
|
||||
adapter uses a host systemd timer/service for the daily trigger and bounded jobs,
|
||||
|
|
@ -103,6 +111,15 @@ to an already sealed snapshot and skip package capture/build/seal stages explici
|
|||
|
||||
## 4. Snapshot and pinning service
|
||||
|
||||
**D-090 replaces D-073's capture deferral after the current task.** Move terra's
|
||||
Archipelago infrastructure to `tank`, mirror contents in a dedicated ZFS dataset;
|
||||
use native snapshots and read-only date-time views at
|
||||
`/archipelago/arch-repo-snapshot/<UTC-date-time>/`. Keep at most three repository
|
||||
snapshots, with consistency validation and reference-aware retirement. Build and
|
||||
installed Host Extension inputs remain bound to the selected snapshot; the entire
|
||||
isolated bootstrap is upgraded from it before Core. The older monthly/deferred
|
||||
sequencing below is historical where superseded.
|
||||
|
||||
D-073 defers capture and bulk mirror copying during experimental development;
|
||||
use the live mirror with exact per-run input evidence and no silent substitution.
|
||||
The release snapshot service below remains required before public release.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,19 @@
|
|||
# Журнал решений Archipelago
|
||||
|
||||
## D-090 — snapshot-сборки по расписанию и перенос terra на tank (Accepted, 2026-11-06)
|
||||
|
||||
Пользователь явно утвердил: оперативные исправления Archipelago/слоёв/наполнения
|
||||
выкатываются немедленно через проверяемый ручной цикл; регулярные snapshot-сборки —
|
||||
15-го и 30-го числа месяца в 00:00 UTC, срочные CVE — вне расписания по его указанию.
|
||||
Ежедневный таймер отключить сразу. Всю инфраструктуру Archipelago на terra перенести
|
||||
на `tank`, содержимое зеркала — в отдельный dataset. Публиковать неизменяемые ZFS
|
||||
snapshot views в `/archipelago/arch-repo-snapshot/<UTC-date-time>/`, хранить не более
|
||||
трёх. Из выбранного snapshot обновлять все пакеты изолированного bootstrap, затем
|
||||
собирать Core и Purpose, проверять ISO и публиковать на портале/в OSTree. Host
|
||||
Extensions используют snapshot своей базы; новые поставки обновляют URL/identity.
|
||||
Перенос и новое расписание выполнять после текущей задачи GUI/CLI/образов.
|
||||
Подробности и замещаемые решения: [контракт](../../spec/release-snapshots.md).
|
||||
|
||||
## D-089 — состав KDE и Plasma Setup (Accepted, 2026-11-06)
|
||||
|
||||
Пользователь принимает предложенное разделение нативного/Flatpak-софта KDE и
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
# Accepted contract registry
|
||||
|
||||
### Repository cadence and storage amendment — D-090 (2026-11-06)
|
||||
|
||||
Accepted: prompt manual fixes, snapshot-bound scheduled builds on the 15th/30th at
|
||||
00:00 UTC, user-directed urgent CVE runs, terra infrastructure on `tank`, a dedicated
|
||||
mirror dataset and at most three native ZFS repository snapshots. Installed Host
|
||||
Extensions follow the base snapshot. Disable daily scheduling now; implement the
|
||||
migration/new schedule after the current desktop/CLI/image task. See
|
||||
[release snapshots](release-snapshots.md) for exact scope and supersession.
|
||||
|
||||
### KDE product amendment — D-089 (2026-11-06)
|
||||
|
||||
Accepted KDE native/Flatpak software split and Plasma Setup provisioning direction:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,20 @@
|
|||
# Archipelago Decision Log
|
||||
|
||||
## D-090 — Snapshot-based scheduled rebuilds and terra storage migration (Accepted, 2026-11-06)
|
||||
|
||||
Explicit user approval: promptly release Archipelago/layer/content fixes; run
|
||||
regular snapshot capture and full rebuilds at 00:00 UTC on the 15th and 30th of
|
||||
each month; urgent CVE runs require explicit user instruction. Disable daily
|
||||
scheduling immediately. Move terra's Archipelago infrastructure and working mirror
|
||||
onto `tank`, mirror contents in a separate ZFS dataset. Publish immutable native
|
||||
ZFS snapshot views under `/archipelago/arch-repo-snapshot/<UTC-date-time>/`, retaining
|
||||
at most three. Update the entire isolated bootstrap from the selected snapshot,
|
||||
then build Core and Purpose, check ISOs and publish to the portal/OSTree. Host
|
||||
Extensions use their base's snapshot, with the URL/identity advanced in new images.
|
||||
Execute migration/new scheduling after the current GUI/CLI/image task. Details and
|
||||
supersession: [release snapshots](release-snapshots.md). This is approval, not
|
||||
implementation or new release-admission evidence.
|
||||
|
||||
## D-089 — KDE composition and Plasma Setup (Accepted, 2026-11-06)
|
||||
|
||||
The user accepts the proposed KDE native/Flatpak split and upstream Plasma Setup
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
# Archipelago Open Questions
|
||||
|
||||
D-090 settles cadence/storage direction: replace daily builds with snapshot capture
|
||||
and rebuild on the 15th/30th at 00:00 UTC, migrate terra infrastructure to tank and
|
||||
retain at most three ZFS repository snapshots. Earlier monthly/daily/capture-deferred
|
||||
statements below are historical where superseded. Open implementation: inventory
|
||||
and migration layout, consistent capture/export, immutable descriptor binding,
|
||||
whole-bootstrap upgrade, base-snapshot Host Extensions and reference-aware retirement.
|
||||
See [release snapshots](release-snapshots.md); execute after the current GUI/CLI task.
|
||||
|
||||
KDE product choices are accepted by D-089: native/Flatpak split and Plasma Setup.
|
||||
Open implementation work is tracked in [KDE Desktop](kde-desktop.md): exact package
|
||||
and Flatpak/runtime inputs, display-manager handoff, completion observer, explicit
|
||||
|
|
|
|||
92
spec/release-snapshots.md
Normal file
92
spec/release-snapshots.md
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
# 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.
|
||||
- Scheduled repository refresh/rebuild runs at **00:00 UTC on the 15th and 30th of
|
||||
each month**. These are calendar dates, not an interval of fourteen days. There is
|
||||
no February 30 invocation and no implicit substitution with the month's last day.
|
||||
- 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.
|
||||
- Disable the former daily timer now. Activate the replacement schedule only after
|
||||
the current task and the snapshot/migration integration are completed.
|
||||
- Manual and scheduled invocations share the driver, overlap lock, evidence,
|
||||
acceptance, signing and publication contracts. Existing release gates and scoped
|
||||
exceptions remain in force; this decision does not approve incomplete images.
|
||||
|
||||
## Snapshot then build
|
||||
|
||||
1. Synchronize the repository mirror onto terra's `tank`, in its own ZFS dataset.
|
||||
Complete synchronization before capture, excluding concurrent mirror writers.
|
||||
2. 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.
|
||||
3. 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.
|
||||
4. 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.
|
||||
5. Build Core, then Purpose layers using the same snapshot and the same cycle's
|
||||
Core. Compose/finalize, build the ISOs, execute their required installed-system
|
||||
checks, then sign and publish ISOs to the portal and layers/images to OSTree.
|
||||
|
||||
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.
|
||||
|
|
@ -22,6 +22,16 @@ Infrastructure source is also checked out on terra, not only in an agent workspa
|
|||
|
||||
## Host and routes
|
||||
|
||||
**D-090 amendment (2026-11-06):** after the current desktop/CLI/image task, migrate
|
||||
all Archipelago infrastructure on terra and the active mirror onto `tank`, keeping
|
||||
mirror contents in a separate ZFS dataset. The historical Btrfs paths below are
|
||||
inventory inputs, not proof of completed migration. Publish read-only repository
|
||||
snapshots under `/archipelago/arch-repo-snapshot/<UTC-date-time>/`; retain at most
|
||||
three. Disable daily scheduling now; the replacement capture/build schedule is
|
||||
15th/30th at 00:00 UTC. See [release snapshots](release-snapshots.md). Yabloko remains
|
||||
the build/VM worker; tall-bridge may prepare/transfer Flatpak caches under the
|
||||
user's separate explicit acceleration instruction.
|
||||
|
||||
`terra` replaces `superserv1` for new infrastructure builds, validation and publishing.
|
||||
Existing laboratory runs on superserv1 may finish; their evidence is retained.
|
||||
The Arch mirror already operates at `/opt/mirror` on terra. Integration into its
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue