From e1cfb8d89d710b48efb484c8ce921689292fdb66 Mon Sep 17 00:00:00 2001 From: gaebal-gajae Date: Thu, 6 Aug 2026 20:11:25 +0000 Subject: [PATCH 1/2] test(coding-agent): align onboarding red-team with discovery error contract Dev CI at 4f6e860 fails provider-onboarding-wizard-redteam on a stale assertion: it expected "At least one model id is required" while addApiCompatibleProvider throws the post-#3927 public message "At least one model id or model discovery is required." Update the empty-models red-team expectation to the exact intended substring of that contract. No runtime change. Lore-id: 9c4e1a02 Confidence: high Scope-risk: narrow Reversibility: trivial Tested: bun test packages/coding-agent/test/provider-onboarding-wizard-redteam.test.ts (7 pass / 0 fail) Not-tested: full Dev CI shard matrix --- .../test/provider-onboarding-wizard-redteam.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/test/provider-onboarding-wizard-redteam.test.ts b/packages/coding-agent/test/provider-onboarding-wizard-redteam.test.ts index fc9a918eee..aa5b1b821f 100644 --- a/packages/coding-agent/test/provider-onboarding-wizard-redteam.test.ts +++ b/packages/coding-agent/test/provider-onboarding-wizard-redteam.test.ts @@ -157,7 +157,7 @@ describe("provider onboarding wizard red-team", () => { apiKeyEnv: "EMPTY_MODELS_KEY", models: ["", " ", ","], }), - ).rejects.toThrow("At least one model id is required"); + ).rejects.toThrow("At least one model id or model discovery is required"); }); it("requires force for an existing provider and overwrites when force is confirmed", async () => { From 23849a8503e24b334c90c92245ab17e275a6e67e Mon Sep 17 00:00:00 2001 From: gaebal-gajae Date: Thu, 6 Aug 2026 20:18:18 +0000 Subject: [PATCH 2/2] ci: re-trigger Dev CI for #3966