Repository navigation
test(providers): regenerate translate-path golden for OrcaRouter chat… - #12121
Closed
geek007git wants to merge 1 commit into
Closed
geek007git wants to merge 1 commit into
geek007git wants to merge 1 commit into
Conversation
…-completions base URL Commit 2201143 (cheaper-inference#11923) changed the OrcaRouter baseUrl in open-sse/config/providers/registry/orcarouter/index.ts from https://api.orcarouter.ai/v1 to https://api.orcarouter.ai/v1/chat/completions but did not regenerate the translate-path golden snapshot. goldenSnapshot() strict-compares the recorded URLs, so tests/unit/provider-translate-path-golden.test.ts failed with GoldenMismatchError on the release tip. This regenerates tests/snapshots/provider/translate-path.json via UPDATE_GOLDEN=1; the diff touches only the orcarouter stream/nonStream url entries. Validated with: node --import tsx/esm --test tests/unit/provider-translate-path-golden.test.ts (3/3 pass).
5 tasks
Collaborator
|
@geek007git — confirmado: #12118 (já mergeada nesta sessão, mesmo achado documentado no seu #12113 Finding 1) traz exatamente o mesmo conteúdo — |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…-completions base URL
Commit 2201143 (#11923) changed the OrcaRouter baseUrl in open-sse/config/providers/registry/orcarouter/index.ts from https://api.orcarouter.ai/v1 to https://api.orcarouter.ai/v1/chat/completions but did not regenerate the translate-path golden snapshot. goldenSnapshot() strict-compares the recorded URLs, so tests/unit/provider-translate-path-golden.test.ts failed with GoldenMismatchError on the release tip. This regenerates tests/snapshots/provider/translate-path.json via UPDATE_GOLDEN=1; the diff touches only the orcarouter stream/nonStream url entries. Validated with: node --import tsx/esm --test tests/unit/provider-translate-path-golden.test.ts (3/3 pass).
Summary
Related Issues
Validation
Choose the change type and focused loop from the
Contribution Golden Path. The full unit suite,
Vitest, the 60% coverage gate, and the production build all run in CI on this PR (#8329):
npm run lintTests Added Or Updated
Coverage Notes
src/,open-sse/,electron/, orbin/, explain which tests cover the change.Reviewer Notes