From ff1ed20bb8ad958345cb769201b07e85bb82b31a Mon Sep 17 00:00:00 2001 From: Nguyen Thanh Dat Date: Wed, 26 Aug 2026 18:09:47 +0700 Subject: [PATCH] test(models): follow #11503's Gemini -high alias retarget (#11593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merged via /merge-batch (lote 2026-08-26, v3.8.51). Boarded no worktree combinado junto com outras ~30 PRs; validação única: typecheck/complexity/cognitive-complexity/changelog-integrity verdes, file-size rebaseado onde necessário (crescimento legítimo), lint com os mesmos 228 achados pré-existentes confirmados via sonda contra o tip puro (não introduzidos por este lote), e ~370 testes focados (unit + vitest) passando. Obrigado pela contribuição. --- changelog.d/maintenance/11593-gemini-alias-target.md | 1 + tests/unit/t31-t33-t34-t38-model-specs.test.ts | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog.d/maintenance/11593-gemini-alias-target.md diff --git a/changelog.d/maintenance/11593-gemini-alias-target.md b/changelog.d/maintenance/11593-gemini-alias-target.md new file mode 100644 index 0000000000..c2f26f43a0 --- /dev/null +++ b/changelog.d/maintenance/11593-gemini-alias-target.md @@ -0,0 +1 @@ +- **test(models):** follow #11503's retarget of the `gemini-3-pro-high` alias to the hyphenated catalog id ([#11593](https://github.com/diegosouzapw/OmniRoute/pull/11593)) diff --git a/tests/unit/t31-t33-t34-t38-model-specs.test.ts b/tests/unit/t31-t33-t34-t38-model-specs.test.ts index 077c38a344..eeacca5d23 100644 --- a/tests/unit/t31-t33-t34-t38-model-specs.test.ts +++ b/tests/unit/t31-t33-t34-t38-model-specs.test.ts @@ -32,8 +32,12 @@ test("T31: antigravity static catalog exposes client-visible Gemini preview IDs" assert.ok(!staticIds.includes("gemini-claude-opus-4-5-thinking")); }); +// #11503 retargeted the -high alias from the dotted id to the hyphenated one, on the +// grounds that the catalog spells it that way and the dotted form is not routable. +// The two rungs therefore no longer share a spelling — pinned separately so a future +// re-unification is a deliberate edit here rather than a silent drift. test("T31: legacy Gemini aliases resolve to Gemini 3.1 IDs", () => { - assert.equal(resolveDeprecatedAlias("gemini-3-pro-high"), "gemini-3.1-pro-high"); + assert.equal(resolveDeprecatedAlias("gemini-3-pro-high"), "gemini-3-1-pro-high"); assert.equal(resolveDeprecatedAlias("gemini-3-pro-low"), "gemini-3.1-pro-low"); });