From ef95b500d8ca408321aa70b031f41bbdb5ed4f1f Mon Sep 17 00:00:00 2001 From: Public Source Publisher Date: Sat, 10 Oct 2026 19:04:10 +0000 Subject: [PATCH] Publish curated Unraid-AppOps-Gateway source from 965c416ebf041123a61bc54b20bde0ad09b9ccc3 --- PUBLIC_SOURCE_EXPORT.md | 2 +- PUBLIC_SOURCE_MANIFEST.json | 18 +++++++++--------- backend/tests/test_deploy_broker.py | 6 ++++-- .../test_projectbrain_delivery_revalidation.py | 3 ++- ...st_registered_legacy_followup_controller.py | 4 ++-- .../tests/test_repopulse_adoption_effects.py | 6 +++++- 6 files changed, 23 insertions(+), 16 deletions(-) diff --git a/PUBLIC_SOURCE_EXPORT.md b/PUBLIC_SOURCE_EXPORT.md index 10b0e38..0452475 100644 --- a/PUBLIC_SOURCE_EXPORT.md +++ b/PUBLIC_SOURCE_EXPORT.md @@ -1,3 +1,3 @@ # Public source export -This source snapshot was generated from the private canonical repository at revision `50b3c135619d2d32304d515aa76903c6cb062eab`. It contains no private Git history or operational evidence. Changes are published from the canonical repository. +This source snapshot was generated from the private canonical repository at revision `965c416ebf041123a61bc54b20bde0ad09b9ccc3`. It contains no private Git history or operational evidence. Changes are published from the canonical repository. diff --git a/PUBLIC_SOURCE_MANIFEST.json b/PUBLIC_SOURCE_MANIFEST.json index 009a748..7cba0ac 100644 --- a/PUBLIC_SOURCE_MANIFEST.json +++ b/PUBLIC_SOURCE_MANIFEST.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, - "sourceRevision": "50b3c135619d2d32304d515aa76903c6cb062eab", + "sourceRevision": "965c416ebf041123a61bc54b20bde0ad09b9ccc3", "files": [ { "path": ".dockerignore", @@ -1024,8 +1024,8 @@ }, { "path": "backend/tests/test_deploy_broker.py", - "sha256": "40c290925c0569192973d858e5df36b91e3c5dd38ce638b9f19b0ca60e61903a", - "bytes": 442136 + "sha256": "5f7a8bd1724a81a5d7628f4b65e23687acb1a6af2ff5eb63e6d770d6e15914c0", + "bytes": 442256 }, { "path": "backend/tests/test_deployment_auto_rollback.py", @@ -1429,8 +1429,8 @@ }, { "path": "backend/tests/test_projectbrain_delivery_revalidation.py", - "sha256": "d46946e8be179372c84adab6f56f57de27a4492db6d0edb73d75035a433c5b40", - "bytes": 57909 + "sha256": "7e3506a2e52d8ab1fe282541eae0e256c0ae0077a08bf958fb71102154d2c5c7", + "bytes": 57983 }, { "path": "backend/tests/test_prowlarr_connector.py", @@ -1464,8 +1464,8 @@ }, { "path": "backend/tests/test_registered_legacy_followup_controller.py", - "sha256": "40cc28c34d6fdb57620809b6f19a6853f0ae41479f4d3052a601fcd561726535", - "bytes": 7267 + "sha256": "67d61b01a1b2ebd57ef723460c97b96a336ef5d6d82557223ebd138d9036715f", + "bytes": 7309 }, { "path": "backend/tests/test_registered_legacy_followup_core.py", @@ -1499,8 +1499,8 @@ }, { "path": "backend/tests/test_repopulse_adoption_effects.py", - "sha256": "b9f9207ae5e006843fae10cc8d70b641a9be9f46572939a4bba5f520f57fe6a0", - "bytes": 39958 + "sha256": "2aae192532733a2360cd594adcaf18ba436ccb7bd24d34a0ad848aa74cd73dab", + "bytes": 40113 }, { "path": "backend/tests/test_repopulse_adoption_executor.py", diff --git a/backend/tests/test_deploy_broker.py b/backend/tests/test_deploy_broker.py index 0c2ddaf..637d519 100644 --- a/backend/tests/test_deploy_broker.py +++ b/backend/tests/test_deploy_broker.py @@ -42,8 +42,10 @@ def _load_module(name: str, path: Path): @pytest.fixture -def deploy_module(): - return _load_module("appops_deploy_broker_test", BROKER_ROOT / "deploy.py") +def deploy_module(monkeypatch, tmp_path): + module = _load_module("appops_deploy_broker_test", BROKER_ROOT / "deploy.py") + monkeypatch.setattr(module, "APPOPS_PROGRESS_ROOT", tmp_path / "progress") + return module @pytest.fixture diff --git a/backend/tests/test_projectbrain_delivery_revalidation.py b/backend/tests/test_projectbrain_delivery_revalidation.py index e244cc0..1620710 100644 --- a/backend/tests/test_projectbrain_delivery_revalidation.py +++ b/backend/tests/test_projectbrain_delivery_revalidation.py @@ -26,7 +26,7 @@ DELIVERY_SHA = "c" * 64 @pytest.fixture -def controller(monkeypatch): +def controller(monkeypatch, tmp_path): module = _load_module( "projectbrain_delivery_revalidation_test", BROKER_ROOT / "status_server.py", @@ -34,6 +34,7 @@ def controller(monkeypatch): monkeypatch.setattr(module, "_self_upgrade_signature_is_valid", lambda *_a, **_k: True) monkeypatch.setattr(module, "_self_upgrade_secret", lambda: b"test-key-" + b"x" * 48) monkeypatch.setattr(module, "_require_controller_release", lambda: {"status": "ready"}) + monkeypatch.setattr(module, "WEBHOOK_INBOX_ROOT", tmp_path) return module diff --git a/backend/tests/test_registered_legacy_followup_controller.py b/backend/tests/test_registered_legacy_followup_controller.py index 9697baf..b674c90 100644 --- a/backend/tests/test_registered_legacy_followup_controller.py +++ b/backend/tests/test_registered_legacy_followup_controller.py @@ -8,8 +8,8 @@ from test_hub_component_transport import controller as _controller_fixture @pytest.fixture -def deploy_module(): - return _deploy_fixture.__wrapped__() +def deploy_module(monkeypatch, tmp_path): + return _deploy_fixture.__wrapped__(monkeypatch, tmp_path) @pytest.fixture diff --git a/backend/tests/test_repopulse_adoption_effects.py b/backend/tests/test_repopulse_adoption_effects.py index 7f65ce0..842fde7 100644 --- a/backend/tests/test_repopulse_adoption_effects.py +++ b/backend/tests/test_repopulse_adoption_effects.py @@ -3,6 +3,7 @@ from __future__ import annotations import hashlib import importlib.util import json +import os import re import sys import tempfile @@ -446,7 +447,10 @@ def effects_env(tmp_path): def runtime_readable_scan_root(): # The pytest tmp_path parent is mode 0700 on Linux, so runtime UID 10001 # cannot traverse it even when the leaf scan directories are mode 0755. - with tempfile.TemporaryDirectory(prefix="repopulse-scan-") as directory: + # A private TMPDIR must not override the public Linux parent needed by UID 10001. + with tempfile.TemporaryDirectory( + prefix="repopulse-scan-", dir="/tmp" if os.name == "posix" else None, + ) as directory: root = Path(directory) root.chmod(0o755) yield root