RUBY-3800 Add test variant for the Atlas Secure Frontend Processor (SFP)#3080
Open
comandeo-mongo wants to merge 4 commits into
Open
RUBY-3800 Add test variant for the Atlas Secure Frontend Processor (SFP)#3080comandeo-mongo wants to merge 4 commits into
comandeo-mongo wants to merge 4 commits into
Conversation
Add SFP (monguard) connectivity tests that run against a preconfigured Atlas cluster proxied by a Secure Frontend Processor. The tests cover unauthenticated, SCRAM-SHA-256, and X.509 access, each authenticated case under baseline, compression, and Server API v1 variations, per the atlas-sfp-testing specification. Add a dedicated Evergreen "sfp" build variant with a test-sfp task that fetches credentials from the drivers/sfp secrets vault and runs the new spec/sfp suite.
4bd6a09 to
124b1be
Compare
…ting # Conflicts: # .mod/drivers-evergreen-tools
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Evergreen test variant and RSpec suite to validate connectivity through the Atlas Secure Frontend Processor (SFP / monguard), implementing the atlas-sfp-testing specification. This is test-only and does not change driver runtime behavior.
Changes:
- Introduces
spec/sfp/sfp_spec.rbcovering unauthenticated, SCRAM-SHA-256, and X.509 scenarios, each under baseline/compression/Server API v1 variations. - Adds
.evergreen/run-tests-sfp.shto run the SFP spec suite in CI with secrets provisioning. - Wires a new
test-sfptask andsfpbuildvariant into Evergreen configs.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
spec/sfp/sfp_spec.rb |
New Atlas SFP connectivity + CRUD RSpec coverage driven by environment variables and spec-defined variations. |
.evergreen/run-tests-sfp.sh |
New Evergreen runner script to execute the SFP RSpec suite. |
.evergreen/config/standard.yml.erb |
Adds the sfp buildvariant matrix to the generated Evergreen config template. |
.evergreen/config/common.yml.erb |
Adds export SFP credentials / run SFP tests functions and the test-sfp task in the template. |
.evergreen/config.yml |
Updates the generated Evergreen config with the new SFP functions/task/buildvariant. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Description
Adds connectivity tests for the Atlas Secure Frontend Processor (SFP, aka monguard), a proxy that sits in front of Atlas clusters. Test-only; no driver source changes. Implements the
atlas-sfp-testingspecification.Jira
https://jira.mongodb.org/browse/RUBY-3800