diff --git a/Makefile b/Makefile index cf6376d80..f1d7629d8 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ control-plane: test: @./scripts/ensure_test_assets.sh @echo "Running backend tests..." - go test -race -timeout 10m $$(go list $(GO_TEST_PACKAGES)) + go test -race -timeout 20m $$(go list $(GO_TEST_PACKAGES)) # Run integration tests (requires Ollama at OLLAMA_URL or 127.0.0.1:11434) test-integration: diff --git a/internal/unifiedresources/code_standards_test.go b/internal/unifiedresources/code_standards_test.go index 45be67eef..79cfa6a1f 100644 --- a/internal/unifiedresources/code_standards_test.go +++ b/internal/unifiedresources/code_standards_test.go @@ -296,11 +296,13 @@ func TestAgentlessAvailabilityTargetKindStaysCanonical(t *testing.T) { "export type AvailabilityTargetKind = 'machine' | 'service' | 'device';", "targetKind?: AvailabilityTargetKind;", }, - filepath.Join("..", "..", "frontend-modern", "src", "features", "standalone", "standalonePageModel.ts"): { - "resource.availability?.targetKind", - "resource.platformData?.availability as { targetKind?: string }", - "availabilityTargetKindFor(resource) === 'machine'", - }, + // standalonePageModel.ts no longer references targetKind: commit + // 1e16cf34f intentionally narrowed the Machines surface to Pulse + // Agent resources only, so agentless availability targets are no + // longer classified by kind for the Machines list. The server + // contract (config/availability.go, monitoring/availability_poller.go, + // types.go, frontend-modern/src/api/availabilityTargets.ts) still + // preserves targetKind for any future UI that wants to consume it. } for path, snippets := range requiredSnippets {