Publish curated Unraid-AppOps-Gateway source from 402a0ef2e7d14e98325504f79ab7d7651ffc88b1

This commit is contained in:
Public Source Publisher committed 2026-10-09 10:59:14 +00:00
1 parent e49634bb10
commit 58f5e3c8c2
6 files changed
+70 -24

No files matched your search

@@ -242,15 +242,22 @@ def test_upgrade_rolls_back_state_before_restoring_or_starting_the_old_writer():
def test_wrapper_binds_reconciliation_helper_to_the_immutable_revision():
wrapper = WRAPPER_PATH.read_text(encoding="utf-8")
archive_line = next(
line for line in wrapper.splitlines()
if re.match(r"^\s*& git(?:\s+-c\s+\S+)*\s+archive\b", line)
)
assert "scripts/reconcile_controller_state.py" in wrapper
assert "git archive" in wrapper
assert "scripts/reconcile_controller_state.py" in archive_line
assert "$SourceRevision" in archive_line
def test_wrapper_archives_the_fixed_operator_handoff_required_by_root_upgrade():
wrapper = WRAPPER_PATH.read_text(encoding="utf-8")
upgrade = UPGRADE_PATH.read_text(encoding="utf-8")
archive_line = next(line for line in wrapper.splitlines() if "git archive" in line)
archive_line = next(
line for line in wrapper.splitlines()
if re.match(r"^\s*& git(?:\s+-c\s+\S+)*\s+archive\b", line)
)
source_paths_match = re.search(r"(?ms)^source_paths=\((.*?)^\)", upgrade)
assert "scripts/run_repopulse_adoption.py" in archive_line