Wire System1 contract builds into normal pipeline and record ISO refresh fix

This commit is contained in:
Pavel Isaev 2026-11-07 16:43:05 +03:00
parent 66134b60b4
commit 778904f8fa
5 changed files with 48 additions and 0 deletions

View file

@ -2,6 +2,28 @@
Updated 2026-11-07. Architectural acceptance is separate from implementation.
## SDDM update publication and stale portal cards (2026-11-07)
Run `20261107T101235Z` completed automatically at 13:20:47 UTC, including all three
installed-VM checks, publication and worker cleanup. Core/GNOME/KDE ISO aliases and
versioned URLs serve the new artifacts; HTTPS HEAD sizes and checksum sidecars match
the release records. Evidence: `/opt/archipelago/evidence/sddm-20261107T101235Z/https-complete.json`.
KDE image is `a747ff537a991ce20a1735506576e554e648bed09a2465c50fccc73fbc4eac80`,
ISO SHA256 `b7ae2e329530fb5b26827952d5549ce0cd7358670ce6d19314d557faca863719`.
Physical-host Discover acceptance remains the user's step; KDE UI calibration and
other documented release limitations are not removed by this result.
The user's apparent missing-publication report was reproduced: an open browser tab
showed the completed new pipeline but old `20261107T055158Z` release cards, because
only pipeline status polled. Fix `66134b6` is pushed and deployed: cards now refresh
the current v1 catalog every 30 seconds while visible and on return/focus, with
bounded nonoverlapping requests. Version-pinned download URLs keep checksums and
bytes paired during publication. Both existing catalog APIs and ISO aliases remain.
Live browser verification simulated the prior catalog and a network error, confirmed
the stale notice and retained pinned links, then restored all three current cards
without reloading. Real catalog/aliases already held the new release, so no publisher
replay or rebuild was needed.
## Interactive Docs portal (2026-11-07)
Deployed `8fd9b2b` to the active terra portal and candidate source copy after Git

View file

@ -1,5 +1,19 @@
# Daily release cycle
## D-Bus source integration in progress
The updated source compile stage builds both Rust entrypoints and runs the contract/system
crate checks in the same normal release cycle, archiving
`service-contract-checks.log`. Both native adapter builds generate their bus
proxies from `contracts/dbus/org.archipelago.System1.xml` and record its checksum.
This wiring is source preparation, not service rollout: the image builder does
not yet install the read-only daemon slice or switch native GUI calls. See
`system/SERVICE.md` in the workspace for the implementation boundary. No extra
standalone VM/test cycle is required for this preparatory change.
Deploy these driver/adapter changes only with the matching contracts/system/CLI
source revisions on the worker. The active release driver has not been switched
to the D-Bus source slice during development.
## English public status and portal (2026-11-07)
### Live release-card refresh correction

View file

@ -11,6 +11,7 @@ mkdir -p "$sources"
systemd-nspawn --quiet --ephemeral --settings=no --register=no \
--machine="archipelago-discover-build-$$" -D "$tools" \
--bind-ro="$source_root/system/integrations/discover:/adapter" \
--bind-ro="$source_root/contracts/dbus:/contract" \
--bind-ro="$source_root/builder/packages/plasma-setup:/setup-recipe" \
--bind="$sources:/sources" \
--bind="$cache:/var/cache/pacman/pkg" --bind="$output:/output" \
@ -42,6 +43,7 @@ mkdir /tmp/discover-build
tar -xf /output/discover-6.8.2.tar.xz -C /tmp/discover-build
source=/tmp/discover-build/discover-6.8.2
cp -a /adapter "$source/libdiscover/backends/ArchipelagoBackend"
cp /contract/org.archipelago.System1.xml "$source/libdiscover/backends/ArchipelagoBackend/"
printf "\nadd_subdirectory(ArchipelagoBackend)\n" >> "$source/libdiscover/backends/CMakeLists.txt"
cmake -S "$source" -B /tmp/discover-build/build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DWITH_KCM=OFF -DWITH_NOTIFIER=OFF
@ -55,6 +57,7 @@ if grep -q "not found" /output/loader-check.txt; then
exit 1
fi
sha256sum /adapter/ArchipelagoBackend.cpp /adapter/CMakeLists.txt /output/discover-6.8.2.tar.xz /output/archipelago-backend.so > /output/SHA256SUMS
sha256sum /contract/org.archipelago.System1.xml >> /output/SHA256SUMS
# Build the missing upstream onboarding package before Core captures its local
# repository universe. Purpose installs it normally from that signed repository.
source /setup-recipe/PKGBUILD

