From f25fdaf398dd6555301db42ed17590dedb8daf5c Mon Sep 17 00:00:00 2001 From: Mathias Date: Thu, 1 Oct 2026 23:24:34 +0200 Subject: [PATCH] test(config): a cloud alias that merely contains a local host name is still cloud Mutation-testing showed a substring match instead of a prefix match went unnoticed. Co-Authored-By: Claude Sonnet 5.5 --- internal/config/uploads_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/config/uploads_test.go b/internal/config/uploads_test.go index 858cdf1..dceb532 100644 --- a/internal/config/uploads_test.go +++ b/internal/config/uploads_test.go @@ -177,6 +177,8 @@ func TestLoad_ReconcileRefusesAnUnsafeOrIncompleteSetup(t *testing.T) { {"an adjudicator alias with no host prefix", map[string]string{ "TAPIR_RECONCILE_BASE_MODEL": "iguana/pianissimo", "TAPIR_RECONCILE_MODEL": "gemma4-26b", }}, + {"a cloud alias that merely contains a local host name", map[string]string{ + "TAPIR_RECONCILE_BASE_MODEL": "iguana/pianissimo", "TAPIR_RECONCILE_MODEL": "berget/iguana/gemma4-26b"}}, {"a cloud base engine", map[string]string{ "TAPIR_RECONCILE_BASE_MODEL": "berget/kb-whisper", "TAPIR_RECONCILE_MODEL": "iguana/gemma4-26b", }},