From 60e4a6d2d766ac99b2ce1bba04f98b77a046a951 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Wed, 28 Oct 2026 10:46:02 -0400 Subject: [PATCH] test: Exempt masque-authority from the scrape test requirement masque-authority serves the grant API and no metrics endpoint, so TestEveryBinaryHasScrapeTest fails on main since the command landed. List it with the other commands that serve no metrics. Co-Authored-By: Claude Opus 5.5 --- internal/instrumentation/lint_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/instrumentation/lint_test.go b/internal/instrumentation/lint_test.go index 6251cfb7..04470d64 100644 --- a/internal/instrumentation/lint_test.go +++ b/internal/instrumentation/lint_test.go @@ -59,8 +59,8 @@ func TestLintLinksEveryMetric(t *testing.T) { } // noMetricsEndpoint lists the commands that serve no metrics: the CNI -// plugins, exec'd once per call by the container runtime, and the one-shot -// galactic-usid codec. +// plugins, exec'd once per call by the container runtime, the one-shot +// galactic-usid codec, and the masque-authority grant service. var noMetricsEndpoint = []string{ "galactic-bgp", "galactic-ipam", @@ -68,6 +68,7 @@ var noMetricsEndpoint = []string{ "galactic-tap", "galactic-usid", "galactic-veth", + "masque-authority", } // TestEveryBinaryHasScrapeTest fails when a command that serves metrics has