infrastructure/pipeline/KDE.md

3.8 KiB

Three-variant release-cycle integration

D-091 (2026-11-07) authorizes public KDE ISO, image and layers after the user's hardware confirmation. The checked 20261107T055158Z candidate is published to stable/kde (image a3b7d49ee0785a20522beb509ddaceeb226b97ca0b24227ef8399d77d36f5be1). Set kde_release_decision: "D-091" for subsequent three-variant cycles; D-090 cadence still applies. The first follow-up delivers the Plasma/Breeze SDDM vendor theme default. Discover update acceptance remains the user's next hardware check. Historical private-candidate restrictions below are superseded by this authorization.

The driver accepts variants: ["core", "gnome", "kde"]; omitting it preserves the two-variant cycle. Set kde_flatpak_cache to /opt/archipelago/cache/flatpak/kde. The persistent GNOME cache remains at its existing path. Each cache refresh uses its own policy and permits fallback only to a checksum-verified identical policy. Cold caches have a separate bounded flatpak_initial_fill_seconds budget (7200 seconds by default); warm-cache refresh keeps its 1800-second budget. Interrupted downloads remain in the dedicated installation for the next normal run.

First attempt 20261106T183225Z compiled the updated Rust CLI and refreshed GNOME, then exhausted the former shared 1800-second limit during the initial KDE runtime download (org.kde.Platform.Locale/6.10). No KDE image/plugin or publication was produced. The four completed Freedesktop runtime refs and approximately 1.2 GiB of installation data were retained. This motivated the separate cold-cache budget; successful initial fill still needs evidence from the next normal cycle.

The source freeze includes both native software adapters. Discover's adapter is built in an ephemeral Arch environment from the source archive matching the snapshot's installed Discover version, whose upstream sha256 is verified; the same package identity is checked again in KDE staging. No point release is pinned. Only the plugin is installed, not the rebuilt Discover application/common library. The run builds Core once, then GNOME and KDE against its package inputs and layer commit.

kde_ui_actions is a path relative to the frozen workspace, containing JSON: {"version":1,"variant":"kde","actions":[["--keys","ret"]]}. Each action uses the existing bounded QMP input helper; @credential@ is substituted only with the private per-VM credential-file path. The actual sequence must be calibrated on the selected Plasma Setup package, including an authenticated SDDM login. The example above is format documentation, not a working UI profile. No action profile is claimed verified yet. Missing actions preserve the first screen and fail the native check. For the first image only, kde_ui_calibration permits a bounded 30-minute wait for actual Plasma Setup completion and SDDM login through QMP. It does not inject an account or skip any guest checks. Evidence marks this as manual calibration; subsequent autonomous runs need a frozen action profile. Evidence binds the profile hash (when present) and ISO hash.

Publication supports KDE refs/catalog/history with the same three-version retention. A three-variant publication cannot silently drop an existing variant. kde_release_decision identifies explicit authorization for its release exception; D-087 alone remains Core/GNOME-only. Without that KDE authorization, the cycle archives KDE as a private candidate and publishes only the authorized Core/GNOME pair after checks. This source implementation does not grant release admission. Current production config is not changed by source edits.

All compilation, Flatpak preparation and VM checks execute on yabloko, then artifacts transfer directly to terra. No separate tests were started during this implementation. The active cycle's frozen sources and config remain authoritative.