From 22f7a6c36d84d0b32bc86b889cb3aa317b4a50f4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 1 Jul 2026 09:16:54 +0800 Subject: [PATCH] fix(ci): keep non110 runner sources on controlled profile --- .gitea/workflows/cd.yaml | 12 ++++++++++++ ops/runner/test_cd_controlled_runtime_profile.py | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 1a51fbc68..742b7185e 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -488,10 +488,18 @@ jobs: ;; ops/runner/read-public-gitea-actions-queue.py) ;; + ops/runner/check-awoooi-non110-runner-readiness.sh) + ;; + ops/runner/install-awoooi-non110-runner-user-service.sh) + ;; ops/runner/test_read_public_gitea_actions_queue.py) ;; ops/runner/test_cd_controlled_runtime_profile.py) ;; + ops/runner/test_check_awoooi_non110_runner_readiness.py) + ;; + ops/runner/test_install_awoooi_non110_runner_user_service.py) + ;; ops/runner/test_check_awoooi_110_controlled_cd_lane_readiness.py) ;; ops/runner/test_verify_awoooi_non110_cd_closure.py) @@ -725,6 +733,8 @@ jobs: python3.11 -c "import yaml; yaml.safe_load(open('../../ops/monitoring/alerts-unified.yml')); print('alerts-unified YAML OK')" bash -n \ ../../ops/runner/check-awoooi-110-controlled-cd-lane-readiness.sh \ + ../../ops/runner/check-awoooi-non110-runner-readiness.sh \ + ../../ops/runner/install-awoooi-non110-runner-user-service.sh \ ../../scripts/reboot-recovery/deploy-to-110.sh \ ../../scripts/reboot-recovery/deploy-to-188.sh \ ../../scripts/reboot-recovery/recover-110-control-path-and-harbor-local.sh \ @@ -780,6 +790,8 @@ jobs: tests/test_trust_drift_watchdog.py \ ../../ops/runner/test_read_public_gitea_actions_queue.py \ ../../ops/runner/test_cd_controlled_runtime_profile.py \ + ../../ops/runner/test_check_awoooi_non110_runner_readiness.py \ + ../../ops/runner/test_install_awoooi_non110_runner_user_service.py \ ../../ops/runner/test_check_awoooi_110_controlled_cd_lane_readiness.py \ ../../ops/runner/test_verify_awoooi_non110_cd_closure.py \ ../../scripts/reboot-recovery/tests/test_dr_escrow_evidence_checklist.py \ diff --git a/ops/runner/test_cd_controlled_runtime_profile.py b/ops/runner/test_cd_controlled_runtime_profile.py index d5fef6371..feb7c637b 100644 --- a/ops/runner/test_cd_controlled_runtime_profile.py +++ b/ops/runner/test_cd_controlled_runtime_profile.py @@ -151,6 +151,22 @@ def test_non110_cd_lane_keeps_pressure_guard_fail_hard_with_bounded_load_thresho assert "warn-only" in text +def test_non110_runner_keepalive_sources_stay_on_controlled_runtime_profile() -> None: + text = _workflow_text() + expected_sources = [ + "ops/runner/check-awoooi-non110-runner-readiness.sh)", + "ops/runner/install-awoooi-non110-runner-user-service.sh)", + "ops/runner/test_check_awoooi_non110_runner_readiness.py)", + "ops/runner/test_install_awoooi_non110_runner_user_service.py)", + "../../ops/runner/check-awoooi-non110-runner-readiness.sh", + "../../ops/runner/install-awoooi-non110-runner-user-service.sh", + "../../ops/runner/test_check_awoooi_non110_runner_readiness.py", + "../../ops/runner/test_install_awoooi_non110_runner_user_service.py", + ] + for source in expected_sources: + assert source in text + + def test_harbor_watchdog_exposes_controlled_check_and_one_shot_repair() -> None: text = (ROOT / "scripts/reboot-recovery/harbor-watchdog.sh").read_text( encoding="utf-8"