High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix(semantic): check error return from matcher.Find in benchmark
Yash Jadhav2fe26be26665
diff --git a/internal/semantic/improvements_test.go b/internal/semantic/improvements_test.goindex d647a3eb..319f276e 100644--- a/internal/semantic/improvements_test.go+++ b/internal/semantic/improvements_test.go@@ -1110,7 +1110,11 @@ func BenchmarkCombinedMatcher_SynonymQuery(b *testing.B) {opts := FindOptions{Threshold: 0.15, TopK: 3}b.ResetTimer()for i := 0; i < b.N; i++ {- matcher.Find(ctx, "sign in", elements, opts)+ result, err := matcher.Find(ctx, "sign in", elements, opts)+ if err != nil {+ b.Fatalf("Find error: %v", err)+ }+ _ = result}}