-
Notifications
You must be signed in to change notification settings - Fork 819
Make e2e tests deterministic for provider-proxy cache #7248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9a6feab
Make e2e tests deterministic for provider-proxy cache
AntoineToussaint 02a5a18
Revert embeddings cache tests to use random inputs
AntoineToussaint 98afdd0
Fix embeddings cache tests: use write_only instead of random inputs
AntoineToussaint 39952f2
Fix image URL tests and bypass raw.githubusercontent.com
AntoineToussaint 0fbe2ab
Fix embeddings cache test and image server port conflicts
AntoineToussaint 9d94b58
Revert cache test changes to split into a separate PR
AntoineToussaint File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Make e2e tests deterministic for provider-proxy cache
Replace random values (UUIDs, random integers) in LLM provider request bodies with fixed strings. This makes provider-proxy cache keys deterministic across test runs, enabling read-only cache mode in CI. Changes: - providers/common.rs: Remove UUID from bad auth test prompt - providers/anthropic.rs: Remove UUID from thinking test prompt - aggregated_response/mod.rs: Remove UUID suffix from prompt - otel.rs: Use fixed string for tag value - raw_response/embeddings.rs: Use fixed string for embedding input - test_client.py: Remove UUID from extra headers test prompt - test_embeddings.py: Use fixed strings for cache test inputs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Loading branch information
commit 9a6feab46ea35ee2a39de7ec4ae18be5ab24c70b
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this should be needed, since the tags don't get included in model inference requests