Repository navigation
test(security): builtin tool tests run on the edge fakes - #3855
Merged
Merged
Conversation
…akes rag_search takes its Qdrant client and embedder from the seam functions, so the qdrant and embedder fixtures reach it. The builtin tool tests drop their patches, mocks and private imports and use process_fake, web, qdrant and embedder.
Owner
Author
|
Check results (local, before the last rebase onto main):
Review notes:
|
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.
The builtin tool tests ran on patches and mocks. They now run on the process, HTTP and RAG fakes.
process_fake. The OSV, Shodan and Radar tools run on thewebfixture.rag_searchruns on theqdrantandembedderfixtures.rag_searchtakes its client fromresolve_qdrant_clientand its embedder fromcreate_embedder, so the fakes reach it. It builds no client and no engine itself.time.sleepstub.This keeps the test double at the process and network edge, as the tracker asks.
Closes #3761
Change:
openspec/changes/archive/2026-11-06-3761-builtin-tool-tests-on-fakes/