Conversation
tadjik1
commented
May 7, 2026
| run_on: GRAVITON_OS, | ||
| expansions: { | ||
| NODE_LTS_VERSION: LATEST_LTS, | ||
| CLIENT_ENCRYPTION: true |
Member
Author
There was a problem hiding this comment.
To test more native modules (libmongocrypt).
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Evergreen build variant targeting AWS Graviton4 (arm64) on Amazon Linux 2023 to run a subset of the Node driver test suite on ARM hardware.
Changes:
- Introduces
GRAVITON_OS(amazon2023-arm64-latest-large-m8g) in the Evergreen CI matrix constants. - Adds a new build variant (
amazon-linux-2023-arm64-graviton4) to the task generator with latest-server topology coverage plus snappy/zstd compression tasks. - Updates the generated Evergreen
config.ymlto include the new build variant.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.evergreen/generate_evergreen_tasks.js |
Adds a Graviton4 AL2023 build variant and task list in the Evergreen config generator. |
.evergreen/config.yml |
Adds the generated buildvariant entry for Graviton4 AL2023. |
.evergreen/ci_matrix_constants.js |
Exports a new GRAVITON_OS distro constant used by the generator. |
Contributor
PavelSafronov
left a comment
There was a problem hiding this comment.
This change runs latest MongoDB on Graviton processor. Do we also want to run older versions?
Member
Author
|
No, this is copy from the ticket description: |
PavelSafronov
approved these changes
May 8, 2026
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
Summary of Changes
Adds a new Evergreen build variant (
amazon-linux-2023-arm64-graviton4) that runs the driver test suite on AWS Graviton 4 (arm64) hardware using theamazon2023-arm64-latest-large-m8gdistro.Tests included:
Kerberos testing is out of scope for this PR per NODE-6820.
Notes for Reviewers
The distro
amazon2023-arm64-latest-large-m8gwas identified in DRIVERS-2436 as the recommended Graviton 4 distro for integration testing (Graviton 4, AL2023).The new
Graviton4 AL2023 Node24build variant is visible in Evergreen.What is the motivation for this change?
ARM processors have known behavioral differences from x86 that can cause subtle bugs in native code - most notably,
charis unsigned by default on ARM (vs. signed on x86), and floating-point contraction behavior may differ between gcc and clang. MongoDB servers on Graviton are increasingly common in Atlas, making it important to validate that our native driver modules (kerberos, snappy, zstd, CSFLE) behave correctly on this architecture.Double check the following
npm run check:lint)type(NODE-xxxx)[!]: descriptionfeat(NODE-1234)!: rewriting everything in coffeescript