Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Keep optional TrueNAS parent controls independent of other proof inputs

pulse-triage[bot]d589407a743a
diff --git a/scripts/installtests/truenas_api_guidance_test.go b/scripts/installtests/truenas_api_guidance_test.go
index 9107e4107e..d71f5ebd92 100644
--- a/scripts/installtests/truenas_api_guidance_test.go
+++ b/scripts/installtests/truenas_api_guidance_test.go
@@ -219,6 +219,11 @@ func TestTrueNASAPIGuidanceRejectsUnsafeRecipesAndExactParent(t *testing.T) {
}
if inputs := os.Getenv("PULSE_PROOF_INPUTS"); inputs != "" {
parent, err := os.ReadFile(filepath.Join(inputs, "truenas-parent.md"))
+ if os.IsNotExist(err) {
+ // Other source proofs can supply unrelated inputs. The mutation
+ // controls above still apply without this optional parent receipt.
+ return
+ }
if err != nil {
t.Fatal(err)
}