Repository navigation
PYTHON-6083 Latest server binary downloads require private S3 - #3076
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
blink1073
force-pushed
the
PYTHON-6083
branch
2 times, most recently
from
September 28, 2026 17:15
d05e843 to
4c80cc2
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Address the redundant role-assumption logic and correct the documented latest-version command.
Review effort: Lite
Findings: 1
What changed in this PR
This PR updates Evergreen and local server setup so VERSION=latest binaries can be downloaded from private S3 using AWS credentials.
Changes:
- Adds AWS credential propagation to server orchestration.
- Adds role assumptions before applicable downloads.
- Documents latest-version setup and stable defaults.
| File | Summary | Review notes |
|---|---|---|
CONTRIBUTING.md |
Documents credentials required for latest server downloads. | Nit (1 vote): use --version=latest in the documented command. |
.evergreen/scripts/setup_tests.py |
Uses a stable server default for OCSP setup. | No final comment. |
.evergreen/scripts/generate_config.py |
Generates role assumptions and AWS credential propagation. | Moderate (3 votes): avoid adding redundant role assumptions to stable-version variants. |
.evergreen/generated_configs/tasks.yml |
Regenerated task commands and ordering. | No final comment. |
.evergreen/generated_configs/functions.yml |
Passes AWS credentials to server setup. | No final comment. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The latest/latest-build MongoDB server binaries are now downloaded from
a private S3 bucket (origin-mongodb-server-latest) requiring an AWS
identity, instead of the public downloads.10gen.com hosts.
Every Evergreen task that downloads VERSION=latest now assumes
${aws_test_secrets_role} before the server download, and the AWS
credentials are passed to the server orchestration step. Local runs
default to latest-stable, which needs no credentials.
blink1073
force-pushed
the
PYTHON-6083
branch
2 times, most recently
from
September 28, 2026 17:23
4c80cc2 to
0ea1457
Compare
3 of 6 tasks
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.

PYTHON-6083
Changes in this PR
Ensure "latest" server binary downloads come from a private S3 bucket by providing AWS credentials (DRIVERS-3628). Evergreen tasks downloading
VERSION=latestnow assumedrivers-test-secrets-rolebefore the download and pass the AWS credentials to the orchestration step.Test Plan
assume ec2 roleis inserted for everylatesttask and nowhere else.latesttask confirms the S3 download succeeds with noFALLBACK:banner.Checklist
Checklist for Author
Checklist for Reviewer