View file

@ -9,16 +9,21 @@ mkdir -p "$output"
systemd-nspawn --quiet --ephemeral --settings=no --register=no \
--machine="archipelago-software-build-$$" -D "$tools" \
--bind-ro="$source_root/system/integrations/gnome-software:/source" \
--bind-ro="$source_root/contracts/dbus:/contract" \
--bind="$cache:/var/cache/pacman/pkg" --bind="$output:/output" \
/bin/bash -euo pipefail -c '
pacman-key --init
pacman-key --populate archlinux
pacman -Syu --needed --noconfirm gcc pkgconf gnome-software json-glib sysprof
pkg-config --exact-version=51.1 gnome-software
gdbus-codegen --interface-prefix org.archipelago.System1. --c-namespace ArchipelagoSystem \
--generate-c-code /output/archipelago-system-bus /contract/org.archipelago.System1.xml
gcc -shared -fPIC -O2 -Wall -Werror=implicit-function-declaration \
-DG_LOG_DOMAIN=\"GsPluginArchipelago\" /source/gs-plugin-archipelago.c \
/output/archipelago-system-bus.c \
-o /output/libgs_plugin_archipelago.so $(pkg-config --cflags --libs gnome-software json-glib-1.0)
sha256sum /source/gs-plugin-archipelago.c /output/libgs_plugin_archipelago.so > /output/SHA256SUMS
sha256sum /contract/org.archipelago.System1.xml /output/archipelago-system-bus.[ch] >> /output/SHA256SUMS
gcc -O2 -Wall -Werror=implicit-function-declaration \
-DG_LOG_DOMAIN=\"GsPluginArchipelago\" /source/test-plugin.c \
-o /output/test-plugin $(pkg-config --cflags --libs gnome-software json-glib-1.0)

View file

@ -202,9 +202,13 @@ cp -a {remote_root}/source/src/test-lab/probes {remote_root}/probes
mkdir -p {shlex.quote(config['worker_source_root'])}/target {shlex.quote(config['worker_root'])}/cache/cargo
docker run --rm --network=none --mount type=bind,src={remote_root}/source/src,dst=/build/src,readonly --mount type=bind,src={shlex.quote(config['worker_source_root'])}/target,dst=/build/target --mount type=bind,src={shlex.quote(config['worker_root'])}/cache/cargo,dst=/usr/local/cargo/registry {shlex.quote(config['worker_tools_image'])} cargo build --manifest-path /build/src/cli/Cargo.toml --offline --locked --release
cp {shlex.quote(config['worker_source_root'])}/target/release/archipelago {remote_root}/archipelago
cp {shlex.quote(config['worker_source_root'])}/target/release/archipelagod {remote_root}/archipelagod
docker run --rm --network=none --mount type=bind,src={remote_root}/source/src,dst=/build/src,readonly --mount type=bind,src={shlex.quote(config['worker_source_root'])}/target,dst=/build/target --mount type=bind,src={shlex.quote(config['worker_root'])}/cache/cargo,dst=/usr/local/cargo/registry {shlex.quote(config['worker_tools_image'])} cargo test --manifest-path /build/src/cli/Cargo.toml --offline --locked --release -p archipelago-system -p archipelago-contracts > {remote_root}/service-contract-checks.log 2>&1
sha256sum {remote_root}/archipelago > {remote_root}/inputs.sha256
sha256sum {remote_root}/archipelagod >> {remote_root}/inputs.sha256
sha256sum {remote_root}/source.tar >> {remote_root}/inputs.sha256
find {remote_root}/probes -type f -name '*.py' -exec sha256sum {{}} + >> {remote_root}/inputs.sha256''')
call(['rsync', '-a', f'{worker}:{remote_root}/service-contract-checks.log', str(run / 'service-contract-checks.log')])
if config.get('flatpak_cache') and not args.existing:
remote(f'test "$(df -PB1 {remote_root} | awk \'NR==2 {{print $4}}\')" -ge {config.get("minimum_build_free_bytes", 45000000000)}')
phase('updating-flatpak-cache')