From dccbd389b68e11ffee6fb98f675738f186c3d158 Mon Sep 17 00:00:00 2001 From: Robin Bially <7304732+RobinBially@users.noreply.github.com> Date: Wed, 12 Aug 2026 20:39:49 +0200 Subject: [PATCH] test(codex-convergence): update route inventory for #1541's attested reload call #1541 (fb4f2fe99) added a seventh 'await convergeCodexCatalog()' to provider-routes.ts in the new attested credential-free provider-reload route, but the inventory contract still expected 6, leaving dev CI red for every open PR. Update the expected count and test title to match. Co-Authored-By: Claude Fable 5 --- tests/codex-convergence-contract.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/codex-convergence-contract.test.ts b/tests/codex-convergence-contract.test.ts index 383aaba85f..12f34ae28a 100644 --- a/tests/codex-convergence-contract.test.ts +++ b/tests/codex-convergence-contract.test.ts @@ -324,9 +324,9 @@ test("the total lazy adapter preserves a persisted-success route when factory co }); }); -test("the route inventory contains exactly the specified 6 + 6 + 2 + 2 convergence calls", () => { +test("the route inventory contains exactly the specified 7 + 6 + 2 + 2 convergence calls", () => { const counts = Object.fromEntries([ - ["provider-routes.ts", 6], + ["provider-routes.ts", 7], ["model-routes.ts", 6], ["combo-routes.ts", 2], ["agent-settings-routes.ts", 2], @@ -338,7 +338,7 @@ test("the route inventory contains exactly the specified 6 + 6 + 2 + 2 convergen return [file, count]; })); expect(counts).toEqual({ - "provider-routes.ts": 6, + "provider-routes.ts": 7, "model-routes.ts": 6, "combo-routes.ts": 2, "agent-settings-routes.ts": 2,