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
Align Discovery controls with explicit VM cancellation truth
pulse-triage[bot]8b6513581c8a
diff --git a/internal/servicediscovery/deep_scanner_test.go b/internal/servicediscovery/deep_scanner_test.goindex 4ab6ae1205..7482abd530 100644--- a/internal/servicediscovery/deep_scanner_test.go+++ b/internal/servicediscovery/deep_scanner_test.go@@ -3,11 +3,13 @@ package servicediscoveryimport ("bytes""context"+ "errors""strings""sync""testing""time"+ "github.com/rcourtman/pulse-go-rewrite/internal/agentexec""github.com/rs/zerolog""github.com/rs/zerolog/log")@@ -80,7 +82,9 @@ func (outputExecutor) IsAgentConnected(string) bool { return true }type errorExecutor struct{}func (errorExecutor) ExecuteCommand(ctx context.Context, agentID string, cmd ExecuteCommandPayload) (*CommandResultPayload, error) {- return nil, context.DeadlineExceeded+ // This control covers ordinary catalogue failure, not an uncertain+ // timed-out VM handoff (which now stops the scan in its own controls).+ return nil, errors.New("fixture command failed")}func (errorExecutor) GetConnectedAgents() []ConnectedAgent {@@ -393,8 +397,8 @@ func TestDeepScanner_ScanCanceledContext(t *testing.T) {ResourceID: "101:web",TargetID: "host1",Hostname: "host1",- }); err != nil {- t.Fatalf("Scan error: %v", err)+ }); err == nil || !agentexec.IsGuestExecDeferred(err.Error()) || len(exec.commands) != 0 {+ t.Fatalf("canceled VM scan must defer before dispatch: err=%v commands=%v", err, exec.commands)}}