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
Assert discovery freshness reaches the model end-to-end
rcourtmand29d9684dbbb
diff --git a/internal/ai/chat/service_execute_additional_test.go b/internal/ai/chat/service_execute_additional_test.goindex a2751ccc65..db8ccdf4ac 100644--- a/internal/ai/chat/service_execute_additional_test.go+++ b/internal/ai/chat/service_execute_additional_test.go@@ -3705,9 +3705,11 @@ func newCloudOperationalContextService(t *testing.T) (*Service, *[]providers.MesIdentity: unifiedresources.ResourceIdentity{Hostnames: []string{"homeassistant", "delly-ha-host"}},}})+ disc := homeAssistantDiscovery()+ disc.UpdatedAt = now.Add(-2 * 24 * time.Hour) // exercise freshness end-to-enddiscoveryProvider := &mockDiscoveryProvider{existing: map[string]*tools.ResourceDiscoveryInfo{- "system-container:node1:101": homeAssistantDiscovery(),+ "system-container:node1:101": disc,},}unifiedProvider := handoffUnifiedProvider{resources: map[unifiedresources.ResourceType][]unifiedresources.Resource{@@ -3752,6 +3754,7 @@ func TestService_ExecuteStream_DeliversCloudSafeOperationalContextToCloudModel(t"pct exec 101 -- docker exec homeassistant","/config/automations.yaml","8123",+ "Last discovered: 2 days ago", // freshness reaches the model end-to-end} {if !strings.Contains(content, want) {t.Fatalf("model context missing operational detail %q:\n%s", want, content)