From a83098122995fc14cedbab15eaa191bad44293ce Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 15:34:09 +0000 Subject: [PATCH] Connect installer admission to the existing updater fixtures The complete installer suite exposed the extracted-main fixture missing the new admission dependency and the native fixture still relocating one local destination definition. Keep server operations inert in the updater-completion unit, and relocate both actual admission/writer destinations in the connected signed recovery control. Runtime source, assertions and native safety checks remain intact. Contract-Neutral: Maintains existing fixture boundaries for the reviewed caller admission without changing production behavior, validation requirements or native qualification policy. Change-source: pulse-maintainer --- scripts/installtests/root_auto_update_repo_test.go | 5 ++++- scripts/tests/test_auto_update_systemd.py | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/installtests/root_auto_update_repo_test.go b/scripts/installtests/root_auto_update_repo_test.go index 9f229b5716..fff2deb1ef 100644 --- a/scripts/installtests/root_auto_update_repo_test.go +++ b/scripts/installtests/root_auto_update_repo_test.go @@ -234,7 +234,10 @@ ENABLE_AUTO_UPDATES=true print_info() { printf 'INFO %s\n' "$*"; } print_warn() { printf 'WARN %s\n' "$*"; } print_success() { printf 'SUCCESS %s\n' "$*"; } -for fn in print_header check_root detect_os check_docker_environment offer_existing_auto_updates run_upgrade_readiness_preflight backup_existing create_user download_pulse setup_directories setup_update_command ensure_systemd_service_installed create_marker_file; do +# Server-unit admission/replacement has its own connected main/archive/source +# controls. Keep it inert with the other server operations in this extracted- +# main fixture, whose subject is optional updater setup and failure completion. +for fn in print_header check_root detect_os check_docker_environment offer_existing_auto_updates run_upgrade_readiness_preflight preflight_systemd_service_installation backup_existing create_user download_pulse setup_directories setup_update_command ensure_systemd_service_installed create_marker_file; do eval "$fn() { :; }" done check_existing_installation() { CURRENT_VERSION=v6.5.0; return 0; } diff --git a/scripts/tests/test_auto_update_systemd.py b/scripts/tests/test_auto_update_systemd.py index 307860fab6..77dc550559 100644 --- a/scripts/tests/test_auto_update_systemd.py +++ b/scripts/tests/test_auto_update_systemd.py @@ -679,11 +679,11 @@ else: sys.exit(97) original_write = Path.write_text def relocate(path, data, *args, **kwargs): if path.name == "installer-definitions": - # Relocate only the production destination. Keep its real - # private staging, checked writes and atomic publication in - # this connected signature/archive/recovery control too. + # Relocate both the shared admission and writer destination. + # Keep real name selection, refusal, private staging, checked + # writes and atomic publication in this connected control. before = 'local service_path="/etc/systemd/system/$SERVICE_NAME.service"' - self.assertEqual(data.count(before), 1) + self.assertEqual(data.count(before), 2) data = data.replace(before, 'local service_path="$PULSE_NATIVE_ROOT/pulse-source-updater.service"') return original_write(path, data, *args, **kwargs) try: