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.

Repair latest main test gates

pulse-triage[bot]c8781b993e5a
diff --git a/frontend-modern/src/pages/__tests__/Alerts.readOnly.test.tsx b/frontend-modern/src/pages/__tests__/Alerts.readOnly.test.tsx
index 020f34eb98..ad3e4b038a 100644
--- a/frontend-modern/src/pages/__tests__/Alerts.readOnly.test.tsx
+++ b/frontend-modern/src/pages/__tests__/Alerts.readOnly.test.tsx
@@ -37,6 +37,8 @@ vi.mock('@solidjs/router', async () => {
vi.mock('@/contexts/appRuntime', () => ({
useWebSocket: () => ({
activeAlerts: {},
+ activeAlertsHydrationStatus: () => 'ready',
+ refreshActiveAlerts: vi.fn(async () => undefined),
updateAlert: vi.fn(),
removeAlerts: vi.fn(),
}),
diff --git a/internal/ai/patrol_integration_test.go b/internal/ai/patrol_integration_test.go
index f8af477900..9bf4f99037 100644
--- a/internal/ai/patrol_integration_test.go
+++ b/internal/ai/patrol_integration_test.go
@@ -17,7 +17,6 @@ import (
// integrationOrchestrator records investigation triggers without running real LLM calls.
type integrationOrchestrator struct {
canStart bool
- investigated []string // finding IDs passed to InvestigateFinding
investigateCh chan string
canStartCh chan struct{}
runningCount int32
@@ -32,7 +31,6 @@ func newIntegrationOrchestrator(canStart bool) *integrationOrchestrator {
}
func (o *integrationOrchestrator) InvestigateFinding(_ context.Context, f *InvestigationFinding, _ string) error {
- o.investigated = append(o.investigated, f.ID)
o.investigateCh <- f.ID
return nil
}