jstests/with_mongot/cross_repo_testing_requirements.md
Server engineers working on search, changeStreams, or any code that interacts with these features on v8.1+ branches are required to run all mongot integration tests defined on 10gen/mongod and 10gen/mongot before committing.
The simplest way to do this is to use this command to create your evergreen patch:
evergreen patch -p mongodb-mongo-master --trigger-alias search-integration --alias mongot-e2e-tests
This will auto select the e2e tests defined on both repos.
Unfortunately, evergreen doesn't support multiple alias options. For that reason, if you would like to create a patch that selects e2e tests defined on both repos AND the server's required variants in one fell swoop:
evergreen patch -p mongodb-mongo-master --trigger-alias search-integration --alias required-and-mongot-e2e-tests
If your evergreen patch shows your changes failed a search e2e test defined on 10gen/mongod, you can follow these instructions for running that test locally on your VM.
If your evergreen patch shows your changes failed an e2e test defined on 10gen/mongot, please reach out in #search-query-engineering for assistance from mongot engineers in translating and addressing the failure.
Visit the landing page for all $search/$vectorSearch/$searchMeta related documentation for server contributors.