Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Refuse tracked source drift before native updater compilation
pulse-triage[bot]491e872adbc9
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.ymlindex 35dc925f35..6171decf69 100644--- a/.github/workflows/build-and-test.yml+++ b/.github/workflows/build-and-test.yml@@ -299,6 +299,7 @@ jobs:run: |set -euo pipefailtest "$(git rev-parse HEAD)" = "$EXPECTED_SOURCE_SHA"+ git diff --quiet HEADdiff -qr --no-dereference frontend-modern/dist internal/api/frontend-modern/distgo build -mod=readonly -p=2 -ldflags='-X main.Version=v0.0.1' -o "$RUNNER_TEMP/pulse-native-before" ./cmd/pulsego build -mod=readonly -p=2 -ldflags='-X main.Version=v0.0.2' -o "$RUNNER_TEMP/pulse-native-after" ./cmd/pulsediff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 8d04ee509a..b41d6eb033 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -124,6 +124,8 @@ contains source/binary/output hashes, all phases and cleanup, never signer keys,persistent contents or raw application/installer logs.The private fixture disables telemetry and binds the existing service to loopback;it exposes no test server on the hosted VM's external interface.+Before compiling the native pair, CI requires the exact checkout head and no+tracked-source delta, not merely a plausible commit label after frontend preparation.`TestAutoUpdateNativeSystemdHarnessContracts` checks the exact recipe, admission,closed transport, real local signatures and phase refusals, and runs the connecteddiff --git a/scripts/tests/test_auto_update_systemd.py b/scripts/tests/test_auto_update_systemd.pyindex 6c501b22ff..5fad02f539 100644--- a/scripts/tests/test_auto_update_systemd.py+++ b/scripts/tests/test_auto_update_systemd.py@@ -32,6 +32,7 @@ def recipe(source):shell = re.search(r"(?ms)^ run: \|\n((?: [^\n]*\n)+)", step)[1]shell = "\n".join(line[10:] for line in shell.splitlines()) + "\n"for command in ('test "$(git rev-parse HEAD)" = "$EXPECTED_SOURCE_SHA"',+ "git diff --quiet HEAD","diff -qr --no-dereference frontend-modern/dist internal/api/frontend-modern/dist","-ldflags='-X main.Version=v0.0.1'", "-ldflags='-X main.Version=v0.0.2'","go build -mod=readonly -p=2", "sudo env -i",@@ -197,7 +198,11 @@ class NativeContracts(unittest.TestCase):import json, os, pathlib, sysargs = sys.argv[1:]; name = pathlib.Path(sys.argv[0]).namewith pathlib.Path(os.environ["TRACE"]).open("a") as out: out.write(json.dumps([name, *args])+"\\n")-if name == "git": print("b"*40 if os.environ["MISMATCH"] == "true" else "a"*40)+if name == "git":+ if args == ["rev-parse", "HEAD"]: print("b"*40 if os.environ["MISMATCH"] == "true" else "a"*40)+ elif args == ["diff", "--quiet", "HEAD"]:+ if os.environ["FAIL_BUILD"] == "source-modified": sys.exit(49)+ else: sys.exit(97)if name == "go":if args[args.index("-o")+1].endswith(os.environ["FAIL_BUILD"]) and os.environ["FAIL_BUILD"]: sys.exit(43)pathlib.Path(args[args.index("-o")+1]).write_text("compiler double, not a product build\\n")@@ -216,10 +221,10 @@ if name == "sudo":def test_exact_workflow_recipe_is_scrubbed_and_propagates_all_failures(self):result, calls, receipt = self.run_recipe()self.assertEqual(result.returncode, 0, result.stderr)- self.assertEqual([call[0] for call in calls], ["git", "go", "go", "sudo"])+ self.assertEqual([call[0] for call in calls], ["git", "git", "go", "go", "sudo"])self.assertTrue(receipt)self.assertEqual(calls[-1][1:3], ["env", "-i"])- for failure, code, count in (("before", 43, 2), ("after", 43, 3), ("native", 45, 4)):+ for failure, code, count in (("source-modified", 49, 2), ("before", 43, 3), ("after", 43, 4), ("native", 45, 5)):result, calls, receipt = self.run_recipe(failure)self.assertEqual(result.returncode, code)self.assertEqual(len(calls), count)