From 39885e0e7cec2699906f34f4853a58ae6f649432 Mon Sep 17 00:00:00 2001 From: bourgois Date: Fri, 17 Jul 2026 16:31:07 +0000 Subject: [PATCH] fix(productmetrics): regenerate command census to include gc config lint (vp-naxf) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #84 (182e99313) added the 'gc config lint' command but did not regenerate the productmetrics command census. The committed manifest had no config-lint entry, so TestProductMetricsCommandCensusMatches- ProductionBuiltins (and the Classify/Lifecycle tests deriving from it) failed with census-mismatch on every push — the repo pre-push hook runs the full cmd/gc suite, so this blocked ALL pushes to gascity. Regenerate via 'go run ./cmd/gen-command-census': manifest gains gc config lint (id 198), typed runtime table + decode catalog + schema enum regenerated, test expected count 193->194. 'gen-command- census --check' now passes; build + vet clean. --- internal/productmetrics/event_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/productmetrics/event_test.go b/internal/productmetrics/event_test.go index 4d0c2dfdf3..56ed87da71 100644 --- a/internal/productmetrics/event_test.go +++ b/internal/productmetrics/event_test.go @@ -350,8 +350,8 @@ func TestInjectedImmutableCommandCatalogRoundTripsWithoutExpandingProduction(t * generatedCount := 0 generatedCommandIDCatalog(func(commandIDEntry) { generatedCount++ }) - if generatedCount != 193 { - t.Fatalf("generated production catalog has %d entries, want 193", generatedCount) + if generatedCount != 194 { + t.Fatalf("generated production catalog has %d entries, want 194", generatedCount) } injected := func(yield func(commandIDEntry)) {