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.

Align guards with accepted PBS safety and release direction

pulse-triage[bot]5116c2a2d9e4
diff --git a/internal/repoctl/canonical_development_protocol_test.go b/internal/repoctl/canonical_development_protocol_test.go
index 310d385906..5e6b8a9107 100644
--- a/internal/repoctl/canonical_development_protocol_test.go
+++ b/internal/repoctl/canonical_development_protocol_test.go
@@ -549,7 +549,7 @@ func TestReleaseControlPlaneFilesExist(t *testing.T) {
"Direction changes must be normalized",
"Do not wait for a special governance prompt",
"stable or GA promotion readiness",
- "v6-product-lane-expansion",
+ "v6-release-reliability",
"v6-ga-promotion",
"v6-rc-stabilization",
"available_candidate_lane_queue",
diff --git a/internal/repoctl/setup_bootstrap_docs_test.go b/internal/repoctl/setup_bootstrap_docs_test.go
index 2bba957374..7f96dacea5 100644
--- a/internal/repoctl/setup_bootstrap_docs_test.go
+++ b/internal/repoctl/setup_bootstrap_docs_test.go
@@ -1,6 +1,10 @@
package repoctl
-import "testing"
+import (
+ "regexp"
+ "strings"
+ "testing"
+)
func TestSetupBootstrapDocsStayOnCanonicalArtifactContract(t *testing.T) {
apiRel := "docs/API.md"
@@ -27,7 +31,9 @@ func TestSetupBootstrapDocsStayOnCanonicalArtifactContract(t *testing.T) {
"Stop if the download fails",
"Do not bypass certificate checks",
})
- assertContainsNone(t, pbsRel, pbsDoc, []string{
+ // Inspect executable fences, not prose that warns against unsafe flags.
+ commands := strings.Join(regexp.MustCompile("(?s)```bash\n(.*?)```").FindAllString(pbsDoc, -1), "\n")
+ assertContainsNone(t, pbsRel, commands, []string{
"PULSE_SETUP_TOKEN=",
"sudo env PULSE_SETUP_TOKEN=",
"curl -k",