test(NODE-7400): Test Node Driver 7.0.0 against latest version of BSON library#4853
Merged
baileympearson merged 17 commits intomongodb:mainfrom Feb 2, 2026
Merged
test(NODE-7400): Test Node Driver 7.0.0 against latest version of BSON library#4853baileympearson merged 17 commits intomongodb:mainfrom
baileympearson merged 17 commits intomongodb:mainfrom
Conversation
baileympearson
requested changes
Jan 30, 2026
Contributor
baileympearson
left a comment
There was a problem hiding this comment.
Some minor comments, plus discussion from team channel about running integration tests as well
dariakp
previously requested changes
Jan 30, 2026
baileympearson
requested changes
Feb 2, 2026
Contributor
baileympearson
left a comment
There was a problem hiding this comment.
just one minor change. otherwise LGTM
Co-authored-by: Bailey Pearson <bailey.pearson@gmail.com>
baileympearson
approved these changes
Feb 2, 2026
Daria has given slack approval to merge
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
Test Node Driver 7.0.0 against latest version of BSON library
Notes for Reviewers
We now have
log statetask which logs the current commit hash (so we know what version of Driver we are running) andnpm ls(so we know what packages we are using).Here is a task where we pull in v7.1.0 of BSON (the problematic version): https://spruce.mongodb.com/version/697be2a8be7ae60007d93c39/
The new task fails as expected: https://spruce.mongodb.com/task/mongo_node_driver_next_BSON_compatibility_tests_test_bson_latest_server_7.0.0_patch_0358360b6f2c8cf045b05240169171c83192faf1_697be2a8be7ae60007d93c39_26_01_29_22_44_00/html-log?execution=0&origin=task#L437
What is the motivation for this change?
BSON 7.0.1 ended up breaking Driver, but we only found out when we released that version.
This task will run the latest version of BSON (most recent commit) against Node Driver v7.0.0
Double check the following
npm run check:lint)type(NODE-xxxx)[!]: descriptionfeat(NODE-1234)!: rewriting everything in coffeescript