From 6c35b34b64ab713e369f3b688004b5f06b515cfd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Jul 2026 16:40:16 +0000 Subject: [PATCH] fix: update test assertion to match current daily-model-inventory workflow text The test `TestDailyModelInventoryWorkflowFetchesReflectInAgentPrompt` was checking for the string "the `billing.multiplier` field as the authoritative ET multiplier value" which was removed when Copilot SDK billing was added as the primary pricing source (commit 7c7febf933). The workflow now says the reflect endpoint's billing.multiplier is used "to cross-check the SDK multiplier" rather than as the authoritative value. Update the test to match the current workflow text. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/daily_model_inventory_workflow_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/workflow/daily_model_inventory_workflow_test.go b/pkg/workflow/daily_model_inventory_workflow_test.go index 0862c9bffeb..008dd449edb 100644 --- a/pkg/workflow/daily_model_inventory_workflow_test.go +++ b/pkg/workflow/daily_model_inventory_workflow_test.go @@ -34,7 +34,7 @@ func TestDailyModelInventoryWorkflowFetchesReflectInAgentPrompt(t *testing.T) { t.Fatalf("expected workflow prompt to fetch Copilot reflect data from api-proxy") } - if !strings.Contains(sourceContentStr, "the `billing.multiplier` field as the authoritative ET multiplier value") { + if !strings.Contains(sourceContentStr, "the `billing.multiplier` field to cross-check the SDK multiplier") { t.Fatalf("expected workflow prompt to use billing.multiplier from reflect as the primary source of truth") } }