88// --- ownerFromLiveMetadata tests ---
99
1010func TestOwnerFromLiveMetadata (t * testing.T ) {
11+ t .Parallel ()
1112 tests := []struct {
1213 name string
1314 raw json.RawMessage
@@ -33,6 +34,7 @@ func TestOwnerFromLiveMetadata(t *testing.T) {
3334// --- ownerFromModelID tests ---
3435
3536func TestOwnerFromModelID (t * testing.T ) {
37+ t .Parallel ()
3638 tests := []struct {
3739 input string
3840 want string
@@ -57,6 +59,7 @@ func TestOwnerFromModelID(t *testing.T) {
5759// --- descriptionFromLiveMetadata tests ---
5860
5961func TestDescriptionFromLiveMetadata (t * testing.T ) {
62+ t .Parallel ()
6063 tests := []struct {
6164 name string
6265 raw json.RawMessage
@@ -83,6 +86,7 @@ func TestDescriptionFromLiveMetadata(t *testing.T) {
8386// --- serverToolsFromOffering tests ---
8487
8588func TestServerToolsFromOffering (t * testing.T ) {
89+ t .Parallel ()
8690 tests := []struct {
8791 name string
8892 offering ModelOfferingV1
@@ -155,6 +159,7 @@ func TestServerToolsFromOffering(t *testing.T) {
155159// --- modelEntryFromOffering tests ---
156160
157161func TestModelEntryFromOffering (t * testing.T ) {
162+ t .Parallel ()
158163 tests := []struct {
159164 name string
160165 model ModelV1
@@ -218,13 +223,15 @@ func TestModelEntryFromOffering(t *testing.T) {
218223// --- ModelEntriesForProvider additional tests ---
219224
220225func TestModelEntriesForProvider_NilCompiled (t * testing.T ) {
226+ t .Parallel ()
221227 entries := ModelEntriesForProvider (nil , "anthropic" )
222228 if entries != nil {
223229 t .Fatalf ("expected nil, got %v" , entries )
224230 }
225231}
226232
227233func TestModelEntriesForProvider_EmptyProvider (t * testing.T ) {
234+ t .Parallel ()
228235 compiled := & CompiledCatalogV1 {
229236 ModelsByID : map [string ]ModelV1 {
230237 "anthropic/claude-sonnet-4-6" : {ID : "anthropic/claude-sonnet-4-6" , Name : "Sonnet" , ProviderID : "anthropic" },
@@ -237,6 +244,7 @@ func TestModelEntriesForProvider_EmptyProvider(t *testing.T) {
237244}
238245
239246func TestModelEntriesForProvider_DeduplicatesByNativeID (t * testing.T ) {
247+ t .Parallel ()
240248 compiled := & CompiledCatalogV1 {
241249 ModelsByID : map [string ]ModelV1 {
242250 "anthropic/claude-sonnet-4-6" : {ID : "anthropic/claude-sonnet-4-6" , Name : "Sonnet" , ProviderID : "anthropic" },
@@ -256,6 +264,7 @@ func TestModelEntriesForProvider_DeduplicatesByNativeID(t *testing.T) {
256264// --- DiscoveryEnvKeysFromCatalog tests ---
257265
258266func TestDiscoveryEnvKeysFromCatalog (t * testing.T ) {
267+ t .Parallel ()
259268 tests := []struct {
260269 name string
261270 compiled * CompiledCatalogV1
@@ -283,6 +292,7 @@ func TestDiscoveryEnvKeysFromCatalog(t *testing.T) {
283292}
284293
285294func TestDiscoveryEnvKeysFromCatalog_ReturnsUniqueKeys (t * testing.T ) {
295+ t .Parallel ()
286296 c := testLegacyCatalogV1 ()
287297 compiled , err := CompileCatalogV1 (& c )
288298 if err != nil {
@@ -307,6 +317,7 @@ func TestDiscoveryEnvKeysFromCatalog_ReturnsUniqueKeys(t *testing.T) {
307317// --- APIKeyEnvsForProvider tests ---
308318
309319func TestAPIKeyEnvsForProvider (t * testing.T ) {
320+ t .Parallel ()
310321 c := testLegacyCatalogV1 ()
311322 compiled , err := CompileCatalogV1 (& c )
312323 if err != nil {
@@ -333,6 +344,7 @@ func TestAPIKeyEnvsForProvider(t *testing.T) {
333344}
334345
335346func TestAPIKeyEnvsForProvider_NilCompiled (t * testing.T ) {
347+ t .Parallel ()
336348 got := APIKeyEnvsForProvider (nil , "anthropic" )
337349 if got != nil {
338350 t .Fatalf ("expected nil, got %v" , got )
@@ -342,6 +354,7 @@ func TestAPIKeyEnvsForProvider_NilCompiled(t *testing.T) {
342354// --- PrimaryAPIKeyEnvForDeployment tests ---
343355
344356func TestPrimaryAPIKeyEnvForDeployment (t * testing.T ) {
357+ t .Parallel ()
345358 tests := []struct {
346359 deploymentID string
347360 wantEmpty bool
@@ -364,6 +377,7 @@ func TestPrimaryAPIKeyEnvForDeployment(t *testing.T) {
364377}
365378
366379func TestPrimaryAPIKeyEnvForDeployment_WithCompiled (t * testing.T ) {
380+ t .Parallel ()
367381 c := testLegacyCatalogV1 ()
368382 compiled , err := CompileCatalogV1 (& c )
369383 if err != nil {
0 commit comments