mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-06 23:32:12 +03:00
* fix(tests): clear the two base-reds on release/v3.8.50 Both sat on the release itself and turned every open PR red as soon as it merged the release, independently of the PR's own content. - tests/snapshots/provider/translate-path.json: #9064 (b0501642dd) added the code-execution-2025-08-25 and skills-2025-10-02 beta flags to the Anthropic header but did not regenerate the golden. provider-translate-path-golden failed on the bare release tip — 2 pass / 1 fail with zero PRs boarded. Regenerated; the diff is 24 lines, all the same header in 6 variants. - tests/unit/v1-models-auth-leak-9320.test.ts:83: shipped a (k: any) in a file new enough that eslint-suppressions.json does not cover it. With @typescript-eslint/no-explicit-any as error under tests/, that one cast failed 'No new ESLint warnings' for every PR. The callback parameter infers correctly, so the cast was redundant. Verified on the fix branch: eslint exit 0, typecheck:core exit 0, and both test files green (5/5). * fix(tests): drop a third unsuppressed any (gemini-web validation test) A full-repo lint on this branch surfaced one more file in the same class: tests/unit/issue-9407-gemini-web-validation-false-positive.test.ts:50 casts (executor as any).testConnection. The file entered the release atf1ea77fd04(23:28), newer than the frozen eslint-suppressions.json, so the cast is not covered — and it alone kept 'No new ESLint warnings' red on this very PR. testConnection is a declared public method on GeminiWebExecutor (open-sse/executors/gemini-web.ts:359), so the cast was redundant rather than load-bearing; removed outright. eslint exit 0, typecheck:core exit 0, 15/15 across the three touched tests.